gtopt/emission.hpp file

Pollutant TYPE entity (registry; no constraints).

Emission is the lightweight registry of pollutant KINDS modeled in a run — CO₂, SO₂, NOₓ, CH₄(-eq), HFC, SF₆, … It carries the pollutant's short name only; cap/price/cap_cost moved to EmissionZone so the same pollutant can have different regulatory treatments in different scopes (e.g. global CO₂ tax + California-only cap).

JSON

{"uid": 1, "name": "co2"}

The name is the canonical pollutant identifier (lower-case snake-case). Used as the prefix in per-pollutant output parquet filenames (e.g. Generator/co2_emission_rate_sol.parquet) and as the FK target of EmissionZone.emissions[].emission, EmissionSource.emission, and (planned) Fuel.emission_factors[].

Passive in the LP — no rows, no columns. Constraint wiring lives on EmissionZone (per-pollutant cap / price / slack).

Namespaces

namespace gtopt

Classes

struct gtopt::Emission
Pollutant type tag. Just uid + name.