Computed hydraulic time series

Dear all,
I want to use 24 hours demand pattern for my network. So I set the time simulation by the command of d.setTimeSimulationDuration(86400) and time step [d.setTimePatternStep(3600);
d.setTimeReportingStep(3600); d.setTimeHydraulicStep(3600)].
But when I get computed hydraulic time series, it returns: 29 times, pressure, flow, etc. While this command should give 24.
What should I do to solve the problem?
Regards,
Fatemeh,

net3_ok_End_addDemandpattern.inp (29.8 KB)
clc
clear
close all
%% ------Epanet Loading-------- %%
d=epanet(‘net3_ok_End_addDemandpattern.inp’);
d.setTimeSimulationDuration(86400); %24h
d.setTimePatternStep(3600)
d.setTimeReportingStep(3600)
d.setTimeHydraulicStep(3600)
Sim =d.getComputedHydraulicTimeSeries;

Hi @Fatemeh, you can use Sim =d.getComputedTimeSeries;

You can use the function getComputedTimeSeries where ignores events (e.g. pump OPEN or CLOSED) .

related: Quality problem in the 3rd example network of EPANET

Thanks,
Marios

1 Like

Hello Mariosmsk,
Thank you very much for your reply.
Best Regards
Fatemeh