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_planesnon-empty): an LP columnRwithR ≥ plane_kfor every plane andR ≥ max(0, req, min), plus the provision rowΣ pf·prov + s − R ≥ 0whose shortages ≥ 0is priced aturcost(hardΣ pf·prov ≥ Rwithout 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