gtopt::StateVarLink struct

Describes one state-variable linkage between consecutive phases.

A state variable has a source column in phase t (e.g. efin, capainst) and a dependent column in phase t+1 (e.g. eini, capainst_ini). The source column's physical bounds are captured at initialisation time so the elastic filter can relax to the correct domain.

Public variables

RowIndex coupling_row
ColIndex dependent_col
Dependent column in target phase's LP.
ColIndex source_col
Source column in source phase's LP.
double source_low
Physical lower bound of source column.
PhaseIndex source_phase
Phase where the source column lives.
double source_upp
PhaseIndex target_phase
Phase where the dependent column lives.
double trial_value
Trial value from the last forward pass.

Variable documentation

RowIndex gtopt::StateVarLink::coupling_row

Row index of the explicit coupling constraint (row_dual mode only). Set by propagate_trial_values_row_dual(); unknown_index otherwise.

double gtopt::StateVarLink::source_upp

Physical upper bound of source column