You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This is an advanced tutorial. This tutorial requires experience with SOBEK, a working hydraulic model and (basic) experience with Python. The following beginner and intermediate tutorials are recommended prior to trying this tutorial:

If you are new to Python in general, consider following online courses to get acquainted with the basics, e.g.:

 

 

In this tutorial we will use DeltaShell's build-in Python scripting module to access results from a SOBEK (Flow1D) model. We will plot results using DeltaShell's graphing functionality and write results to csv file for easy access with your favourite text or spreadsheet editor.

We will use Python scripts from the OpenEarth repository, which make use of the standard library delivered with any DeltaShell distribution. If you are not familiar how to access the OpenEarth scripts, please see this tutorial first. 

 

Step-by-step guide

  1. Check out the 'ModellerFunctions' package from the Open Earth repository (Direct link)
  2. Open your project in DeltaShell. Make sure that the model: 
    1. has at least 1 observation point
    2. has 'Water level (op)' enabled as output
    3. has successfully completed a simulation run. 

 

  • No labels