17.01.2015 Views

GPS-X Technical Reference

GPS-X Technical Reference

GPS-X Technical Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Miscellaneous 430<br />

INTEGRATION CONSIDERATIONS<br />

Robust vs. Fast Models<br />

A trade-off exists between the speed of the simulation and the robustness and accuracy of<br />

the model under different conditions (e.g. sudden flow discontinuities or tanks emptying<br />

completely). <strong>GPS</strong>-X is configured such that the average user with a typical continuous<br />

flow activated sludge plant need not worry about the accuracy and the speed of the<br />

simulation. However, when dealing with more complex processes it may be necessary for<br />

the user to switch to a different integration algorithm or change the values of some<br />

numerical parameters to improve the accuracy or speed of the simulation. In general,<br />

robustness and accuracy are more important than simulation speed.<br />

If you suspect that the simulation results are not accurate, you should first check that the<br />

physical dimensions of the process objects and the values of the process flows are<br />

reasonable. A numerical value may have been entered incorrectly.<br />

If you are confident that the model parameters are reasonable then the next step is to<br />

determine whether a modelling simplification or numerical problem is leading to<br />

inaccurate results. Some helpful information is listed below:<br />

<br />

<br />

If you suspect that the simulation results are not accurate, you may wish to<br />

try the Exact code option. (Build > Code menu item). The Quick option<br />

(default) results in a faster simulation but is not as accurate when recycle<br />

flows are present. When the Quick option is used the recycle flows at each<br />

time step are simply the values taken from the previous time step. When the<br />

Exact option is used the recycle flows are calculated exactly using an<br />

implicit nonlinear equation solver. In most situations using the Quick option<br />

is acceptable, because the integration time steps are small and recycle flows<br />

usually don't change dramatically. In an application with a number of recycle<br />

flows and sudden extreme dynamic changes this simplification may cause<br />

some problems.<br />

The choice of integration algorithm (IALG) can have a significant effect on<br />

the output of the model. For a detailed description of the available integration<br />

algorithms consult the ACSL <strong>Reference</strong> Manual (contact Hydromantis for<br />

details). Generally, only variable step algorithms (i.e. Adams-Moulton,<br />

Runge-Kutta-Fehlberg(1), Runge-Kutta-Fehlberg(2), Gear's Stiff, and<br />

Differential Algebraic Solver) are acceptable for the simulation of highly<br />

dynamic systems. Try the Gear's Stiff algorithm if you suspect that your<br />

system is stiff (unless you are simulating an SBR or trickling filter, in which<br />

case only the Runge-Kutta-Fehlberg algorithms are allowed).<br />

<strong>GPS</strong>-X <strong>Technical</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!