gtopt::InflowModel struct

Opt-in autoregressive inflow model attached to a Flow element.

When present, the SDDP machinery treats the flow's discharge as an AR(1) process q_t = mu_t + phi·(q_{t-1} − mu_{t-1}) + eps_t where mu_t is the existing discharge schedule (the v1 forward realization IS the schedule, eps = 0), and the lagged inflow is registered as a cross-phase state variable so Benders cuts gain ∂V/∂inflow coefficients automatically. Absent (std::nullopt), behaviour is byte-identical to the historical fixed-schedule flow. See docs/formulation/sddp-ar-inflows.md.

Public variables

OptReal phi
AR(1) lag-1 coefficient (default 0.0).
OptReal sigma
OptName type
Model type; only "ar1" is supported (default).

Variable documentation

OptReal gtopt::InflowModel::sigma

Residual std-dev [m³/s] — tooling metadata only; the LP never reads it (future sampled-eps modes will)