Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Sending pump schedules from MATLAB to EPANET

1 Ansicht (letzte 30 Tage)
Helena
Helena am 30 Jan. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello,
I optimise pump operation using pump schedules 0,1 for pump being off/on, respectively, for 1 hour time steps. Currently, I use:
setdata('SET_PATTERN', [0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1], 13];
where 13 is ID of the pump pattern. But it does not seem to be reflected in EPANET. Could you please tell me what the correct code is?
Thank you very much,
Best Regards,
Helena
  1 Kommentar
Mario CASTRO GAMA
Mario CASTRO GAMA am 1 Nov. 2013
Bearbeitet: Mario CASTRO GAMA am 1 Nov. 2013
Hello
Do you have at least 13 patterns? Because 13 must refer to the index not to the ID of the pattern. (Also the SPEED of the pump must be set)
Best regards.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by