gtopt/allowance_pool.hpp file

CO₂ / pollutant Cap-and-Trade allowance pool.

Defines the AllowancePool element: peer of Battery / ThermalStorage / HydrogenStorage / AmmoniaStorage on the StorageLP<> framework, retargeted to tradable emission allowances (tCO₂ equivalent).

Mirrors the EU ETS / California Cap-and-Trade / RGGI mechanism:

  • Free allocation (delivery) — allowances granted to the pool each stage at no cost (the grandfathering / benchmarking entitlement).
  • Emissions consumption — total CO₂ produced by the EmissionZones coupled to this pool is debited each stage (LP-side: EmissionZoneLP::production_cols feeds the pool's outflow row; see Phase 3 of the CO₂ work).
  • Banking — unused allowances carry forward to the next stage (Storage state variable). emin defaults to zero (no borrowing); set emin < 0 to allow borrowing against future allocations.
  • Auction (Phase 4) — additional allowances bought at auction_price ($/tCO₂), capped by auction_cap.

Energy unit is tCO₂ (or whichever pollutant the pool's emission reference points at — the unit follows the upstream Emission element's basis).

Namespaces

namespace gtopt

Classes

struct gtopt::AllowancePool
Tradable emission-allowance pool (cap-and-trade).