RIBASIM Quick Start Guide Version 101
RIBASIM Quick Start Guide Version 101
WL | Delft Hydraulics
Table of contents
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Introduction ......................................................................................................... 6 Example analysis of Virgin river basin ............................................................. 7 Starting the Program .......................................................................................... 9 Exiting the Program.......................................................................................... 11 Step 1. Define a new river basin application................................................... 12 Step 2. Start a new empty simulation case ...................................................... 14 Step 3 Select the hydrological and water quality scenario............................. 16 Step 4 Design your river basin network schematization................................ 19 Step 5 Enter the network node and link property data ................................. 26 Step 6 Define the simulation period ................................................................. 31 Step 7 Generate overview of data base. ........................................................... 32 Step 8 Execute the basin simulation................................................................. 34 Step 9 Evaluate the simulation results............................................................. 36 Step 10 Save simulation case ............................................................................ 45 Setting up alternative case Scenario A . ....................................................... 47 Setting up alternative case Scenario A with water quality........................ 54 Frequently Asked Questions............................................................................. 59
List of figures
Figure 1 Map of Virgin river basin with potential irrigation area : scenario A........................8 Figure 2 RIBASIM start icon...................................................................................................9 Figure 3 RIBASIM title screen. .............................................................................................10 Figure 4 Ribasim title screen to "Add a new basin". .............................................................12 Figure 5 At Ribasim title screen the pop-up window to continue with the new added basin. .....................................................................................................................13 Figure 6 CMT initial screen...................................................................................................13 Figure 7 CMT screen to start with a New" empty simulation case.....................................15 Figure 8 CMT initial screen for empty simulation case, named Default ............................15 Figure 9 CMT screen with pop-up combo box for hydrological and water quality scenario selection. ......................................................................................................17 Figure 10 Combo box for selection of the hydrological scenario.........................................17 Figure 11 Combo box for the selection of the water quality scenario. ..................................18 Figure 12 CMT screen after a correct finish of the task block Select hydrological and water quality scenario . .........................................................................................18 Figure 13 CMT screen with pop-up menu box after selection of task block "Edit network and data base on map". ................................................................................21 Figure 14 Netter, interactive network editor, initial screen without background map...........21
WL | Delft Hydraulics
Figure 15 Netter screen with the node and link type, and node and link action toolbars after pressing the network edit button..................................................................22 Figure 16 Netter pop-up properties setting box Edit network toolbar ................................22 Figure 17 Netter screen, after adding 2 Variable inflow nodes, 1 Confluence node and 1 Terminal node. .............................................................................................23 Figure 18 Netter screen with complete network schematization of Virgin River basin.........23 Figure 19 Netter pop-up box Save network . ......................................................................24 Figure 20 Netter pop-up box to confirm save network..........................................................24 Figure 21 Netter pop-up box to exit.......................................................................................24 Figure 22 CMT screen after a successful finish of task block "Edit network and data base on map".............................................................................................................25 Figure 23 Netter screen with complete schematization of Virgin River basin.......................27 Figure 24 Netter screen, select direct from the map a Variable inflow node to activate the spreadsheet based property data editor. ......................................................28 Figure 25 Netter screen with spreadsheet based property data editor for all Variable inflow nodes from map. ..........................................................................................28 Figure 26 Spreadsheet based property data editor DataEditwith data of all Variable inflow nodes in present schematization. .................................................................29 Figure 27 Netter top screen menu to start property data editor.............................................29 Figure 28 Netter screen with menu and combo box Model Datato select the node or link type.. ............................................................................................................29 Figure 29 Netter pop-up menu and combo box Model Data to select the node to start property data editor. .....................................................................................30 Figure 30 Netter screen with spreadsheet based property data editor DataEditwhich is activated via menu and combo box Model data . ......................................30 Figure 31 CMT screen with pop-up box to specify simulation period. .................................31 Figure 32 CMT screen after correct finish of task block "Generate overview of data base".32 Figure 33 Viewtext browser to check all property data used in the simulation. ....................33 Figure 34 CMT screen with pop-up menu box for entry of frequency analsysis data. .........35 Figure 35 CMT screen after successful finish of task blocks Water demand computation , River basin simulation , Frequency analysis dataand Post processing of simulation results . ..................................................................................35 Figure 36 CMT screen with menu box after selection of Task block Analysis of basin simulation results. ........................................................................................38 Figure 37 Pop-up window Summary reports. ........................................................................38 Figure 38 Netter screen for evaluation of results from map. .................................................39 Figure 39 Netter screen for evaluation of results after selection of a link. ............................39 Figure 40 Netter screen for evaluation of results with graph of the flow in the selected link. .....................................................................................................................40
WL | Delft Hydraulics
Figure 41 Netter screen for evaluation of results after selection of the second link. .............40 Figure 42 Netter screen for evaluation of results with graph of the flows in the 2 selected links..............................................................................................................41 Figure 43 Netter Options menu..............................................................................................41 Figure 44 Netter Options for setting Data valueat folder Link . .....................................42 Figure 45 Netter screen with of link flow result values on the map. .....................................42 Figure 46 CMT pop-up box Results on charts . ..................................................................43 Figure 47 OdsView selection menu for Parameter, Location and Timesteps. .......................43 Figure 48 OdsView graph of flow in selected links and time period.....................................44 Figure 49 CMT screen after correct finish of a complete simulation and evaluation (before save case). ....................................................................................................44 Figure 50 CMT screen Casemenu item Save As ............................................................45 Figure 51 CMT screen and pop-up window to enter simulation case name Base case ......46 Figure 52 CMT screen after completion of Base case (incl. Save case). ...............................46 Figure 53 CMT top screen menu to open a previous case as a new case...............................50 Figure 54 CMT pop-up menu box to select the case to be used as start for the new case and entry of the new case name..........................................................................50 Figure 55 CMT initial screen for Scenario A case ..............................................................51 Figure 56 Netter screen after adding fixed irrigation and diversion node. ............................51 Figure 57 Netter screen with schematization for Scenario A case . ....................................52 Figure 58 Dataedit window for Diverted flow links. .............................................................52 Figure 59 Dataedit window for Fixed irrigation node. ..........................................................52 Figure 60 Dataedit table screen for entry of irrigated area and net demand per month........53 Figure 61 Viewtext screen of Summary of results report : water shortages during 10 years simulation. ...................................................................................................53 Figure 62 Pop-up window with switch to include water quality computation. .....................56 Figure 63 Spreadsheet based property editor with data of all variable inflow nodes incl. water quality related data.............................................................................57 Figure 64 Dataedit table for entry of water quality lookup table index per substance. .........57 Figure 65 Netter screen for selection of one o the simulated substances to show link results. .....................................................................................................................58 Figure 66 Netter screen with water quality simulation result: 2 graphs with salinity concentration at 2 selected links. .................................................................58 Figure 67 Pop-up menu ro view log-file................................................................................60 Figure 68 Pop-up menu with overview of executed program log-files. ................................61 Figure 69 Viewtext screen : example log-file. .......................................................................61
WL | Delft Hydraulics
Figure 70 Netter screen, select direct from map teh Fixed irrigation node to activate the Source priority editor. ..................................................................................64 Figure 71 Netter screen with the Source priority editor.........................................................64 Figure 72 Pop-up windowe for selection of the node type, node and editor..........................65 Figure 73 Fixed data main menu screen. ...............................................................................66 Figure 74 Fixed data menu for simulation time step setting..................................................67 Figure 75 CMT screen with Simulation time step setting menu, Fixed data menu and Simulation time step definition file. ............................................................67 Figure 76 Switch specification for the simulation on daily basis. .........................................69 Figure 77 Time step definition file for Christian monthly calendar.......................................70 Figure 78 OdsView selection screen for export of link flow simulation results....................72 Figure 79 Save as pop-up window to specify the export file name. ......................................72 Figure 80 Pop-up menu for setting of renumber option.........................................................73 Figure 81 Ribasim title screen for selection of existing basin to start analysis of various cases.............................................................................................................76 Figure 82 CAT initial screen. .................................................................................................77 Figure 83 CAT selection screen at folder Case: first case name and file name.................77 Figure 84 CAT selection screen at folder Case: second case name and file name. ...........78 Figure 85 CAT selection screen at folder Location: location name...................................78 Figure 86 CAT selection screen at folder Parameter: parameter name. ............................79 Figure 87 CAT output graph of link flows of two different cases..........................................79
List of tables
Table 1 Default substances for water quality computation. ...................................................54 Table 2 Lookup table index for each substance and for each node........................................56
Abbreviations
CAT CMT FAQ Netter Case Analysis Tool Case Management Tool Frequently Asked Question Interactive network editor
WL | Delft Hydraulics
Introduction
The present documentation of the River Basin Simulation Model RIBASIM consists of the documents: RIBASIM version 6.32 Users manual, July 2004; RIBASIM version 6.32 Technical reference manual, July 2004; RIBASIM Version 6.33 Technical reference manual addendum, October 2004.
Beside these manuals there was a need for a document that helps the starting RIBASIM user step-by-step from scratch. This RIBASIM Quick Start Guide tries to fill in this need. This document will take you through the successive steps to develop a river basin application using RIBASIM. At each step the aim of the step is defined and the successive actions outlined which you have to do in order to reach the aim. At each action the system reactions are described and the relevant screens are presented to verify your actions. Use this document to get a quick overview of the RIBASIM components, its basic features and the user interface. The last chapter covers a number of frequently asked questions which are useful for the undertsandding of the varuious RIBASIM features. For detailed information, we refer to the above manuals.
WL | Delft Hydraulics
We will consider the following simple example river basin called Virgin river basin consisting of one main river with one tributary Presently there are no activities in the basin. But this may change as there is an option for the development of an irrigation scheme which is supplied from the Virgin river (see Figure 1) and which will change the flow pattern at the delta. Your task is to quantify the consequences of this development scenario applying a simulation of the basin performance using RIBASIM. Our analysis approach is to setup three simulation cases. A simulation case is a combination of possible (future) conditions in the basin (infrastructure, water use, water supply and water management). We define one case as the Base case representing the present situation and the other two cases we define as Scenario A case in which we will consider the potential irrigation scheme A and Scenario A case with water quality in which we include water quality aspects. The steps you have to carry out for a complete simulation of the Virgin River basin configuration, called a simulation case, are as follows: Step 1 Define a new river basin application Step 2 Open a new empty simulation case Step 3 Select the hydrological and water quality scenario Step 4 Design your river basin network schematization Step 5 Enter the network node and link property data Step 6 Define the simulation period Step 7 Generate overview from data base Step 8 Execute the river basin simulation Step 9 Evaluate the river basin performance Step 10 Save simulation case
WL | Delft Hydraulics
Figure 1 Map of Virgin river basin with potential irrigation area : scenario A.
WL | Delft Hydraulics
Aim: after installation of RIBASIM on your PC you want to start the RIBASIM program. User actions On your desktop, double click on the RIBASIM start icon (Figure 2). Or User actions From the Windows Start menu: select Programs select RIBASIM River basin simulation model select RIBASIM Version 6.33 System reactions RIBASIM title screen appears (Figure 3). System reactions RIBASIM title screen appears (Figure 3).
WL | Delft Hydraulics
Icon gallery
WL | Delft Hydraulics
10
Aim: To exit Ribasim at the title screen (Figure 3). User actions double-click on the Exit icon in the icon gallery, or select at the File-menu at the top screen the item Exit. System reactions You will return to your Windows desktop.
WL | Delft Hydraulics
11
Aim: At the Ribasim title screen we must define a new basin. User actions Double-click the icon Add basin at the icon gallery (3). System reactions Pop-up window for entry of basin name appears (Figure 4).
Enter the name of the basin Virgin at the pop-up window (1) Press OK. Press Yes. Pop-up window to continue with the new added basin (Figure 5). Initial Case Management Tool (CMT) screen appears (Figure 6) (2).
Remarks: 1. The name of the basin must be maximal 8 characters. 2. The initial CMT screen shows a flow chart of 13 task bocks. Each task block represents a task which has to be carried out to finalize a complete simulation case. The arrows between the task blocks show the sequential order in which the tasks must be carried out. 3. Later, when you want to continue with an existing basin then you have to select icon Open and simulatefollowed by a selection among the present basins.
WL | Delft Hydraulics
12
Figure 5 At Ribasim title screen the pop-up window to continue with the new added basin.
WL | Delft Hydraulics
13
Aim: start with a new empty simulation case at the Case management Tool (CMT) initial screen. User actions Select at the Case-menu at the top screen the item New (Figure 7). Remarks: 1. The color of the task block indicates the status of the task block: Colour of task block red yellow green purple Task status Can not start due to unfinished tasks preceding Can start Finished correctly Still running System reactions Case Management Tool (CMT) initial screen for an empty simulation case appears (Figure 8) (1 2,3,4).
2. At the top of the screen you see the default name of the empty simulation case between brackets. This name is Default . 3. Task execution. A task can be activated by double clicking the task bock with the mouse: the first click will select the task (a double bock line appears) and the second click will start the execution of the task. The colour of the box shows the status of the task. Be aware that under MS Windows one window might cover another window(s) (the windows trap!). You should close all windows before you start another task. Hidden unclosed windows may slow down the performance of Ms Windows and RIBASIM. You can skip among windows by pressing the combined Alt- and Tab-keys. 4. Working environment. When you are working under the CMT and are executing the various tasks all files which are generated by the program components during the session are stored in the working directory till you save the case under the top screen menu item Case and Save or Save as . When you save the case then the files are registered permanently and securely stored in the CMT simulation case data base.
WL | Delft Hydraulics
14
Case name
Figure 8 CMT initial screen for empty simulation case, named Default .
WL | Delft Hydraulics
15
User actions Double-click the task block Select hydrological and water quality scenario . Click on hydrological scenario combo box and select Scenario 1 Example monthly time series from 1971 - 1980 (Figure 10) (1, 2) Click on water quality scenario combo box and select Scenario 1 Look-up tables : present situation (monthly) (Figure 11) (1, 2) Press OK.
System reactions Select scenario pop-up combo box appears (Figure 9). -
Case Management Tool screen with 1 green task block (Figure 12).
Remarks: 1. You always have to select both scenarios. Later at the task block Specify simulation control datayou can indicate if you want to simulate the water quality as well. 2. Both hydrogical and water quality scenario s have been prepared outside Ribasim (see user manual attachment). 3. The combo box shows all defined hydrological resp. water quality scenarios. In our new empty case only one scenario is defined by default (see user manual attachment). 4. A hydrological scenario is defined by a set of time series files (TMS-files) stored in the hydrological scenario directory (see User manual attachment). A water quality scenario is defined by a substance definition file and a look-up table file (LKP-files) for each substance stored in the look-up directory (see user manual attachment).
WL | Delft Hydraulics
16
Figure 9 CMT screen with pop-up combo box for hydrological and water quality scenario selection.
WL | Delft Hydraulics
17
Figure 11 Combo box for the selection of the water quality scenario.
Figure 12 CMT screen after a correct finish of the task block Select hydrological and water quality scenario .
WL | Delft Hydraulics
18
User actions Double-click the task block Edit network and data base on map. Click on menu button Edit network and object data Click on the top-screen Edit network button Click on Add node on the node action toolbar. Click on Variable inflow on the node type toolbar. Click on the map at location of the first Variable inflow node as shown in Figure 17. Click on the map at location of the second Variable inflow node as shown in Figure 17. Click on Confluence on the node type toolbar. Click on the map at location of the Confluence node as shown in Figure 17. Click on Terminal on the node type toolbar. Click on the map at location of the terminal node as shown in Figure 17. Click on Connect nodes on the link (connection) action toolbar. Click on SW flow link on the link type toolbar. Point to the Variable inflow node and drag a link from this node to the Confluence node as shown in Figure 18 (3). Point to the second Variable inflow node and drag a link from this node to the Confluence node as shown in Figure 18 (3). Point to the Confluence node and drag a link from this node to the Terminal node as shown in Figure 18 (3).
System reactions Edit datamenu box appears (Figure 13). Netter, the interactive network editor, initial screen appears (Figure 14). The node and link types, and the node and link action toolbars appear (Figure 15) (1, 2). The empty map with the 4 nodes as shown in Figure 17.
The empty map with the complete network schematization of the present Virgin river basin (Figure 18).
WL | Delft Hydraulics
19
Select at the File-menu at the top screen the item Network and Save (Figure 19) (4). Press OK
Save confirmation pop-up window appears (Figure 20). The empty map with the complete network schematization of the present Virgin river basin (Figure 18). Case Management Tool screen with EditData pop-up window as shown in Figure 13. Case Management Tool screen with 2 task blocks green (Figure 22).
Select at the File-menu at the top screen the item Exit (Figure 21) (5) Press OK (6)
Remarks: 1. If the node and link types, and the node and link action toolbars do not appear directly on the screen then you can open the combo box at the top screen and drag the toolbars down on the map (Figure 15). 2. If the caption of the toolbar items does not appear at the toolbar then you switch the caption on as follows: at the top screen menu item View Toolbars Customize. A pop-up window shows the setting of the 4 toolbars (Figure 16). 3. When you connect two nodes, you have to drag in downstream direction. 4. The NetterSave action means that the network is saved into the working environment of the CMT. As long as data and results are in the CMT working environment then they are not yet secure. To be secure and safe we have to save our simulation case which we will do later on in the exercise(see Step 2 Remark 4). 5. The reason to exit Netter is that the property data of the nodes and links will be updated. This means that the property data is filled with default values for the new nodes and links and that the data of deleted nodes and links are cleared. 6. Error messages, unfinished tasks and Log-files. If a program module is executed some progress messages appear on the screen like a moving bar. If the program was executed correctly then the next program is started automatically. Upon an error then the execution window is kept open and a message and/or error code is shown. The user may close the window and the CMT task will be interrupted which means that the task block is colored yellow (and not green). You can check the program output and messages in detail in the log-file of the executed program modules. The list of log-files is shown after clicking the right mouse button while the cursor is pointing to the task block (see FAQ 1).
WL | Delft Hydraulics
20
Figure 13 CMT screen with pop-up menu box after selection of task block "Edit network and data base on map".
Active legend
Figure 14 Netter, interactive network editor, initial screen without background map.
WL | Delft Hydraulics
21
Figure 15 Netter screen with the node and link type, and node and link action toolbars after pressing the network edit button.
WL | Delft Hydraulics
22
Confluence node
Terminal node
Figure 17 Netter screen, after adding 2 Variable inflow nodes, 1 Confluence node and 1 Terminal node.
Figure 18 Netter screen with complete network schematization of Virgin River basin.
WL | Delft Hydraulics
23
Exit Netter and return to CMT screen with menu box Edit data
WL | Delft Hydraulics
24
Figure 22 CMT screen after a successful finish of task block "Edit network and data base on map".
WL | Delft Hydraulics
25
Aim: enter the property (model, object, attribute) data of all nodes and links of Virgin river basin. The required data depends on the node and link type (see User manual attachments 6 and 7). For our Virgin River basin schematization we only have to enter data for the Variable inflow node.
User actions Double-click the task block Edit network and data base on map . Click on menu button Edit network and object data There are two ways to start property data editing: 1. Direct from the map: Click left mouse button while pointing to one of the Variable inflow nodes. Click right mouse button while pointing to the selected Variable inflow node. Click left mouse button while pointing menu item Model data . Click left mouse button while pointing menu item River basin simulation model . 2. Via the top screen menu Select menu Editand item Model data (Figure 27) Select at combo box Variable inflow node (Figure 28) Click left mouse button on Editbutton (Figure 29) Enter in the column Actual inflow time series index the value 1 for the first node and value 2 for the second node (3). Press OK (1)
System reactions Edit datamenu box appears (Figure 13). Netter, the interactive network editor with the complete Virgin river basin schematization appears (Figure 22).
The selected Variable inflow node is highlighted. The screen with pop-up menu box looks like Figure 24.
Netter screen with menu- and combo-box Model Data(Figure 28). Netter screen with property data editor DataEdit(Figure 30)
WL | Delft Hydraulics
26
Select at the File-menu at the top screen the item Exit (Figure 21) Press OK
CMT screen with Edit datapop-up box as shown in Figure 13. CMT screen with 2 task blocks green (Figure 22).
Remarks: 1. The propertuy ( attribute) data which have been filled in are directly saved to the CMT working environment 2. An overview of the property data of each node and link type are shown in the User manual attachments. 3. The values 1 and 2 are the time series ID s which are defined in the variable inflow time series file in the selected hydrological scenario. This is here the file \Virgin.Rbn\Hydrolog\Scenario.1\Actinflw.tms (see User manual attachment 4).
WL | Delft Hydraulics
27
Figure 24 Netter screen, select direct from the map a Variable inflow node to activate the spreadsheet based property data editor.
Figure 25 Netter screen with spreadsheet based property data editor for all Variable inflow nodes from map.
WL | Delft Hydraulics
28
Figure 26 Spreadsheet based property data editor DataEditwith data of all Variable inflow nodes in present schematization.
Figure 28 Netter screen with menu and combo box Model Datato select the node or link type..
WL | Delft Hydraulics
29
Figure 29 Netter pop-up menu and combo box Model Data to select the node to start property data editor.
Figure 30 Netter screen with spreadsheet based property data editor DataEditwhich is activated via menu and combo box Model data .
WL | Delft Hydraulics
30
10
Aim: enter the start-year and -time step and the end-year and -time step (simulation period) for which the simulation must be carried out. User actions Double-click the task block Specify simulation control data . Press OK (1, 2) System reactions Pop-up box Define global RIBASIM simulation dataappears (Figure 31). Case Management Tool screen with 3 green task blocks.
Remarks: 1. Our simulation time step is here by default monthly (12 time steps per year). RIBASIM allows for other time steps sizes like half monthly, decade and daily (see FAQ 3, 4 and 5). 2. We do not change the default control data like no daily simulation and no water quality computation. We simulate for one year only. The simulation period is from time step 1(January) till 12 (December) of year 1980. 3. The Run definition and User name may be changed optionally. These data are printed in various output files.
WL | Delft Hydraulics
31
11
Aim: generate an overview in table form of all node and link property data used in the simulation.
User actions Double-click the task block Generate overview of data base(1) Double-click the task block View tables of data base . Select at File menu the item Exit. Remark
System reactions CMT screen with 4 green task blocks (Figure 32). Viewtext window appears to browse the print file with tables of all data used in the simulation (Figure 33). CMT screen with 5 green task blocks.
Figure 32 CMT screen after correct finish of task block "Generate overview of data base".
WL | Delft Hydraulics
32
Figure 33 Viewtext browser to check all property data used in the simulation.
WL | Delft Hydraulics
33
12
User actions Double-click the task block Water demand computation(1). Double-click the task block River basin simulation(2).
System reactions CMT screen with 6 green task blocks. CMT screen with 7 green task blocks.
Double-click the task block Frequency Pop-up menu box for entry of frequency analysis data (Figure 34). analysis data Press OK Double-click the task block Post processing of simulation results(3). CMT screen with 8 green task blocks. CMT screen with 9 green task blocks (Figure 35)
Remarks 1. The water demand for irrigated agriculture and brackish aquaculture is computed at this task block. This is only relevant if nodes of type Advanced irrigation and/or Brackish fishpond are part of the network schematization. For our Virgin River basin this task block is not relevant. 2. At this task block the actual water allocation is computed 3. Several post-processing programs are executed sequentially at the background.
WL | Delft Hydraulics
34
Figure 34 CMT screen with pop-up menu box for entry of frequency analsysis data.
Figure 35 CMT screen after successful finish of task blocks Water demand computation , River basin simulation , Frequency analysis dataand Post processing of simulation results .
WL | Delft Hydraulics
35
13
Aim:
show overall water balance of the whole basin over the whole simulation period. prepare a graph of the flows at the links on map. prepare a graph of the flows at the links on chart. System reactions CMT screen with pop-up menu box Ribasim : water distribution(Figure 36). CMT screen with pop-up menu box Summary reports(Figure 36). Viewtext window appears to browse the print file with overall water balance. CMT screen with pop-up menu box Ribasim : water distribution(Figure 36).
User actions Double-click the task block Analysis of basin simulation results . Click on item Summary tables and reports . Click on item Overall river basin water balance . Select at File menu an item Exit.
Click on item Nodes and links results on map . Click on the upstream link of the Virgin river. Click on the Graph button of View data box. While pushing Shift key, click on the second upstream link of the Virgin river. Click on the Graph button of View data box. At Graph window select item File and Exit
Netter screen with View databox showing the link flow results. The thickness of the link represents the size of the flow (Figure 38) (3). Netter screen with the selected link highlighted (Figure 39). Netter screen with graph of the flow in the selected link (Figure 40) (1) Netter screen with the selected links highlighted (Figure 39). Netter screen with two graphs of the flow in the two selected links (Figure 40) (1). Netter screen with link flow results.
Select at the Options top menu the item Options (Figure 43). Select folder Link Switch item Data value On (Figure 44)
Pop-up box Settings with folder Link Pop-up window Settings with folder Link and Data valueitem On.
WL | Delft Hydraulics
36
Press OK
Netter screen with link flow results. The thickness of the link represents the size of the flow and the flow values are shown (Figure 45). Netter screen while browsing thru the simulation period. The link thickness varies and the flow values changes. CMT screen with pop-up menu box Ribasim : water distribution(Figure 36).
Click the left and right scroll button in the View data window (Figure 45). Select top menu item File and Exit.
Click on item Nodes and links results on charts . Click the menu item All links Press View/Export Click on Link Flows in left column While pushing Control-key, click on Link1 and Link2 in middle column Click on button All above right column Press Graph button Select top menu item File and Exit. Press Exit button Select OK.
CMT screen with pop-up menu box Results on charts(Figure 36). CMT screen with pop-up menu box Results on charts(Figure 36). OdsView selection screen (Figure 47). OdsView selection screen (Figure 47). OdsView selection screen (Figure 47). OdsView selection screen (Figure 47). OdsView graph of the flow in links Link1 and Link 2 over year 1980 (Figure 48) (1, 2) CMT screen with pop-up menu box Results on charts(Figure 36). CMT screen with pop-up menu box Ribasim : water distribution(Figure 36). CMT screen with 10 green task blocks (Figure 49).
Remarks 1. At the graph window you can change the graph properties by clicking the right mouse button while cursor is on the graph window. In the pop-up menu box you can set the various graph properties. 2. You can export your selected data by pressing the button Export data at the buttom of the window. At the pop-up menu box you have to specify the name of the file, the file type and the location where to store the file (see FAQ 6). 3. When you select one of the node or link types listed at the active legend at the Netter screen then the results of the selected node or link type are shown on the map. This way you can quickly switch among the results of the various node and link types.
WL | Delft Hydraulics
37
Figure 36 CMT screen with menu box after selection of Task block Analysis of basin simulation results.
WL | Delft Hydraulics
38
Active legend
Time step that is presented now Name of parameter that is presented now
Graph button
WL | Delft Hydraulics
39
Figure 40 Netter screen for evaluation of results with graph of the flow in the selected link.
Figure 41 Netter screen for evaluation of results after selection of the second link.
WL | Delft Hydraulics
40
Figure 42 Netter screen for evaluation of results with graph of the flows in the 2 selected links.
WL | Delft Hydraulics
41
Figure 45 Netter screen with of link flow result values on the map.
WL | Delft Hydraulics
42
WL | Delft Hydraulics
43
Figure 49 CMT screen after correct finish of a complete simulation and evaluation (before save case).
WL | Delft Hydraulics
44
14
Aim: save the simulation case under the name Base case .
User actions Select at the Case-menu at the top screen the item Save As (Figure 50). Enter case name Base case Press OK
System reactions CMT screen and pop-up window appears to specify case name (Figure 8). CMT screen and pop-up window with case name Base case . CMT screen with case name Base caseat top of window and all data saved securely (Figure 8).
WL | Delft Hydraulics
45
Figure 51 CMT screen and pop-up window to enter simulation case name Base case .
Figure 52 CMT screen after completion of Base case (incl. Save case).
WL | Delft Hydraulics
46
15
In the previous chapters you carried out all steps to setup the Base case . Now we will prepare an alternative case called Scenario A in which the potential irrigation area is evaluated. Aim: evaluate the water allocation and shortage situation for the Scenario A case for period 1971 - 1980. Below the steps are outlined to carry out the analysis. Only the new aspects or features of this case compared to the base case are described in detail. We start at the initial screen of the Case Management Tool. User actions Select at the Case-menu at the top screen the item Open as new (Figure 53). Click on Base case to be used as start for new case (Figure 54). Enter new case name (Figure 54). Press OK Scenario A case CMT with filled pop-up window. CMT initial screen (Figure 55). System reactions CMT with pop-up window appears to Select which case to use as reference.
WL | Delft Hydraulics
47
After activation of task block Edit network and data base on map you must adapt the network schematization of the Base case at the Netter screen. Start the interactive network editor Netter. User actions Click on the top-screen Edit network button (Figure 56) Select Add node at the node action toolbar Select Fixed irrigation at the node type toolbar Click on the map at the location of the irrigation node as shown in Figure 56 Select Split connection at the node action toolbar Select Confluence at the node type toolbar Click on location of the link where the diversion node must be included as shown in Figure 56 Base case schematization Select Connect nodes at the link action The adapted (Figure 56). toolbar. Select Diverted flow on the link toolbar. Point to the Diversion node and drag a link from this node to the Fixed irrigation node as shown in Figure 56. Select SW flow on the link toolbar. Point to the Fixed irrigation node and drag a link from this node to the Confluence node as shown in Figure 56. Select at the File-menu at the top screen the item Network and Save. Press OK Save confirmation pop-up window appears. The empty map with the complete adapted network schematization of the present Virgin river basin. CMT screen with Edit Datapop-up window. CMT screen. System reactions The node and link types, and the node and link action toolbars appear. The Base caseschematization with 2 new nodes (Figure 56).
Select at the File-menu at the top screen the item Exit. Press OK (6)
WL | Delft Hydraulics
48
Your network schematization for the Virgin River basin incl. the potential irrigation area is ready now but the property data of the Fixed irrigation node and the Diverted flow link has to be entered. So, you must activate task block Edit network and data base on map again and start the interactive network editor Netter. User actions Activate the property data editor of the Diverted flow link, View the property data (we will keep all default values) and Finish with OK Netter screen with schematization. Activate the property data editor of the Fixed irrigation node Netter screen with the spreadsheet based property data editor d with data of all Fixed irrigation nodes is shown (Figure 26). The table editor for the Irrigated area (ha) and Net demand (mm/day)is shown (Figure 26). System reactions The spreadsheet based property data editor with the data of all Diverted flow links is shown (Figure 26).
Click at the column Irrigated area and net demand on the item Table
Netter screen with the spreadsheet based property data editor with data of all Fixed irrigation nodes is shown (Figure 26). Netter screen with schematization. Netter screen with the complete network schematization. Case Management Tool screen with Edit datapop-up box. Case Management Tool screen
Click OK Press OK Select at the File-menu at the top screen the item Exit Press OK
At task block Specify simulation control datayou have to specify the simulation period January 1971 till December 1980 : 1971, 1, 1980, 12. Then you start the simulation by activating task blocks Generate overview of data base , Water demand computation , River basin simulation and Post processing of evaluation results . Finally the basin performance is evaluated at task block Analysis of basin simulation results . The results can be evaluated from map or charts as shown in the previous chapter. You can also look at the results of the Fixed irrigation node. For a quick evaluation you can select Summary of resultsat the pop-up menu box Summary reports (Figure 37). The summary of results can be viewed and printed (Figure 61).
WL | Delft Hydraulics
49
Figure 53 CMT top screen menu to open a previous case as a new case.
Figure 54 CMT pop-up menu box to select the case to be used as start for the new case and entry of the new case name.
WL | Delft Hydraulics
50
Diversion node
Figure 56 Netter screen after adding fixed irrigation and diversion node.
WL | Delft Hydraulics
51
WL | Delft Hydraulics
52
Figure 60 Dataedit table screen for entry of irrigated area and net demand per month.
Figure 61 Viewtext screen of Summary of results report : water shortages during 10 years simulation.
WL | Delft Hydraulics
53
16
In the previous chapters you have carried out all steps to setup the Scenario A case . Now we will prepare an alternative case called Scenario A case with water qualityin which the potential irrigation area is evaluated including water quality aspects. Aim: evaluate the water quality situation for the Scenario A casefor period 1971 - 1980. The simulated water quality substances are defined in the file Substa.dat stored in the \Virgin.Rbn\Lookup sub-directory. For each substance a Lookup table file is defined in the same sub-directory. These files contain the lookup tables of the substance concentrations. The default substances and associated lookup table file names are shown in Table 1. The description of the lookup tables are described in the Ribasim Version 6.32 User manual attachement 5.
Table 1 Default substances for water quality computation.
Substance name and unit 1 2 3 4 5 6 Salt concentration [gram/liter] BOD [mm/liter] Nitrogen [mg/liter] Posphorus [mg/liter] Bacteria [mpn/100 ml] Toxic substance [ug/liter]
Lookup tabel file name Saltconc.Lkp BOD.Lkp Nitrogen.Lkp Posphorus.Lkp Bacteria.Lkp ToxicSubst.Lkp
Ribasim computes the concentration of the substances at any location in the basin and the accumulation of substances at the irrigation nodes. The extra actions which you have to do are outlined in detail below.
WL | Delft Hydraulics
54
Action 1
At the screen of the CMT : at menu option File -> Open as new start a new simulation case Scenario A case with water quality based on the previous case Scenario A case . So, we continue with the simulation case Scenario A casewhen we finished simulation case A at the previous chapter.
Action 2
Switch on the water quality computation switch User actions At the screen of the Case Management Tool double-click the task block Specify simulation control data . Switch on Include water quality computation Press OK Case Management Tool screen. System reactions Pop-up box Define global RIBASIM simulation dataappears (Figure 62).
Action 3
Enter the water quality property data consisting of the lookup table index for each substance at the two variable infow nodes and the fixed irrigation node. Table 2 outlines the lookup table indexes. User actions At the screen of the Case Management Tool double-click at task block Edit network and data base on map , next select menu item Edit network and object data 1. Activate the property data editor of the Variable inflow nodes System reactions Interactive network editor Netter screen is shown with Virgin basin schematization.
2. Double click on the water quality property Table cell for the first variable inflow node 3. Enter the lookup table index for each substance as outlined in Table 2. 4. Click on the OK button. 5. Finish with OK Enter the lookup table index for the fixed irrigation node as carried out for the Variable inflow node.
1. The spreadsheet based property data editor with the data of the two variable inflow nodes is shown (Figure 63). 2. Pop-up of a table window with all substances (Figure 64). 3. Table window filled with the lookup table index. 4. Variable inflow node property spreadsheet. 5. CMT screen.
WL | Delft Hydraulics
55
Table 2 Lookup table index for each substance and for each node.
Substance Salt concentration [gram/liter] BOD [mm/liter] Nitrogen [mg/liter] Posphorus [mg/liter] Bacteria [mpn/100 ml] Toxic substance [ug/liter]
All required water quality data have been entered and the simulation can be finished. You start the simulation by activating task blocks Generate overview of data base , Water demand computation , River basin simulationand Post processing of evaluation results . Finally the basin performance incl. water quality is evaluated at task block Analysis of basin simulation results . The results can be evaluated from map or charts as shown in the previous chapters. For example, for each link the concentration of each substance can be shown at the Netter screen (Figure 65 and Figure 66). The cumulation of substances in the irrigation node is outlined in the summary output table 4 with the irrigation node results.
WL | Delft Hydraulics
56
Figure 63 Spreadsheet based property editor with data of all variable inflow nodes incl. water quality related data.
Figure 64 Dataedit table for entry of water quality lookup table index per substance.
WL | Delft Hydraulics
57
Drop down box to select link parameter : link flow or one of the simulated substances.
Figure 65 Netter screen for selection of one o the simulated substances to show link results.
Selected link
Figure 66 Netter screen with water quality simulation result: 2 graphs with salinity concentration at 2 selected links.
WL | Delft Hydraulics
58
17
The following Frequently Asked Questions (FAQ) are answered in this chapter : 1 2 3 4 5 6 7 8 9 How can I view error messages ? Where can I view and edit the source priority list ? Where can I view the actual simulation time step ? How can I change the simulation time step ? Does Ribasim take into account leap years ? How can I export simulation results to Ms Excel ? How can I renumber the nodes and links ? Can I combine two or more river basin ? How can I compare the results of two or more cases ?
WL | Delft Hydraulics
59
WL | Delft Hydraulics
60
WL | Delft Hydraulics
61
FAQ 2. Where can I view and edit the source priority list ?
As you have seen for the simulation of the Virgin river basin we have entered the following data: Network schematization Property data for each node and link in the schematization Simulation control data
Further, we used some default data available when starting a new river basin application: Monthly hydrological time series.
May be you already have seen it on the Netter screen or at the table overview of the model data, but there is another input item needed: the source priority (or preference) list of each demand node. The fixed irrigation node in our Virgin river basin is such a demand node. The source priority list contains all source nodes which might contribute to fulfill the demand and the order of the source nodes in the list is the order in which the source nodes are used. After the preparation of the network schematization under the interactive network editor Netter, Ribasim generates a default source priority list. In many cases this Default source priority list is also used as the actual source priority list, n=but in some cases it might be needed to update the actual source priority list. You can view and edit the list directly from the map under Netter as you already entered the property data. Below we will outline the procedure for the Fixed irrigation node of the Virging river basin.
WL | Delft Hydraulics
62
User actions At the interactive network editor Netter screen there are two ways to start source priority editor (comparable with the property data editor) : 1. Direct from the map: a. Click left mouse button while pointing to the Fixed irrigation node. b. Click right mouse button while pointing to the selected Fixed irrigation node. c. Click left mouse button while pointing menu item Model data . d. Click left mouse button while pointing menu item Source priority editor . 2. Via the top screen menu a. Select menu Editand item Model data b. Select at combo box Fixed irrigation node c. Select the fixed irrigation node d. Select Source Prioriy Editorat the dropdown menu (Figure 72). e. Click left mouse button on Editbutton View the Source priority list (1) (2). Click Cancel (1) Select at the File-menu at the top screen the item Exit (Figure 21) Press OK
System reactions
a. The selected Fixed irrigation is highlighted. b. c. The screen with pop-up menu box looks like (Figure 70). d. The screen with the Interactive source list editor (Figure 71).
a. Pop-up Model Datawindow with combo box appears b.c.d. e. The Netter screen with the Interactive source list editor (Figure 71). The Netter screen with the Interactive source list editor (Figure 71). Netter screen with the complete network schematization (Figure 18). Case Management Tool screen with Edit data pop-up box as shown in Figure 13. Case Management Tool screen with 2 task blocks green (Figure 22).
Remarks: 1. The Ribasim User manual Chapter 7 describes how to operate the source priorty editor. 2. For the Fixed irrigation node in our Virgin river basin there is only one source (one of the Variable inflow nodes). Eiting is not relevant here. In cases that there are several source you might consider to skip source (use the Arrow Left and Right buttons) or change the order of the source nodes (use the Arrow Up and Down keys).
WL | Delft Hydraulics
63
3. A click on the button Cancel will exit the Source Priority editor without saving the list. A click on the button OK will exit the Source Priority editor with saving the list.
Figure 70 Netter screen, select direct from map teh Fixed irrigation node to activate the Source priority editor.
WL | Delft Hydraulics
64
Figure 72 Pop-up windowe for selection of the node type, node and editor.
WL | Delft Hydraulics
65
Click on the first menu item Simulation The fixed data for the definition of the simulation time step, file Timestep.dat, will time step data be shown (Figure 75). You can also directly view the time step definition file Timestep.dat under Ms Wndows explorer. The file is stored in the Fixed sub-directory of your basin Rbn-directory. You may change the simulation time step as well. The procedure is outlined at the next FAQ.
WL | Delft Hydraulics
66
Figure 75 CMT screen with Simulation time step setting menu, Fixed data menu and Simulation time step definition file.
WL | Delft Hydraulics
67
Click on one of the Set simulation time At the background the simulation time step step menu item. definition file Timestep.dat is set. Click on the first menu item Simulation The fixed data for the definition of the time step data to verify the time step selected simulation time step, file Timestep.dat, will be shown (Figure 75). setting. Basically any simulation time step definition can be simulated by RIBASIM but in the Fixed data menu system the definition of the Christian and Shamsi calendars for 12, 24 and 36 time steps are included as those time steps are the most commonly used. You can also directly define the time step definition file Timestep.dat under Ms Wndows explorer by editting the file stored in the Fixed sub-directory of your basin Rbn-directory. Under this Fixed directory also the pre-defined files for the Christian and Shamsi calendars are stored. Normally RIBASIM simulates on the defined monthly, half monthly or decade time step unless you specify that you want to simulate on a daily basis. You can swith the daily simulation option on at the task block Specify simulation control data (Figure 76). Be aware that for a daily simulation the hydrological time series must be on a daily basis as well. The hydrological time series are stored in the hydrological scenario directories.
WL | Delft Hydraulics
68
WL | Delft Hydraulics
69
WL | Delft Hydraulics
70
WL | Delft Hydraulics
71
Figure 78 OdsView selection screen for export of link flow simulation results.
WL | Delft Hydraulics
72
Read the explanation / comment part of the Case Management Tool screen file Edit the file contents Save the file When you click on the menu button Renumber node and links the renumbering will be executed. If you want to rename the nodes and links then you have to do this while editing the network under Netter. Both the network node and link operations toolbar contains an operation Rename(Figure 15).
WL | Delft Hydraulics
73
WL | Delft Hydraulics
74
WL | Delft Hydraulics
75
Figure 81 Ribasim title screen for selection of existing basin to start analysis of various cases.
WL | Delft Hydraulics
76
Figure 83 CAT selection screen at folder Case: first case name and file name.
WL | Delft Hydraulics
77
Figure 84 CAT selection screen at folder Case: second case name and file name.
WL | Delft Hydraulics
78
WL | Delft Hydraulics
79