Hydraulic analysis of a network by epanet using epanet-matlab toolkit

i am trying to run hydraulic analysis by epanet using matlab toolkit.
using command ‘d.runHydraulicAnalysis’
and getting ans as ’ 0 ’
what should i do to get detailed result ?
please help

Hi @devangsingh,

Here you can find an example with some ways to run hydraulic analysis: https://github.com/OpenWaterAnalytics/EPANET-Matlab-Toolkit/blob/dev-2.2-edit/examples/EX2_Hydraulic_analysis.m

The function d.runHydraulicAnalysis must be used in a step-by-step hydraulic simulation

Also here is an example to run hydraulic and quality analysis together
EX14_hydraulic_and_quality_analysis

Regards,
Marios

2 Likes

thank you very much sir @Mariosmsk
i found it very helpful.