modelReservoirChannel

Reservoir model based on open channel model

Extends from Modelica.Icons.UnderConstruction (Icon for classes that are still under construction), OpenHPL.Icons.Reservoir (Reservoir icon).

Information

Reservoir Channel Model

A more detailed reservoir model based on the open channel model, where the channel bed is assumed to be flat (no slope).

Description

This model extends the OpenChannel functionality for reservoir applications. The flatbed assumption simplifies the model for reservoir scenarios where bed slope effects are negligible.

Parameters
  • Geometry: channel (reservoir) length L and width w
  • Height vector H of reservoir bed with equal heights from left and right sides (ensuring flat bed)
  • Number of discretization cells N
  • Initialization: initial water depth h₀ in the reservoir
Connectors

Uses the Contact connector providing outlet pressure and flow rate information, which can be connected to other waterway units.

Note: Has not been tested properly.

Parameters

TypeNameDefaultDescription
IntegerN20Number of segments
SI.LengthW1000Reservoir width
SI.Lengthl5000Reservoir length
SI.Height[2]H{2, 2}Reservoir bed height from left and right side
SI.Heighth_050Initial water level of the reservoir
BooleanSteadyStatedata.SteadyStateIf true, starts in steady state
Geometry
SI.Positionz_00Elevation of the reservoir outlet
BooleanfixElevationtrueIf true (fixed), z_0 is enforced as initial value; if false (derived), elevation is determined by connected topology

Connectors

TypeNameDefaultDescription
Interfaces.Contact_oo

Components

TypeNameDefaultDescription
SI.Positionh_abs_ds (from Reservoir)Absolut height of watercolumn in the surge shaft (for DynamicSelect)
Booleanshow (from Reservoir)Show additional level info
DatadataUsing standard data set
RealqFlow rate per width
Internal.KPOpenChannelopenChannel