EPEsoIntervalVariable class
- class eprun.eprun.EPEsoIntervalVariable[source]
A class for an interval variable recorded in an
EPEsoSimulationEnvironmentinstance.Note
An EPEsoIntervalVariable instance is returned as the result of the
get_interval_variableorget_interval_variablesmethods. 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') >>> iv=env.get_interval_variables()[0] >>> print(type(iv)) <class 'eprun.epeso_interval_variable.EPEsoIntervalVariable'> >>> print(iv.summary()) 7 - Environment - Site Outdoor Air Drybulb Temperature (C) >>> print(iv.values[:5]) (-4.5, -3.0, -3.625, -2.75, -2.0)
- plot(ax=None, **kwargs)[source]
Plots the interval variable on the supplied axes.
- Parameters
ax (matplotlib.axes.Axes) – An Axes instance. Optional, if not supplied then automatically created.
kwargs – Keyword arguments to be supplied to the matplotlib plot call.
- Returns
The Axes instance.
- Return type