honeybee_ies.properties.model module

Model IES Properties.

class honeybee_ies.properties.model.ModelIESProperties(host)[source]

Bases: object

IES Properties for Honeybee Model.

Parameters:

host – A honeybee_core Model object that hosts these properties.

Properties:
  • host

ToString()[source]
apply_properties_from_dict(data)[source]

Apply the energy properties of a dictionary to the host Model of this object.

Parameters:

data – A dictionary representation of an entire honeybee-core Model. Note that this dictionary must have ModelIESProperties in order for this method to successfully apply the IES properties.

check_for_extension(raise_exception=True, detailed=False)[source]

Check that the Model is valid for IES simulation.

This process includes all relevant honeybee-core checks as well as checks that apply only for IES.

Parameters:
  • raise_exception – Boolean to note whether a ValueError should be raised if any errors are found. If False, this method will simply return a text string with all errors that were found. (Default: True).

  • detailed – Boolean for whether the returned object is a detailed list of dicts with error info or a string with a message. (Default: False).

Returns:

A text string with all errors that were found or a list if detailed is True. This string (or list) will be empty if no errors were found.

to_dict()[source]

Return Model IES properties as a dictionary.

property host

Get the Model object hosting these properties.