gtopt/gas_options.hpp file

Network-wide gas properties of the gas-network model.

{"options": {"gas_options": {"gas_specific_gravity": 0.6,
                             "gas_temperature": 288.15,
                             "compressibility": 0.9}}}

Every field is a network default that a GasPipe may override (gravity, temperature, z). They feed the Weymouth constant from geometry and the elevation exponent s = 2 g M (h_b − h_a) / (Z R T).

Namespaces

namespace gtopt

Classes

struct gtopt::GasOptions
Network-level gas properties (options.gas_options).