I’m controlling EPANET by using MATLAB as API.
I want to close some pipes to simulate some rupture scenarios.
Here is my MATLAB code to control pipe status in EPANET.
There is a problem that the command is not working.
What’s the wrong?
I think the part “d.setLinkInitialStatus(opencon);” has the problem.
However, I don’t know how should I revise it.