Dynamic Analysis & Scripting
See how your design operates over a period of time, with different initial conditions, different settings or operating parameters.
Scripting allows extended time analysis or ‘what-if’ scenarios to be considered.
You can write your own scripts using Basic or Pascal. Scripting is used to look at scenarios such as pump station optimisation, flare stack depressurising, or equipment performance over time.
You can call external programs and COM modules from script. This means you can start Excel, export results and plot a chart all from script.
Writing a script using either the Basic or Pascal language enables you to change any network or element property and watch what will happen. You can see a video here that shows how 2 control valves adjust to speed changes of a centrifugal pump.
Today energy conservation should be a vital part of all your designs. Click here to see a video that considers how to minimise energy consumption during operation of a pump station containing 5 pumps.
Control Valve Turndown [1m 32s]
Scripting allows you to change any property of any network element and then watch the response of any other property. In this example we change the speed of a pump and watch how flow control valves respond as well as watching the pump duty point adjust on the pump performance chart.
Pump Optimisation [40s]
We will run a script that asks how many pumps we wish to run. The script solves the system for a series of pump speeds ranging from the minimum to maximum operating speed. Results are exported to Excel (Flow, Speed, and Power needed per kg of fluid pumped).
Finally, the script plots an excel chart, so we can see easily where the optimum speed lies.