gtopt/reserve_zone_lp.hpp file

LP formulation for reserve zones.

This module defines the ReserveZoneLP class, which builds LP variables and constraints for operating reserve zone requirements.

Two requirement forms per direction (up / down):

  • fixed (urreq / urmin): Σ pf·prov ≥ max(req, min) — soft via a bounded "served" column priced at −urcost, or hard.
  • dynamic (urreq_planes non-empty): an LP column R with R ≥ plane_k for every plane and R ≥ max(0, req, min), plus the provision row Σ pf·prov + s − R ≥ 0 whose shortage s ≥ 0 is priced at urcost (hard Σ pf·prov ≥ R without a cost).

Plane terms: the exogenous demand D goes to the row RHS; inertia I (an equality-defined column fed by InertiaProvisionLP) and the largest contingency C ≥ p_g (up) / C ≥ load_d (down) are columns.

Namespaces

namespace gtopt

Classes

struct gtopt::ReserveZoneLP::GenRowRef
class gtopt::ReserveZoneLP