EPEso class
- class eprun.eprun.EPEso(fp)[source]
A class for an EnergyPlus .eso file.
- Parameters
fp (str) – The filepath for the .eso file.
Code Example
>>> from eprun import EPEso >>> eso=EPEso(r'simulation_files\eplusout.eso') >>> print(type(eso)) <class 'eprun.epeso.EPEso'> >>> print(eso.programme_version_statement) {'programme': 'EnergyPlus', 'version': 'Version 9.4.0-998c4b761e', 'timestamp': 'YMD=2020.12.31 08:53'} >>> print(eso.standard_items_dictionary[1]) {'comment': None, 'items': [{'name': 'Environment Title', 'unit': None}, {'name': 'Latitude', 'unit': 'deg'}, {'name': 'Longitude', 'unit': 'deg'}, {'name': 'Time Zone', 'unit': None}, {'name': 'Elevation', 'unit': 'm'}], 'number_of_values': 5} >>> print(eso.variable_dictionary[7]) {'comment': 'Hourly', 'number_of_values': 1, 'object_name': 'Environment', 'quantity': 'Site Outdoor Air Drybulb Temperature', 'unit': 'C'} >>> print(eso.get_environments()) [EPEsoSimuationEnvironment("DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB"), EPEsoSimuationEnvironment("DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB"), EPEsoSimuationEnvironment("RUN PERIOD 1")]
See also
Output Details and Examples, page 126. https://energyplus.net/quickstart
- get_environment(environment_title)[source]
Returns a simulation environment in the .eso file.
- Parameters
environment_title (str) – The name of the simulation environment.
- Raises
IndexError – If
environment_titledoes not match any of the simulation environments.- Return type
- get_environments()[source]
Returns a list of the simulation environments in the .eso file.
- Returns
A list of
EPEsoSimulationEnvironmentinstances.- Return type
- property programme_version_statement
A dictionary of the programme version statement.
- property standard_items_dictionary
A dictionary of the standard items in the data dictionary.