gtopt::DemandProfile struct

Time-varying load-shape profile for a demand element.

Multiplies the demand's maximum load (lmax) by the profile value in each block. Useful for modelling daily, weekly, and seasonal demand variability without storing per-block lmax values in the demand itself.

Public static variables

static LPClassName class_name

Public variables

OptActive active
Activation status (default: active).
SingleId demand
ID of the associated demand element.
Name name
Human-readable name.
STBRealFieldSched profile
Load-scaling profile [p.u. of lmax].
OptTRealFieldSched scost
Short-run load-shedding cost override [$/MWh].
Uid uid
Unique identifier.

Variable documentation

static LPClassName gtopt::DemandProfile::class_name

Canonical class-name constant used in LP row labels and config fields like VariableScale::class_name. Single source of truth — DemandProfileLP exposes no separate ClassName member; callers reach the constant via DemandProfile::class_name directly (or DemandProfileLP::Element::class_name in generic contexts).