cesarp.eplus_adapter.eplus_error_file_handling module

Module providing functions to parse energyplus error file.

class cesarp.eplus_adapter.eplus_error_file_handling.EplusErrorLevel(value)[source]

Bases: enum.Enum

An enumeration.

FATAL = 1
IP_NOTE = 4
NO_ERRORS = 99
SEVERE = 2
UNKNOWN = 999
WARNING = 3
cesarp.eplus_adapter.eplus_error_file_handling.check_eplus_error_level(eplus_err_file: Union[str, pathlib.Path]) cesarp.eplus_adapter.eplus_error_file_handling.EplusErrorLevel[source]

Returns the most severe error level found in the given energyplus error log file

Parameters

([str]) (eplus_err_file) – full path to energyplus error file (usually named eplusout.err)

:return EplusErrorLevel stating the most critical error found in the log file, EplusErrorLevel.NO_ERRORS if all is good