gtopt::Junction struct

Hydraulic node in a hydro cascade network.

A junction is the analogue of an electrical bus in the hydraulic network. Water can arrive from upstream waterways (flows in), leave to downstream waterways (flows out), be stored in a reservoir, or leave the system through a drain junction (e.g., the sea or an evaporation sink).

Public variables

OptActive active
Activation status (default: active)
OptBool drain
Name name
Human-readable junction name.
Uid uid
Unique identifier.

Variable documentation

OptBool gtopt::Junction::drain

If true, excess water at this junction can leave the system freely