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

Hot fix: Fuel loads profile input #471

Merged
merged 2 commits into from
Jun 29, 2023
Merged

Hot fix: Fuel loads profile input #471

merged 2 commits into from
Jun 29, 2023

Conversation

Bill-Becker
Copy link
Collaborator

See #469.

Fixes validation bug and improves DRY.

Validation bug:
If a user input a SpaceHeatingLoad or DomesticHotWaterLoad input of fuel_loads_mmbtu_per_hour, which should not require a doe_reference_name, the validator was checking for and requiring a doe_reference_name to be there too.

Bill-Becker and others added 2 commits June 23, 2023 22:23
…, if needed

Apply to SpaceHeatingLoad, DomesticHotWaterLoad, and Cooling Load

This not only makes the code more DRY, but it also fixes a bug where the validation was requiring a building even when an hourly load profile was input (not relying on a CRB).
Fuel loads profile input fix
@Bill-Becker Bill-Becker merged commit 02cbc7f into master Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant