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

Compare with Current View Page History

« Previous Version 6 Next »

The WANDA API (Application programming interface) is a new addition to WANDA which enables to possibilities of writing scripts to perform certain task (e.g. creating figures, building of models, etc.). The WANDA API is accessible from Python, C and C# (.Net platform). This gives the user the freedom to choose its own preferred platform to write scripts.


Wanda API for Python Installation Instructions

  • Install Anaconda (Windows 64 bits, python 3.7)
  • Open Anaconda Navigator
  • Open the tab Environments
  • Either use an existing or create a new virtual Environments
  • Select the venv you want tu use and click on the play button en select "Open Terminal"
  • Run the following command: "python –m pip install pywanda"
  • If this is successful, start python by typing python
  • Then type "Import pywanda" This should not return any errors

License can be requested at software.support@deltares.nl.

Documentation can be downloaded here:documentation.zip. Start point is de index.html file.

Examples can be found here: Examples.zip. This zip contains three examples

  1. Creating of a figure from an existing Wanda model
  2. Building of a model from scratch and doing a steady calculation
  3. Monte Carlo simulation with an existing model.

Known issues

  • License cannot cope with dongle license.
  • Wanda API only works with Wanda 4.6 models (Wanda 4.5 models work mostly, but is not supported)
  • No labels