-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
NatLabRockies/OpenStudio-user-documentation
#25Description
Issue overview
When exporting an OpenStudio model with OS:External:File objects to IDF with OpenStudio App, related schedule objects are not translated properly. EnergyPlus simulation with the exported IDF fails due to blank "File Name" field in the Schedule:File.
Current Behavior
The OS:Schedule:File and OS:External:File objects are not handled correctly. Two unexpected behaviors:
- After an OpenStudio model with OS:Schedule:File and OS:External:File objects are exported to IDF, the "File Name" of Schedule:File object is empty.
- When a measure is applied with "Apply Measure Now" approach and generates new schedules associated with external files, the OpenStudio simulation fails due to missing schedule:file. Please note that if the measure that generate new schedules associated with external files are added to the "Measures" tab, the simulation runs successfully.
Expected Behavior
Corresponding to the two behaviors above, the expected behaviors are:
- After the OSM are exported to IDF, the "Schedule:File" in the IDF should refer to the correct external file path.
- The OpenStudio simulation should run normally with OS:Schedule:File and OS:External:File objects generated by other measures from the "Apply Measure Now" approach.
Steps to Reproduce
Steps to reproduce the first unexpected behavior:
- Apply "Create DOE Prototype Building" measure to create a new model (optional if a model is already available)
- Apply "Occupancy Simulator" measure with the "Apply Measure Now" GUI to create stochastic occupancy schedules (with OS:External:File and OS:Schedule:File objects). This step will create time-series schedules saved in an external CSV.
- Export the OSM to IDF
Steps to reproduce the second unexpected behavior:
- Same as above
- Same as above
- Go to the Run tab, click on the start run button.
Possible Solution
Improve the generated files storing mechanism.
Details
Environment
Some additional details about your environment for this issue (if relevant):
- Platform (Operating system, version): Windows 10 Pro
- Version of OpenStudio (if using an intermediate build, include SHA): both (1) OpenStudio v2.9.1 and (2) OpenStudio 3.0.1 with OpenStudioApplication-1.0.0 have this issue.
Context
This issue may affect users that uses schedules associated with external files.
Reactions are currently unavailable