Skip to content
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

Appendix g dev debug unmet load hour issues #1428

Merged
merged 7 commits into from
Mar 10, 2023

Conversation

weilixu
Copy link
Collaborator

@weilixu weilixu commented Mar 8, 2023

Bug fixes including

  1. Add increment values that breaks the unmet load hour break loop
  2. Add statement to close SQL sessions before running a new simulation in the same folder (issues under Window OS)
  3. Add error handler when simulation failed in the unmet load hour loop.
  4. Add schedule type check for optimal start EMS code

@weilixu weilixu added the AppendixG Methods to enable the Appendix G model workflow label Mar 8, 2023
@weilixu weilixu self-assigned this Mar 8, 2023
@weilixu weilixu changed the base branch from AppendixG_Dev to master March 8, 2023 00:17
@mdahlhausen
Copy link
Collaborator

@weilixu @lymereJ 8 is a lot of adjustments; that's a lot of time a user will be at their PC while the measure is looping through sizing runs. I have a commit drafted to set it to three instead. Is that ok?

@lymereJ
Copy link
Collaborator

lymereJ commented Mar 9, 2023

@weilixu @lymereJ 8 is a lot of adjustments; that's a lot of time a user will be at their PC while the measure is looping through sizing runs. I have a commit drafted to set it to three instead. Is that ok?

@dmaddoxwhite, is that okay?

@weilixu
Copy link
Collaborator Author

weilixu commented Mar 9, 2023

s; that's a lot of time a user will be at their PC while the measure is looping through sizing runs. I have a commit drafted to set it to three instead. Is that ok?

I am ok with it, I wonder if we should bump up the multiplier to account for the reduced iterations.

@lymereJ
Copy link
Collaborator

lymereJ commented Mar 9, 2023

The multipliers are from the PRM-RM. So we probably would want to specify that we changed the approach if that's what we want to do.

@dmaddoxwhite
Copy link
Collaborator

How about adding an argument to the method to set the maximum number of sizing factor adjustment runs? If we limit to three, without an override, a user might get a model that fails due to unmet hours with no way to fix it.

@mdahlhausen
Copy link
Collaborator

@dmaddoxwhite in my experience, equipment size is rarely if ever the source of unmet hours. If one iteration doesn't fix it, eight iterations won't either. The issue is more likely to do with schedule alignment (e.g. 5% occupancy when the HVAC system is turned off), design conditions (extremes in the annual weather file very different from design conditions), or some weird VAV sizing issue. For many of these, even an HVAC systems with 10x the capacity isn't going to solve them.

Users will generate models that have baselines that fail the UMLH test. I'd rather they fail faster (3 iterations) than wait for 8 and wonder why it still didn't work. Alternatively, we can add some QAQC checks to point out basic issues (like 5% occupancy in zones when the HVAC system is off). I've already got methods in standards to check for those sorts of things.

Copy link
Collaborator

@mdahlhausen mdahlhausen left a comment

Choose a reason for hiding this comment

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

looks fine; made some minor cleanup fixes and changed number of adjustments to 3. It may be worth adding some checking in here to pick out the cause of unmet hours, rather than just increasing sizing factors. The PRM RM includes some direction beyond sizing, but IMO it's not very specific or actionable.

@mdahlhausen
Copy link
Collaborator

@weilixu @lymereJ @dmaddoxwhite good to merge. Up to you if you want to edit the # of adjustments further or make that a user argument. It's also fine as is.

@weilixu
Copy link
Collaborator Author

weilixu commented Mar 10, 2023

@weilixu @lymereJ @dmaddoxwhite good to merge. Up to you if you want to edit the # of adjustments further or make that a user argument. It's also fine as is.

Thanks @mdahlhausen, we will update the number of iteration.
We also need to disable an optimal control in the PRM method. Will make a push shortly.

weilixu added 3 commits March 9, 2023 19:57
Remove the optmum start control from PRM method
…github.com/NREL/openstudio-standards into appendixG_dev_debug_unmet_load_hour_issues

# Conflicts:
#	lib/openstudio-standards/standards/Standards.Model.rb
@mdahlhausen mdahlhausen merged commit 807bd6b into master Mar 10, 2023
@mdahlhausen mdahlhausen deleted the appendixG_dev_debug_unmet_load_hour_issues branch March 10, 2023 17:23
@weilixu weilixu mentioned this pull request Sep 22, 2023
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AppendixG Methods to enable the Appendix G model workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants