Variables
We provide the following methods to provide a compositional approach for defining common variables used in gas flow models. These methods should always be defined over "AbstractGasModel".
GasModels.get_compressor_pressure_aux — MethodSupport function for getting a one off auxilleary pressure variable
GasModels.get_compressor_y — MethodSupport function for getting a one off y direction variable
GasModels.get_ne_compressor_pressure_aux — MethodSupport function for getting a one off auxilleary pressure variable
GasModels.get_ne_compressor_y — MethodSupport function for getting a one off y direction variable
GasModels.variable_compressor_direction — Functionvariables associated with direction of flow on the connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction. O flow can have y = 0 or 1
GasModels.variable_compressor_direction_ne — Functionvariables associated with direction of flow on the connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction. O flow can have y = 0 or 1
GasModels.variable_compressor_mass_flow — Functionvariables associated with mass flow in compressors
GasModels.variable_compressor_mass_flow_ne — Functionvariables associated with mass flow in compressors in expansion planning
GasModels.variable_compressor_minpower_proxy — FunctionVariable Set: variables associated with proxy for minimizing compression power
GasModels.variable_compressor_ne — Functionvariables associated with building compressors
GasModels.variable_compressor_ratio_sqr — FunctionVariable Set: variables associated with compression ratios
GasModels.variable_compressor_ratio_sqr_ne — FunctionVariable Set: variables associated with compression ratios
GasModels.variable_connection_direction — Functionvariables associated with direction of flow on the connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction. O flow can have y = 0 or 1
GasModels.variable_connection_direction_ne — Functionvariables associated with direction of flow on new connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction
GasModels.variable_flow — FunctionVariable Set: Define variables needed for modeling flow across connections
GasModels.variable_flow_ne — FunctionVariable Set: Define variables needed for modeling flow across connections that are expansions
GasModels.variable_load_mass_flow — Functionvariables associated with demand
GasModels.variable_loss_resistor_direction — Functionvariables associated with direction of flow on on lossresistors. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to f_junction
GasModels.variable_loss_resistor_mass_flow — Functionvariables associated with mass flow in loss_resistors
GasModels.variable_mass_flow — Functionall variables associated with mass flow
GasModels.variable_mass_flow_ne — Functionall variables associated with mass flow in expansion planning
GasModels.variable_on_off_operation — Function0-1 variables associated with operating edge components
GasModels.variable_pipe_direction — Functionvariables associated with direction of flow on the connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction. O flow can have y = 0 or 1
GasModels.variable_pipe_direction_ne — Functionvariables associated with direction of flow on the connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction. O flow can have y = 0 or 1
GasModels.variable_pipe_mass_flow — Functionvariables associated with mass flow in pipes
GasModels.variable_pipe_mass_flow_ne — Functionvariables associated with mass flow in pipes in expansion planning
GasModels.variable_pipe_ne — Functionvariables associated with building pipes
GasModels.variable_pressure — Functionvariables associated with (nonsquared) pressure
GasModels.variable_pressure_sqr — Functionvariables associated with pressure squared
GasModels.variable_production_mass_flow — Functionvariables associated with production
GasModels.variable_regulator_direction — Functionvariables associated with direction of flow on the connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction. O flow can have y = 0 or 1
GasModels.variable_regulator_mass_flow — Functionvariables associated with mass flow in regulators
GasModels.variable_regulator_on_off_operation — Function0-1 variables associated with operating regulators
GasModels.variable_resistor_direction — Functionvariables associated with direction of flow on the connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction. O flow can have y = 0 or 1
GasModels.variable_resistor_mass_flow — Functionvariables associated with mass flow in resistors
GasModels.variable_short_pipe_direction — Functionvariables associated with direction of flow on the connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction. O flow can have y = 0 or 1
GasModels.variable_short_pipe_mass_flow — Functionvariables associated with mass flow in short pipes
GasModels.variable_storage — FunctionVariable Set: Define variables needed for modeling flow across storage
GasModels.variable_storage_mass_flow — Functionvariables associated with storage flows
GasModels.variable_transfer_mass_flow — Functionvariables associated with transfer
GasModels.variable_valve_direction — Functionvariables associated with direction of flow on the connections. y = 1 imples flow goes from fjunction to tjunction. y = 0 imples flow goes from tjunction to fjunction. O flow can have y = 0 or 1
GasModels.variable_valve_mass_flow — Functionvariables associated with mass flow in valves
GasModels.variable_valve_on_off_operation — Function0-1 variables associated with operating valves