Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Overflow modelling

Open in vLab iLab Assistant

This example will demonstrate overflow modelling based on the basic example. The recommended method of modelling overflow is using the river object. The river upstream_elevation should be equal to the reservoir hrl. The river may also use a flow description, such as up_level_flow_curve or width_depth_curve to describe the level-dependent flow. Additionally, flow_cost can be used to penalize overflow.

The model setup is available in the following formats:

The example below illustrates overflow modelling in SHOP:

Loading...

In the illustrated case, all water above the maximum volume is routed to the spill gate immediately. Alternatively, a flow function can be used as shown below where the overflow is given by a width_depth_curve:

Loading...

Overflow with gate

Before river was introduced in SHOP, overflow was modelled using gate. This is still supported and requires that the relation between level and overflow is given by flow_descr. Moreover, the upstream reservoir and the spill gate must be connected using the spill connection type. The example below show how the overflow can be modelled using a spill gate.

The history saving thread hit an unexpected error (OperationalError('database is locked')).History will not be written to the database.
Loading...