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_directionFunction

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_neFunction

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_directionFunction

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_directionFunction

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_neFunction

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_directionFunction

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_directionFunction

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_directionFunction

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_directionFunction

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