EPEsoDailyPeriods class
- class eprun.eprun.EPEsoDailyPeriods[source]
A class for the daily time periods recorded in an
EPEsoSimulationEnvironmentinstance.Note
An EPEsoDailyPeriods instance is returned as the result of the
get_daily_periodsmethod. It should not be instantiated directly.Code Example
>>> from eprun import EPEso >>> eso=EPEso(r'simulation_files\eplusout.eso') >>> env=eso.get_environment('RUN PERIOD 1') >>> dp=env.get_daily_periods() >>> print(type(dp)) <class 'eprun.epeso_daily_periods.EPEsoDailyPeriods'> >>> print(dp.get_start_times()[:5]) (datetime.datetime(2001, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), datetime.datetime(2001, 1, 2, 0, 0, tzinfo=datetime.timezone.utc), datetime.datetime(2001, 1, 3, 0, 0, tzinfo=datetime.timezone.utc), datetime.datetime(2001, 1, 4, 0, 0, tzinfo=datetime.timezone.utc), datetime.datetime(2001, 1, 5, 0, 0, tzinfo=datetime.timezone.utc))
- property cumulative_days_of_simulation
The ‘cumulative days of simulation’ for the daily periods.
- property dst_indicators
The daylight saving time indicators for the daily periods.