Introduction
The goal of this tutorial is to provide you with a script that mimics a complete workflow using SOBEK 3. Therefore, starting from scratch, you will be able to build, configure and run a SOBEK 3 flow model. You will also be able to import a set of measurements (a time series of water level at a certain location), and then use it to calibrate your model.
The complete script (in all its levels) is very comprehensive and you will certainly be more interested in some aspects of it than in other ones. With this possibility in mind, the tutorial has been designed so that you can go through it on a relatively short time, by simply reading the text and copying and pasting the embedded scripting code. And then, obviously, at any time, you can take a closer look at the parts of the source code of your interest to gain a deeper insight into the topics you prefer. Some hints in this direction have been given by adding the microscope icon ( ), indicating that you may be interested in taking a closer look at how a certain functionality has been implemented. Anyway, you can also walk through the entire tutorial neglecting these indications. Also, different workflows have been offered (for example, with more or less detail in how to build a SOBEK 3 flow model step by step). You can choose the path (and pace) that best fits your interests. Due to the different workflows available to follow this tutorial, some figures might not exactly match the situation of your model at the time reading them. This is not relevant at all. You should focus solely on the items of interest for the particular step in the script you are studying at that time.
This tutorial should be understood as a method for getting familiar with the capabilities of scripting in SOBEK 3 when working on a flow model. The example is not meant to be an accurate modelling example. Many concepts have been (over)simplified for the sake of ease of understanding the scripting functionality to the detriment of the exactness of the modelling process.
Tutorial outline:
- Set up a SOBEK 3 flow model
- Run the flow model
- Import measurements and obtain results at specific locations
- Plot model results and compare with imported measured data
- Customize charts: layout and style
- Simple model calibration
- Export (calibration) results: Graphs, data and report
- Data and answers (code of scripts)