honeybee_energy.reader module

Methods to read from idf.

honeybee_energy.reader.parse_idf_string(idf_string, expected_type=None)[source]

Parse an EnergyPlus string of a single object into a list of values.

Parameters
  • idf_string – An IDF string for a single EnergyPlus object.

  • expected_type – Text representing the expected start of the IDF object. (ie. WindowMaterial:Glazing). If None, no type check will be performed.

Returns

ep_fields – A list of strings with each item in the list as a separate field. Note that this list does NOT include the string for the start of the IDF object. (ie. WindowMaterial:Glazing)