gtopt/thermal_node_lp.hpp file

LP wrapper for ThermalNode — carrier-side balance row.

Peer of BusLP and JunctionLP for the thermal carrier (MWh_th). Creates one balance row per (scenario, stage, block); downstream elements (ThermalStorageLP, future ThermalGenerator / ThermalDemand / cross-carrier Converter) stamp their flow coefficients into the row.

Sign convention (mirrors BusLP):

  • +1 × (injection into the node)
  • −1 × (withdrawal from the node)

For ThermalStorage: charging (finp) pulls heat from the node (coefficient −1) — like a Demand on a Bus; discharging (fout) injects heat (coefficient +1) — like a Generator on a Bus.

Namespaces

namespace gtopt

Classes

class gtopt::ThermalNodeLP