NREL / OpenStudio

OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
https://www.openstudio.net/
Other
505 stars 192 forks source link

Unable to Import loads from IDF v22.2+ #4886

Open rafael-a opened 1 year ago

rafael-a commented 1 year ago

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

  1. Import the following IDF into the OpenStudio App (v1.5) - [here] (https://drive.google.com/file/d/1rm0DfQ-v07zmZlk8oJ7r-ZNeFoCOWULx/view?usp=sharing)
  2. Check the Spaces > Loads tab Example OSM: [here] (https://drive.google.com/file/d/1elPO38GjiXsM7ih4GIf4jvFLASlup9Tv/view?usp=share_link)

Steps to Reproduce 2

  1. Using OpenStudio 3.5.0, import the same IDF: https://drive.google.com/file/d/1rm0DfQ-v07zmZlk8oJ7r-ZNeFoCOWULx/view?usp=sharing
  2. 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):

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

jmarrec commented 1 year ago

Can't connect to the discourse site at the moment. And I'd rather have the information here if you don't mind. I added the issue template back in.

Could you give at least the name of the file (or the file) you're trying to import, the version of the SDK you're using. Basically anything that can help me reproduce quickly. Thanks!

rafael-a commented 1 year ago

Thanks! I have just added all the details to the template above

chriswmackey commented 1 year ago

I just wanted to make a note that we'll definitely be making use of this capability in Ladybug Tools once the bug is fixed. It's particularly helpful for people loading up the EnergyPlus example files and the Commercial Reference Buildings.