AllowancePool struct
#include <gtopt/allowance_pool.hpp>
Tradable emission-allowance pool (cap-and-trade).
Data-only definition. The LP formulation is provided by AllowancePoolLP which inherits directly from StorageLP<>.
Public static variables
- static LPClassName class_name
Public variables
- OptActive active
- Operational status (default: active).
- OptTRealFieldSched annual_capcost
- Annualised investment cost.
- OptTRealFieldSched annual_derating
- Annual derating factor.
- OptTRealFieldSched annual_standing_loss
- OptTBRealFieldSched auction_cap
- OptTBRealFieldSched auction_price
- OptTRealFieldSched capacity
- Installed pool size [tCO₂].
- OptTRealFieldSched capmax
- Absolute maximum capacity.
- OptBool daily_cycle
- OptTRealFieldSched delivery
- OptTBRealFieldSched ecost
- OptReal efin
- OptReal efin_cost
- OptReal eini
- OptTBRealFieldSched emax
- OptTBRealFieldSched emin
- OptSingleId emission
- OptTRealFieldSched expcap
- Per-expansion-module capacity.
- OptTRealFieldSched expmod
- Maximum expansion modules.
- OptBool integer_expmod
- Integer-constrain expansion modules.
- Name name
- Human-readable name (e.g. "EU_ETS", "CA_CapTrade").
- OptTBRealFieldSched soft_emin
- Soft minimum banked level [tCO₂].
- OptTBRealFieldSched soft_emin_cost
- Penalty on soft-emin shortfall [$/tCO₂].
- OptName type
- Uid uid
- Unique identifier.
- OptBool use_state_variable
Variable documentation
static LPClassName gtopt:: AllowancePool:: class_name
Canonical class-name constant used in LP row labels and PAMPL element resolution. Matches allowance_pool_array in JSON.
OptTRealFieldSched gtopt:: AllowancePool:: annual_standing_loss
Annualised allowance-decay rate [p.u./year], stage- schedulable. Typically 0 for allowance pools (CO₂ permits don't physically decay), but some regulatory schemes apply a Linear Reduction Factor (LRF) or scheduled retirement of bank balances — e.g. the EU ETS Market Stability Reserve removes ~12 %/yr of any bank above its upper threshold. Default unset = no decay.
OptTBRealFieldSched gtopt:: AllowancePool:: auction_cap
Maximum allowances purchasable per (stage, block) [tCO₂]. Defaults to +∞; set when an auction has a fixed lot size or the secondary market is illiquid.
OptTBRealFieldSched gtopt:: AllowancePool:: auction_price
Market price for buying additional allowances [$/tCO₂]. When set, gtopt adds a per-block auction column to the pool's outflow, priced at this per-tonne cost. Models the secondary market / regulator auction.
OptBool gtopt:: AllowancePool:: daily_cycle
PLP-style daily-cycle scaling. Default false — allowance pools span months / years, not days.
OptTRealFieldSched gtopt:: AllowancePool:: delivery
Free allowance allocation per stage [tCO₂/stage]. Mirrors EU ETS / CA C&T grandfathered allowance bookkeeping. In a pure auction market (no free allocation), leave unset.
OptTBRealFieldSched gtopt:: AllowancePool:: ecost
Holding cost [$/tCO₂] (optional). Typically 0 — allowances don't decay materially. Set positive for behavioural decay or to incentivise emission reductions over banking.
OptTBRealFieldSched gtopt:: AllowancePool:: emax
Maximum banked allowances [tCO₂]. Defaults to +∞ (unlimited banking). Set a finite value when the regulator caps long-term hoarding (e.g. some Phase IV ETS rules).
OptTBRealFieldSched gtopt:: AllowancePool:: emin
Minimum banked allowances [tCO₂]. Defaults to 0 (no borrowing). Set emin < 0 to allow borrowing against future allocations (some ETS schemes permit limited borrowing within a compliance period).
OptSingleId gtopt:: AllowancePool:: emission
Reference to the pollutant Emission this pool covers (typically "co2" — but any Emission element works: "so2", "nox", "ch4", etc.). The validator resolves against system.emission_array; the pool's outflow ties into the EmissionZones that target the same pollutant (see AllowancePoolLP).
OptBool gtopt:: AllowancePool:: use_state_variable
SDDP-style cross-phase coupling. Default true — multi-year banking is the canonical use case.