gtopt/carrier_node_lp.hpp file

Shared LP wrapper for the carrier balance nodes.

ThermalNodeLP, HydrogenNodeLP and AmmoniaNodeLP are the same element on different carriers: one balance row per (scenario, stage, block) into which storages, demands and converters stamp their flows. Sign convention (mirrors BusLP):

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

The member functions are defined in carrier_node_lp.cpp and explicitly instantiated for the three node types.

Namespaces

namespace gtopt

Classes

template<typename Node Node>
class gtopt::CarrierNodeLP