Skip to content

Commit

Permalink
Reorder downselect args
Browse files Browse the repository at this point in the history
  • Loading branch information
ejhw committed Feb 9, 2021
1 parent 9fa36be commit c671702
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion buildstockbatch/test/test_inputs/complete-schema.yml
Expand Up @@ -7,8 +7,8 @@ sampler:
type: residential_quota_downselect
args:
n_datapoints: 30
resample: False
logic: HVAC System Heating Natural Gas|Gas Furnace, 60% AFUE
resample: False
workflow_generator:
type: residential_default
args:
Expand Down
Expand Up @@ -8,6 +8,6 @@ baseline:
- residential_constructions_basement
sampling_algorithm: quota
downselect:
resample: False
logic: Vintage|2000s
resample: False
schema_version: 0.2
Expand Up @@ -9,6 +9,6 @@ baseline:
- ResidentialConstructionsUnfinishedBasement
- ResidentialConstructionsFinishedBasement
downselect:
resample: False
logic: Vintage|2000s
resample: False
schema_version: 0.2
Expand Up @@ -35,6 +35,6 @@ upgrades:
- Insulation Unfinished Basement|Extra Argument
package_apply_logic: Vintage|1960s||Vintage|1940s&&Vintage|1980s
downselect:
resample: False
logic: Invalid Parameter|2000s
resample: False
schema_version: 0.2
Expand Up @@ -21,6 +21,6 @@ upgrades:
- Insulation Unfinished Basement|Extra Argument
package_apply_logic: Vintage|1960s||Vintage|1940s
downselect:
resample: False
logic: Vintage|2000s
resample: False
schema_version: 0.2
Expand Up @@ -21,6 +21,6 @@ upgrades:
- Insulation Unfinished Basement|Extra Argument
package_apply_logic: Vintage|1960s||Vintage|1940s
downselect:
resample: False
logic: Vintage|2000s
resample: False
schema_version: 0.2
4 changes: 2 additions & 2 deletions docs/changelog/migration_0_20.rst
Expand Up @@ -88,10 +88,10 @@ Old Spec:
sampling_algorithm: quota
n_datapoints: 350000
downselect:
resample: false
logic:
- Geometry Building Type RECS|Single-Family Detached
- Vacancy Status|Occupied
resample: false
New Spec:

Expand All @@ -102,10 +102,10 @@ New Spec:
type: residential_quota_downselect
args:
n_datapoints: 350000
resample: false
logic:
- Geometry Building Type RECS|Single-Family Detached
- Vacancy Status|Occupied
resample: false
Precomputed Sampling
~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion docs/samplers/residential_quota_downselect.rst
Expand Up @@ -29,10 +29,10 @@ Configuration Example
type: residential_quota_downselect
args:
n_datapoints: 350000
resample: false
logic:
- Geometry Building Type RECS|Single-Family Detached
- Vacancy Status|Occupied
resample: false
Arguments
~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion project_resstock_national.yml
Expand Up @@ -9,10 +9,10 @@ sampler:
type: residential_quota_downselect
args:
n_datapoints: 350000
resample: false
logic:
- Geometry Building Type RECS|Single-Family Detached
- Vacancy Status|Occupied
resample: false

workflow_generator:
type: residential_default
Expand Down

0 comments on commit c671702

Please sign in to comment.