NatLabRockies / NatLabRockies/OpenStudio
Cannot import IDF using "For: Foo" syntax in schedules
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 646
- Forks
- 237
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 10
Description
Issue overview
The OpenStudio Application is stricter than EnergyPlus when reverse translating schedules. I would like OpenStudio to accommodate IDFs that are allowed by EnergyPlus itself.
Current Behavior
If you try to import an IDF in the OpenStudio Application that has, e.g., "For: AllDays" in a Schedule:Week:Compact object, the OpenStudio Application throws an error.
Expected Behavior
The OpenStudio Application should successfully import the IDF.
Steps to Reproduce
- Try to import US+SF+CZ5A+hp+slab+IECC_2018.idf.txt into the OpenStudio Application.
- Note the error about Schedule:Week:Compact field 1.
- Remove all "For: " from the IDF and try importing again. (Now it works.)
Possible Solution
Details
Environment
Some additional details about your environment for this issue (if relevant):
- Windows 10
- OpenStudio Application v1.2.0
Context
I'm trying to import a residential prototype building model from the DOE Energy Codes Program.
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 importing the attached US+SF+CZ5A+hp+slab+IECC_2018.idf.txt and reproduce the Schedule:Week:Compact field 1 error involving "For: AllDays". Trace the reverse-translation path for that schedule syntax; done means the OpenStudio Application imports the IDF successfully without requiring the "For: " text to be removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100