The Simple River

The Simple River model engine was developed as an example of model migration. The model
engine is programmed in Fortran and is a very simple conceptual river model.
The Simple River consists of nodes and branches, as shown in Figure 1. For each timestep,
the inflow to each node is obtained from a boundary-input file. These flow rates are multiplied
by the timestep length and added to the storage in each node. Then, starting from the
upstream end, the water is moved to downstream nodes and the flow rate in each branch is
calculated.


Figure 1

The Simple River engine reads data from three input files, which contain information about
the inflow to the river nodes (boundary file), the simulation period and timestep length
(simulation file) and the river network (network file) - see Figure 2.


Figure 2

Please note that the simple river model is only intended to be used as an example for OpenMI model migration and not for real calculations.

  • No labels