gtopt::Capacity struct

Complete capacity entity with identification and attributes.

This structure represents a full capacity entity with unique identification and all capacity-related attributes.

Capacity entities can be used directly or as base components for more specialized system elements like generators, lines, or batteries.

Public variables

OptActive active
Activation status (whether this entity is modeled)
OptTRealFieldSched annual_capcost
Annual cost of capacity (per unit per year)
OptTRealFieldSched annual_derating
OptTRealFieldSched capacity
Current operational capacity (installed units)
OptTRealFieldSched capmax
OptTRealFieldSched expcap
OptTRealFieldSched expmod
Name name
Human-readable descriptive name.
Uid uid
Unique identifier for database references.

Variable documentation

OptTRealFieldSched gtopt::Capacity::annual_derating

Annual derating factor (capacity degradation rate)

OptTRealFieldSched gtopt::Capacity::capmax

Absolute maximum capacity limit (upper bound on total capacity)

OptTRealFieldSched gtopt::Capacity::expcap

Potential expansion capacity (additional units that can be built)

OptTRealFieldSched gtopt::Capacity::expmod

Expansion module size (minimum capacity addition increment)