honeybee_energy.load.dictutil module

Utilities to convert load dictionaries to Python objects.

honeybee_energy.load.dictutil.dict_to_load(load_dict, raise_exception=True)[source]

Get a Python object of any Load from a dictionary.

Parameters:
  • load_dict – A dictionary of any Honeybee energy load. Note that this should be a non-abridged dictionary to be valid.

  • raise_exception – Boolean to note whether an excpetion should be raised if the object is not identified as a load. Default: True.

Returns:

A Python object derived from the input load_dict.