gtopt/aperture.hpp file

Aperture definition for SDDP backward-pass scenario sampling.

An Aperture represents one hydrological (or stochastic) realisation used in the SDDP backward pass. Each aperture references a source scenario whose affluent data (flow bounds) are applied to the cloned phase LP before solving. The source scenario can come from:

  1. The regular forward-scenario definitions (in the standard input directory).
  2. An aperture-specific scenario stored in a dedicated aperture_directory (see SddpOptions::sddp_aperture_directory).

When no explicit aperture_array is provided in the Simulation, the SDDP solver falls back to the legacy behaviour controlled by sddp_num_apertures (first N scenarios or all scenarios).

JSON Example

{
  "aperture_array": [
    {"uid": 1, "source_scenario": 1, "probability_factor": 0.5},
    {"uid": 2, "source_scenario": 5, "probability_factor": 0.3},
    {"uid": 3, "source_scenario": 10, "probability_factor": 0.2}
  ]
}

Namespaces

namespace gtopt

Classes

struct gtopt::Aperture
One backward-pass opening referencing a source scenario.