pyehub_funcs

Helper functions for interacting with PyEHub.

pyehub_funcs.ep_to_eh(input, index_size)[source]

Converts EnergyPlus evaluator outputs to PyEHub compatible inputs.

pyehub_funcs.get_by_path(root, items)[source]

Access a nested object in root by item sequence. Used to navigate PyEHub’s not flat dict.

pyehub_funcs.get_hub()[source]

Generates the base PyEHub model from the excel file.

pyehub_funcs.pyehub_parameter_editor(hub, parameters: List[parameters.Parameter], values: list)[source]

Changes the __dict__ of the energy hub for the parameters specified on initialization with the values given to evaluator.

pyehub_funcs.set_by_path(root, items, value)[source]

Set a value in a nested object in root by item sequence. Used to set values in PyEHub’s not flat dict.