openergy / opyplus

A package to work with EnergyPlus in python
Mozilla Public License 2.0
38 stars 13 forks source link

Alphabetical order in Epm.save causes an error in the IDF file - AirflowNetwork:Distribution:Linkage #83

Open Justin-DeBlois opened 1 month ago

Justin-DeBlois commented 1 month ago

Describe the bug This is basically the same issue as Issue #59. Objects are sorted alphabetically, but AirflowNetwork:Distribution:Linkage can be sensitive to order. Suggest adding AirflowNetwork:Distribution:Linkage to the list of NON_SORTABLE_TABLE_REFS.

To Reproduce Steps to reproduce the behavior:

  1. load a PNNL IECC SF residential prototype building and simulate it with no changes. For example: US+SF+CZ3A+elecres+crawlspace+IECC_2021.idf https://www.energycodes.gov/sites/default/files/2021-05/resstd_CZ3A_IECC_2021.zip

Expected behavior I would expect the simulation to run. Instead EnergyPlus throws a fatal error.

JasonGlazer commented 1 month ago

If you find that different orders of input objects in an IDF file affect EnergyPlus, please consider posting an issue to the EnergyPlus repo.

Justin-DeBlois commented 1 month ago

If you find that different orders of input objects in an IDF file affect EnergyPlus, please consider posting an issue to the EnergyPlus repo.

Thanks, I submitted an issue there as well