NatLabRockies / NatLabRockies/OpenStudio
Unable to Import loads from IDF v22.2+
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 646
- Forks
- 237
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 10
Description
Issue overview
it seems the addition of Spaces/SpaceList to IDFs v22.2+ has broken the ability to import loads directly into the OSM.
Is this something that will be fixed? It seems to work well with IDFs v22.1 and lower.
Thanks in advance,
Rafael
Current Behavior
Loads per Zone are not imported from the IDF file. Instead, Openstudio thinks they have the "Plenum" programe and assigns None values to the following: People, Ventilation per person, Lights, Infiltration, Equipment, and maybe other fields.
Expected Behavior
Importing the idf would also import Zone level settings and the Space Type from the following idf fields: Space, People, Lights, ElectricEquipment,ZoneInfiltration:DesignFlowRate, DesignSpecification:OutdoorAir
Steps to Reproduce 1
- Import the following IDF into the OpenStudio App (v1.5) - [here] (https://drive.google.com/file/d/1rm0DfQ-v07zmZlk8oJ7r-ZNeFoCOWULx/view?usp=sharing)
- Check the Spaces > Loads tab
Example OSM: [here] (https://drive.google.com/file/d/1elPO38GjiXsM7ih4GIf4jvFLASlup9Tv/view?usp=share_link)
Steps to Reproduce 2
- Using OpenStudio 3.5.0, import the same IDF:
https://drive.google.com/file/d/1rm0DfQ-v07zmZlk8oJ7r-ZNeFoCOWULx/view?usp=sharing - Visualise results in Grasshopper, via Ladybug tools, with this definition:
https://drive.google.com/file/d/1i2ONsvAefHzzY7f_gBXBoDcn8HJMdcZi/view?usp=share_link
The outcome of this import can be seen on this image: https://drive.google.com/file/d/1-QSZoLDKfGEwC85HLIDU7P9A1eEUhXWl/view?usp=share_link
Possible Solution
I can guess the problem comes from the addition of Spaces/Space Lists to the IDF, which may cause Openstudio to miss the zone level settings as they are assigned to a Space List, instead of a zone.
Details
Environment
Some additional details about your environment for this issue (if relevant):
- Windows 10 Home
- Version of OpenStudio (if using an intermediate build, include SHA): 3.5.0+7b14ce1588
Context
We use this “Import IDF” feature of the OpenStudio SDK through Ladybug tools, to check our models in a visual format in Rhinoceros.
You can see some more details here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the import with the linked IDF in OpenStudio 3.5.0 and compare the result with the linked OSM. Trace the IDF import handling for Space and SpaceList objects, then verify that zone-level loads and Space Type fields are retained rather than assigned to a Plenum. Confirm the behavior in the OpenStudio App and SDK import paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100