EPEsoIntervalPeriods class
- class eprun.eprun.EPEsoIntervalPeriods[source]
A class for the interval time periods recorded in an
EPEsoSimulationEnvironmentinstance.Note
An EPEsoIntervalPeriods instance is returned as the result of the
get_interval_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') >>> ip=env.get_interval_periods() >>> print(type(ip)) <class 'eprun.epeso_interval_periods.EPEsoIntervalPeriods'> >>> print(ip.get_start_times()[:5]) (datetime.datetime(2001, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), datetime.datetime(2001, 1, 1, 1, 0, tzinfo=datetime.timezone.utc), datetime.datetime(2001, 1, 1, 2, 0, tzinfo=datetime.timezone.utc), datetime.datetime(2001, 1, 1, 3, 0, tzinfo=datetime.timezone.utc), datetime.datetime(2001, 1, 1, 4, 0, tzinfo=datetime.timezone.utc))
- property days_of_simulation
The ‘day of simulation’ values for the interval periods.
- property dst_indicators
The daylight saving time indicators for the interval periods.