gtopt/thermal_storage_lp.hpp file

LP wrapper for the ThermalStorage element.

Peer of BatteryLP and ReservoirLP on the StorageLP<> framework. Identical LP shape to BatteryLP: one finp column per (scenario, stage, block) for charging, one fout column for discharging, one energy column for SoC, and the standard energy-balance row. All differences are semantic:

  • Energy is MWh_th, not MWh_e.
  • input_efficiency / output_efficiency are the HTF↔salt heat-exchanger losses on either side of the TES.
  • emin is the molten-salt freezing heel.
  • The carrier-side reference (ThermalStorage.thermal_node) resolves against ThermalNode, not Bus — but ThermalStorageLP does NOT wire itself into a thermal-node balance row here. That coupling lives on the ThermalNodeLP (when written) or on a future converter / generator that references the thermal node directly.

Namespaces

namespace gtopt

Classes

class gtopt::ThermalStorageLP
LP representation of a thermal storage element.