gtopt/flow.hpp file

Exogenous water flow (inflow/outflow) at a hydraulic junction.

Defines the Flow structure representing an exogenous water inflow (natural river runoff) or outflow (minimum environmental discharge) at a junction.

JSON Example

{
  "uid": 1,
  "name": "inflow_j1",
  "junction": "j1",
  "direction": 1,
  "discharge": "inflow"
}

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

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

Namespaces

namespace gtopt

Classes

struct gtopt::Flow
Exogenous water flow at a hydraulic junction.