EPEsoSimulationEnviroment class
- class eprun.eprun.EPEsoSimulationEnvironment[source]
A class representing the results from a simulation environment section of an
EPEsoinstance.Note
An EPEsoSimulationEnvironment instance is returned as the result of the
get_environmentorget_environmentsmethods. It should not be instantiated directly.Code Example
>>> from eprun import EPEso >>> eso=EPEso(fp=r'files\eplusout.eso') >>> envs=eso.get_environments() [EPEsoSimuationEnvironment(environment_title="DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB"), EPEsoSimuationEnvironment(environment_title="DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB"), EPEsoSimuationEnvironment(environment_title="RUN PERIOD 1")] >>> print(envs[0].environment_title) DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB
- property elevation
The elevation of the simulation environment section.
- Returns
The elevation in metres.
- Return type
- property environment_title
The environment title of the simulation environment section.
- Return type
- get_daily_variable(report_code)[source]
Return a daily variable.
- get_interval_summary()[source]
Returns a summary of the interval periods and variables.
- Return type
- get_interval_variable(report_code)[source]
Return an interval variable.
- get_monthly_variable(report_code)[source]
Return a monthly variable.
- get_number_of_variables()[source]
Returns all the number of variables in the simulation environment.
- get_run_period_variables()[source]
Return the run period variables.
- Return type
tuple (EPEsorunPeriodVariable)
- property latitude
The latitude of the simulation environment section.
- Returns
The latitude in degrees.
- Return type
- property longitude
The longitude of the simulation environment section.
- Returns
The longitude in degrees.
- Return type