gtopt/waterway.hpp file

Header for waterway components in hydro power systems.

This module defines the Waterway structure representing a water channel connecting two hydraulic junctions. Waterways carry water flow between junctions and are the analogue of transmission lines in the hydraulic network.

Flow units: m³/s (cubic metres per second).

JSON Example

{
  "uid": 1,
  "name": "w1_2",
  "junction_a": "j1",
  "junction_b": "j2",
  "fmin": 0,
  "fmax": 300
}

Fields that accept a number/array/string value can hold:

  • A scalar constant
  • A 2-D inline array indexed by [stage][block]
  • A filename string referencing a Parquet/CSV schedule in input_directory/Waterway/

Namespaces

namespace gtopt

Classes

struct gtopt::Waterway
Water channel connecting two hydraulic junctions.