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

Added UO-ResStock connection variable to the site properties schema #270

Merged
merged 7 commits into from
Jun 25, 2024

Conversation

rawadelkontar
Copy link
Contributor

Resolves #[issue number here]

Pull Request Description

Added UO restock connection inputs to the site schema

@coveralls
Copy link

coveralls commented Feb 11, 2024

Pull Request Test Coverage Report for Build 7859262784

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 87.31%

Totals Coverage Status
Change from base Build 7470718795: 0.0%
Covered Lines: 805
Relevant Lines: 922

💛 - Coveralls

@@ -283,6 +283,18 @@
"ev_curtailment_frac": {
"description": "Fraction between 0 and 1 that denotes curtailment of EV charging load to better align EV charging with expected energy production from a solar PV system",
"type": "number"
},
"characterize_residential_buildings_from_buildstock_csv":{
Copy link
Contributor

Choose a reason for hiding this comment

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

Why can't the existence of a populated resstock_buildstock_csv_path field serve as the boolean here?

@@ -283,6 +283,18 @@
"ev_curtailment_frac": {
"description": "Fraction between 0 and 1 that denotes curtailment of EV charging load to better align EV charging with expected energy production from a solar PV system",
"type": "number"
},
"characterize_residential_buildings_from_buildstock_csv":{
"description" : "Enable UO and ResStock connection to characterize residential buildings by matching them (and their properties) with building from the BuildStock CSV.",
Copy link
Contributor

Choose a reason for hiding this comment

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

For other residential -related field descriptions, we use "Optional for residential buildings" or "Required for residential buildings". For consistency, should we do something similar here?

"description" : "Enable UO and ResStock connection to characterize residential buildings by matching them (and their properties) with building from the BuildStock CSV.",
"type": "boolean"
},
"resstock_buildstock_csv_path":{
Copy link
Contributor

Choose a reason for hiding this comment

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

I can't remember if we removed conditional requirements from the schema and replaced them with logic in the mapper, but do we somehow want to handle that? For example, if characterize_residential_buildings_from_buildstock_csv is true, then resstock_buildstock_csv_path must be populated.

@kflemin kflemin merged commit 220c594 into develop Jun 25, 2024
@kflemin kflemin deleted the uo-resstock_connection branch June 25, 2024 19:25
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.

4 participants