Waterway struct
#include <gtopt/waterway.hpp>
Water channel connecting two hydraulic junctions.
A waterway carries water from an upstream junction (junction_a) to a downstream junction (junction_b). Flow is constrained between fmin and fmax. An optional lossfactor models seepage or evaporation in transit. Turbines are attached to waterways to generate electricity.
Public variables
- OptActive active
- Activation status (default: active)
- OptTRealFieldSched capacity
- Maximum flow capacity [m³/s].
- OptTBRealFieldSched fmax
- Maximum allowed water flow [m³/s].
- OptTBRealFieldSched fmin
- Minimum required water flow [m³/s].
- SingleId junction_a
- Upstream junction ID.
- SingleId junction_b
- Downstream junction ID.
- OptTRealFieldSched lossfactor
- Transit loss coefficient [p.u.].
- Name name
- Human-readable waterway name.
- Uid uid
- Unique identifier.