Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update Other, TV, and Ceiling Fan stochastic schedules#1634

Merged
shorowit merged 22 commits into
masterfrom
tv-schedules
Mar 15, 2024
Merged

Update Other, TV, and Ceiling Fan stochastic schedules#1634
shorowit merged 22 commits into
masterfrom
tv-schedules

Conversation

@joseph-robertson

@joseph-robertson joseph-robertson commented Feb 28, 2024

Copy link
Copy Markdown
Collaborator

Pull Request Description

Update the stochastic schedule generator to:

  • generate TV schedules that follow the ATUS TV schedule fractions (distinct weekday/weekend) and multipliers (and not Other schedule fractions and multipliers).
  • generate Other schedules that follow the new Other schedule fractions (still uses non-constant 2010 BAHSP monthly multipliers).
  • generate Ceiling Fan schedules that follow the new Ceiling Fan schedule fractions (also update multipliers to not follow Other multipliers, but rather Ceiling Fan multipliers that are a function of weather)

Checklist

PR Author: Check these when they're done. Not all may apply. strikethrough and check any that do not apply.

PR Reviewer: Verify each has been completed.

  • Schematron validator (EPvalidator.xml) has been updated
  • Sample files have been added/updated (openstudio tasks.rb update_hpxmls)
  • Tests have been added/updated (e.g., HPXMLtoOpenStudio/tests/test*.rb and/or workflow/tests/test*.rb)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • No unexpected changes to simulation results of sample files

@joseph-robertson joseph-robertson self-assigned this Feb 28, 2024
Comment on lines +141 to +143
plugload_other_weekday_sch = Schedule.validate_values(Constants.PlugLoadsOtherWeekdayFractions, 24, 'weekday')
plugload_other_weekend_sch = Schedule.validate_values(Constants.PlugLoadsOtherWeekendFractions, 24, 'weekend')
plugload_other_monthly_multiplier = Schedule.validate_values(Constants.PlugLoadsOtherMonthlyMultipliers, 12, 'monthly')

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we update these to follow Table C.3(1) of ANSI/RESNET/ICC 301-2022 Addendum C?

@joseph-robertson joseph-robertson Mar 5, 2024

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CI comparison artifacts show how little difference we're talking here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CI only really shows annual results; this makes a huge change to the timeseries results. Are you sure you want to do this?

Before:
image

After:
image

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, for Other and TV we're moving to constant monthly multipliers.

Comment on lines +32 to +38
def self.PlugLoadsTVWeekdayFractions
return '0.014, 0.007, 0.004, 0.003, 0.004, 0.006, 0.010, 0.015, 0.020, 0.025, 0.028, 0.031, 0.033, 0.038, 0.042, 0.046, 0.054, 0.062, 0.080, 0.110, 0.132, 0.125, 0.077, 0.034'
end

def self.PlugLoadsTVWeekendFractions
return '0.014, 0.007, 0.004, 0.003, 0.004, 0.006, 0.010, 0.015, 0.020, 0.025, 0.028, 0.031, 0.033, 0.038, 0.042, 0.046, 0.054, 0.062, 0.080, 0.110, 0.132, 0.125, 0.077, 0.034'
end

@joseph-robertson joseph-robertson Feb 28, 2024

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we adopt the separate/distinct "ATUS TVs weekday" and "ATUS TV weekend" schedule fractions from which these "average" schedule fractions were derived?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like most other categories have the same schedule fractions between weekday and weekend.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a question for @rajeee or @afontani.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shorowit : I could have sworn we had weekday/weekend schedules broken out at one point. Maybe I am getting confused with the stochastic schedule generator. There are significant schedule differences between weekday and weekends for TVs (and other schedules). I would like the schedules broken out by weekday and weekend. To me, it seems relevant to better capture reality, but I understand if we stay consistent with ANSI/RESNET/ICC 301.

Comment thread Changelog.md Outdated
@joseph-robertson joseph-robertson marked this pull request as ready for review February 29, 2024 16:23
@shorowit shorowit added the enhancement New feature or request label Feb 29, 2024
@joseph-robertson joseph-robertson changed the title Split out Other and TV stochastic schedules Update Other, TV, and Ceiling Fan stochastic schedules Mar 6, 2024
Comment thread BuildResidentialHPXML/measure.xml Outdated

@shorowit shorowit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look reasonable to me.

@joseph-robertson

joseph-robertson commented Mar 14, 2024

Copy link
Copy Markdown
Collaborator Author

https://github.com/NREL/OpenStudio-HPXML/pull/1572/files#diff-60c54474073e3f5a477f95c4bec1d509031f46c05ed506a7ae8d99a87022c102

Checklist:

  • Change stochastic schedule generator Other inputs to monthly multipliers in the above
  • Change stochastic schedule generator TV inputs to schedule fractions and monthly multipliers in the above
  • Adopt ANSI/RESNET/ICC 301-2019 ceiling fan updates (including monthly multipliers based on weather)

@joseph-robertson

joseph-robertson commented Mar 15, 2024

Copy link
Copy Markdown
Collaborator Author

New comparisons after making recent changes.

Before:
image
image

After:
image
image

Comment thread Changelog.md Outdated
@shorowit shorowit merged commit 9864d4c into master Mar 15, 2024
@shorowit shorowit deleted the tv-schedules branch March 15, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants