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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | 20 | Number of segments |
| SI.Length | W | 1000 | Reservoir width |
| SI.Length | l | 5000 | Reservoir length |
| SI.Height[2] | H | {2, 2} | Reservoir bed height from left and right side |
| SI.Height | h_0 | 50 | Initial water level of the reservoir |
| Boolean | SteadyState | data.SteadyState | If true, starts in steady state |
| Geometry | |||
| SI.Position | z_0 | 0 | Elevation of the reservoir outlet |
| Boolean | fixElevation | true | If true (fixed), z_0 is enforced as initial value; if false (derived), elevation is determined by connected topology |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Contact_o | o |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Position | h_abs_ds (from Reservoir) | Absolut height of watercolumn in the surge shaft (for DynamicSelect) | |
| Boolean | show (from Reservoir) | Show additional level info | |
| Data | data | Using standard data set | |
| Real | q | Flow rate per width | |
| Internal.KPOpenChannel | openChannel |