opyplus.Err¶
-
class
opyplus.
Err
(path)¶ Class to serialize EnergyPlus “.err” output.
- Parameters
- path: str
Path of the .err file
- Attributes
- path: str
Path of the .err file
- info: dict
General info contained in the .err file
Methods
get_content
(self)Get the content of the file as text.
get_data
(self[, simulation_step, error_category])Get error data as a DataFrame.
-
get_content
(self)¶ Get the content of the file as text.
- Returns
- str
content of the file as a string
-
get_data
(self, simulation_step=None, error_category=None)¶ Get error data as a DataFrame.
- Parameters
- simulation_step: str
if not given, returns a raw report
- error_category: str
if only one argument is specified, swaps dataframe report
- Returns
- pandas.DataFrame
DataFrame with the corresponding error data