-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More ruby documentation #1784
More ruby documentation #1784
Conversation
### `<enduse>_event_duration_probability.csv` | ||
|
||
TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was missing in the README; we'll need to get this TODO filled in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we revisit/reconsider having different monthly multipliers here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(This file renamed to schedules.csv.)
lighting_interior,LightingInteriorMonthlyMultipliers,"1.075, 1.064951905, 1.0375, 1.0, 0.9625, 0.935048095, 0.925, 0.935048095, 0.9625, 1.0, 1.0375, 1.064951905", | ||
dishwasher,HotWaterDishwasherMonthlyMultiplier,"1.083, 1.056, 1.023, 0.999, 0.975, 0.944, 0.918, 0.928, 0.938, 0.984, 1.059, 1.094", | ||
clothes_washer,HotWaterClothesWasherMonthlyMultiplier,"0.968, 1.013, 0.99, 1.034, 1.019, 1.015, 1.048, 1, 1.021, 0.949, 0.945, 0.999", | ||
clothes_dryer,ClothesDryerMonthlyMultiplier,"1.09, 1.054, 1.044, 0.996, 0.992, 0.967, 0.931, 0.906, 0.923, 0.955, 1.035, 1.108", | ||
cooking_range,CookingMonthlyMultiplier,"1.038, 1.026, 0.976, 0.945, 0.965, 0.947, 0.939, 0.965, 0.967, 1.006, 1.098, 1.129", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get these data sources filled in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps some clues in this file? https://github.com/NREL/OpenStudio-HPXML/blob/ruby-docs/BuildResidentialScheduleFile/resources/README.md
#### Plug Loads | ||
|
||
This is the baseline schedule for misc plugload, lighting and ceiling fan. | ||
It will be modified based on occupancy. | ||
Television plugload uses the same schedule as misc plugload. | ||
|
||
#### Lighting | ||
|
||
Indoor lighting schedule is generated on the fly. | ||
Garage lighting uses the same schedule as indoor lighting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revisit whether this is still true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks, @joseph-robertson! Will merge when the CI comes back green.
Pull Request Description
Addresses #1759 (pv.rb, battery.rb, generator.rb, location.rb).
Also moves default schedule data from
HPXMLtoOpenStudio/resources/schedules.rb
toHPXMLtoOpenStudio/resources/data/default_schedules.csv
. Thehpxml_defaults.rb
file then parses (once) this data file for defaulting weekday/weekend fractions and monthly multipliers. The docs also reference this file instead of hardcoding/duplicating weekday/weekend fractions and monthly multipliers (a new helper script is created for facilitating this).Also moves schedules from
BuildResidentialScheduleFile/resources/constants.rb
toBuildResidentialScheduleFile/resources/schedules.csv
. Theschedules.rb
file then parses (once) this data file for using fractions and monthly multipliers. TheREADME.md
file is updated with the information contained inschedules_config.md
.Checklist
Not all may apply:
Schematron validator (EPvalidator.xml
) has been updatedSample files have been added/updated (openstudio tasks.rb update_hpxmls
)HPXMLtoOpenStudio/tests/test*.rb
and/orworkflow/tests/test*.rb
)openstudio tasks.rb update_measures
has been run