Scilab and modeFRONTIER integration: Optimization of a pipe network for water distribution
By Andrea PIUSSI, ESTECO s.r.l
This optimization problem deals with the search of the best set of pipes in a network with a specific layout. The single objective is to minimize the overall network cost and the constraints are the minimum pressures at the demand nodes. The Scilab script uses the same method and formulas of EPANET to model the behavior of water distribution piping systems. The flow continuity and Hazen-Williams headloss equations are solved using the Gradient Method of Todini and Pilati. This is a good example of how a Scilab script can be integrated in modeFRONTIER to implement a calculation or use Scilab as an external solver in an optimization loop, and in a fast way too.
APiussi_ScilabTec.pdf 988.40 kB