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.variable_compressor_direction — Function

variables 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

source
GasModels.variable_compressor_direction_ne — Function

variables 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

source
GasModels.variable_connection_direction — Function

variables 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

source
GasModels.variable_pipe_direction — Function

variables 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

source
GasModels.variable_pipe_direction_ne — Function

variables 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

source
GasModels.variable_regulator_direction — Function

variables 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

source
GasModels.variable_resistor_direction — Function

variables 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

source
GasModels.variable_short_pipe_direction — Function

variables 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

source
GasModels.variable_valve_direction — Function

variables 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

source