honeybee_energy.simulation.dictutil module

Utilities to convert simulation dictionaries to Python objects.

honeybee_energy.simulation.dictutil.dict_to_simulation(sim_dict, raise_exception=True)[source]

Get a Python object of any Simulation object from a dictionary.

Parameters:
  • sim_dict – A dictionary of any Honeybee energy simulation object. 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 simulation object. Default: True.

Returns:

A Python object derived from the input sim_dict.