Pump scheduling

Dear All

I am working on a project for pump scheduling a water distribution system. In the beginning of the simulation I am setting the pump on and off values (0 and 1) by using “Ensetlinkvalue”. In the toolkit we have these parameter codes (EN_INITSTATUS, EN_STATUS, EN_SETTING ), which one has to be used?. and why?.

In the model I am saving the output result into Epanet INP file using “ENsaveinpfile”, but it doesn’t give me the right output like the one in the model. Please could you make your comment on these. Thanks