Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wanda is an advanced, interactive software package to support the hydraulic design process of your pipeline system. The program is used for the hydraulic analysis of steady and unsteady flow conditions in arbitrary configured pipeline networks.

Specific features

Combined pre- and post- adapter

A common practice for development of FEWS model adapters is to develop two separate adapters for pre- and post processing of model input and output. For Wanda this resulted in two adapters, the WandaPreadapter and WandaPostAdapter which use the PI-XML format to exchange data with FEWS.

On request of the users an additional, combined adapter has been added, the WandaAdapter which performs both the pre-and post processing tasks and also executes the Wanda Model. Using this combined adapter is more efficient because instead of 3 separate execute activities the General Adapter only needs to execute one and as a result the Wanda Java API used by the adapter only needs to load the Wanda Model schematization once, providing considerable performance improvement, especially for a large model. The configuration examples given on this page therefore all assume that the combined WandaAdapter is used.

Wanda model properties

Using the properties element in the combined Wanda adapter configuration, it is possible to directly set properties of the Wanda model, typically using the following property keys:

...

"Newtonian" or "Slurry" (string)

or 1 or 2 respectively (float)

...

Exception handling

Some of the exceptions that may occur during processing are logged as warnings in the configured diagnostics file without aborting the adapter processing.:

...

ExportActivities Section

Important for the Wanda here model and the Wanda adapter are the properties of the exportRunFileActivity. These properties provide specific Wanda adapter and Wanda model settings.

  • key - MODEL: this setting contains the path and file name of the Wanda Model input file to open (*.wdi) The model output file
    to be read by the adapter after completing the model run uses the same file name but the file extension *.wdo.
  • key - BIN: this setting contains the path where the Wanda model binaries are stored.
  • key - AMBIENTFILE (optional): a file name mask (can contain * wildcards) used to identify files listed under exportTimeSeriesActivity
    which contain ambient properties that are applied in a specific manner to all pipe objects in the Wanda model.
  • key - GRIDPOINTSFILE (optional): a file name mask (can contain * wildcards) used to identify files listed under exportTimeSeriesActivity
    which contain gridpoint properties that are applied in a specific manner to grid points along a pipe object in the Wanda model.

In addition to these these  properties, that provide specific information for the operation of the Wanda Adapter, it is also possible to set general properties of the Wanda model by defining the property name as key and a float, int or string type value.

For slurry model (float)
Expand
titleWanda model properties to specify directly
Keydescription
Time stepTime step in seconds (float)
Atmospheric pressureAtmospheric pressure (float)
Vapour pressureVapour pressure (float)
Rheology type

"Newtonian" or "Slurry" (string)

or 1 or 2 respectively (float)

DensityDensity of the liquid (float)
Bulk modulusBulk modulus of the liquid (float)
Kinematic viscosityKinematic viscosity of the Liquid (float)
Visc. Coeff K in H-B modelFor slurry model (float)
Exponent n in H-B model


Keydescription
Time stepTime step in seconds (float)
Atmospheric pressureAtmospheric pressure (float)
Vapour pressureVapour pressure (float)
Rheology type

"Newtonian" or "Slurry" (string)

or 1 or 2 respectively (float)

DensityDensity of the liquid (float)
Bulk modulusBulk modulus of the liquid (float)
Kinematic viscosityKinematic viscosity of the Liquid (float)
Visc. Coeff K in H-B modelFor slurry model (float)
Exponent n in H-B modelFor slurry model (float)



ExecuteActivities Section

...