Computational Instabilities

Instabilities are the erroneous generation or removal of flow from the network caused by the internal calculations performed by the simulation engine, rather than by a real effect. The main causes of instabilities are:

Checking for Instabilities

There are a number of ways to check for instabilities, which are described below.

Removing Instabilities

Running the simulation at a shorter timestep will sometimes remove instabilities.

However, a better way is to use the volume balance checks in the network Simulation Parameters.

  1. With the network open, choose Model parameters | Simulation parameters from the Model menu. This displays the Simulation Parameters in the Object Properties Window.
  2. Set the two Tolerance for Volume Balance fields (Initialisation and Simulation) to 0.01
  3. Set the two Tolerance for Volume Balance Scaling Factor fields (Initialisation and Simulation) to 1.0

The effect of these parameters is to provide additional checks during simulation. Simulations may therefore take longer to run, but it is our experience that instabilities are always removed.

Simulations

Runs

Simulation Parameters