algorithmic modeling for Rhino
I ran a daylight simulation, created lightingSchedules from annualProfiles and passed the new HBZones to exportToOpenStudio. Error. This workflow works okay with the alternate runEP. GH attached. Looks like "currently OpenStudio component cannot use .csv file as a schedule". Looking into if anyone else has had this problem.
Tags:
Replies are closed for this discussion.
Arpan,
The current OpenStudio component can take csv schedules and they are being taken into account in the simulation. The old OpenStudio component from the last stable release could not do this and would give you that message.
The current OpenStudio component will give a printed message when you have CSV schedules in the simulation. This message says:
"The schedule will be written into the EnergyPlus IDF File after it has been written by decompressing the OS file."
This is because the OpenStudio interface currently does not support CSV schedules even though Honeybee does. So, if you open your OSM file in OpenStudio and simulate your file within the OpenStudio interface, the CSVs will not be taken into account. However, simulating by hitting the runSimulation_ Boolean on the OpenStudio component will make sure they are accounted for.
If this does not describe what you are expereincing, please upload a smaller GH file and csv file that shows just the error.
-Chris
I have worked around this before by scripting a schedule component into the User Library (UL) IDF: the component was of the schedule:file type. In the same GH script, I:
1) injected the e+ schedule:file component into the UL IDF
2) used honeybee to call the schedule from the honeybee library (which includes whatever is in that UL IDF).
3) called the runOS HB component
The IDF that was generated (and run) by OpenStudio studio referred to my external CSV file (which was generated elsewhere). By George it worked.
I haven't yet been successful with the standard HB CSV schedule functionality, even with the current version of the OS component (with the aforementioned OS/E+/IDF do si do...clever trick). Although I'm very possibly wrong, I think it didn't work because of the component type I was driving with the schedule (blinds).
Arpan and Nick,
After realizing that this could be an issue for many of us, I checked the lengthy GH file and found a bug in my "Do Si Do" method. I got distracted by the quote "currently OpenStudio component cannot use .csv file as a schedule" thinking that an older version of the component was being used since this warning does not exist in the current version. The bug only affected cases where you had many CSV schedules all with the same Type Limits.
I have fixed it as you can see here:
https://github.com/mostaphaRoudsari/Honeybee/commit/9c229b2969da6e0...
The attached file runs without issues. Thanks for reporting this, Arpan, and let me know, Nick, if you get the chance to try out the new Do Si Do method. Your UL method is probably the most clever application of the UL library I have yet seen!
-Chris
Thank you Nick and Chris. (I will attached a smaller GH file next time!) I know I'm asking many questions this week .. when you fix something on github, and users use the Honeybee_Update Honeybee component, the fixed component auto-updates in GH?
Arpan,
They are good questions.
Yes, the "Update Honyebee" or "Update Ladybug" components automatically sync your components with the fixed versions on the github if you are connected to the internet.
If you use the _updateAllUObjects option on the "Update Honyebee" or "Update Ladybug" components, this updates all components in your Ladybug/Honeybee toolbar and when you drag/drop the new component on the canvass.
If you use the updateThisFile_ option on the "Update Honyebee" or "Update Ladybug" components, you can update your whole GH file to the same version at once but be warned that it does not work for all components. In the case that we have changed the names of the inputs/outputs or added inputs/outputs, you will have to replace the component manually (dragging them onto the canvass as it sounds like you did here).
-Chris
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by