thermal_storage.hpp file
Thermal Energy Storage (TES) — CSP / district-heat storage.
Defines the ThermalStorage element: a peer of Battery and Reservoir that sits directly on the StorageLP<> framework. Used to model two-tank molten-salt TES in Concentrated Solar Power plants and large-scale thermal storage in district-heat / industrial heat applications.
Energy is in MWh_th (thermal megawatt-hours) — distinct from the MWh_e on Battery. The carrier-side balance node is a ThermalNode, not a Bus: the two are separate C++ types, so the validator cannot accidentally resolve thermal_node to an electric bus.
Topology (CSP example)
ThermalNode (solar field side) │ MWh_th ▼ ThermalStorage │ MWh_th ▼ Converter ─► PowerBlock Generator (electric Bus, MW_e)
Differences vs Battery
- No
source_generator(handled externally by the power block). - No internal
commitment(the power block carries it). eminrepresents the molten-salt freezing heel.annual_standing_lossis TES self-discharge from insulation losses (typical 5%/year ≈ 1 °C/day on a well-insulated two-tank molten-salt system).- Default unit is MWh_th, not MWh_e.
Namespaces
- namespace gtopt
Classes
- struct gtopt::ThermalStorage
- Thermal Energy Storage (sensible / latent / molten-salt).