gtopt/gas_compressor_lp.hpp file

LP wrapper for GasCompressor — ratio rows + fuel model.

Per block:

flow[b] ∈ [0, F] +1 at discharge, −1 at suction ratio[b]: π_out − β̄² π_in ≤ 0 noexpand[b]: π_out − π_in ≥ 0 (unless allow_bypass)

fixed_fraction, gas drive: −γ_ff flow at suction (no column) saldarriaga: fuel[b] ∈ [0, F], fuel_plane_j[b]: fuel − c_Ψ flow − c_π π_out

  • c_π r0 π_in ≥ 0 gas drive: −fuel at suction electric drive: power[b] ∈ [0, power_max], −1 at the bus, motor[b]: power − κ · (fuel | γ_ff flow) = 0

Outputs GasCompressor/flow_sol, fuel_sol (km³/h, gas or electric-equivalent), ratio_sol (√(π_out/π_in)) and power_sol (MW, electric drive).

Namespaces

namespace gtopt

Classes

class gtopt::GasCompressorLP