-
Notifications
You must be signed in to change notification settings - Fork 174
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
NYS Clean Heat Program for CH&E, NGRID, NYSEG, O&R, RG&E customers #4693
base: master
Are you sure you want to change the base?
Conversation
policyengine_us/parameters/gov/states/ny/nysdps/clean_heat/contractor_reward.yaml
Outdated
Show resolved
Hide resolved
policyengine_us/parameters/gov/states/ny/nysdps/clean_heat/contractor_reward.yaml
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ny/nysdps/heat_pump_category.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ny/nysdps/heat_pump_category.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ny/nysdps/heat_pump_category.py
Outdated
Show resolved
Hide resolved
...ine_us/parameters/gov/states/ny/nysdps/clean_heat/incentives_structure_heating_capacity.yaml
Outdated
Show resolved
Hide resolved
…s variables with ConEd
… mngh037/issue4645
policyengine_us/parameters/gov/states/ny/nysdps/clean_heat/cap.yaml
Outdated
Show resolved
Hide resolved
policyengine_us/parameters/gov/states/ny/nysdps/clean_heat/cap.yaml
Outdated
Show resolved
Hide resolved
policyengine_us/parameters/gov/states/ny/nysdps/clean_heat/contractor_reward.yaml
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ny/nysdps/clean_heat_project_cost.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ny/nysdps/clean_heat_others_incentives.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ny/nysdps/clean_heat_others_incentives.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ny/nysdps/clean_heat_others_incentives.py
Outdated
Show resolved
Hide resolved
...housing/expenditures/energy_efficient_property/geothermal_heat_pump_property_expenditures.py
Outdated
Show resolved
Hide resolved
...housing/expenditures/energy_efficient_property/geothermal_heat_pump_property_expenditures.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ny/nysdps/utility_provider.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/ny/nysdps/utility_provider.py
Outdated
Show resolved
Hide resolved
...housing/expenditures/energy_efficient_property/geothermal_heat_pump_property_expenditures.py
Outdated
Show resolved
Hide resolved
from policyengine_us.model_api import * | ||
|
||
|
||
class UtilityProvider(Enum): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class UtilityProvider(Enum): | |
class NyCleanHeatUtilityProvider(Enum): |
class ny_clean_heat_project_cost(Variable): | ||
value_type = float | ||
entity = Household | ||
label = "Qualified heat pump installation project cost" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
label = "Qualified heat pump installation project cost" | |
label = "Qualified heat pump installation project cost for the new york clean heat program" |
qualified_incentive = select( | ||
[ | ||
category != category.possible_values.C3, | ||
category == category.possible_values.C3, | ||
], | ||
[uncapped_incentive - contractor_reward, gshp_g3_incentive], | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we just make this a where statement:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
qualified_incentive = select( | |
[ | |
category != category.possible_values.C3, | |
category == category.possible_values.C3, | |
], | |
[uncapped_incentive - contractor_reward, gshp_g3_incentive], | |
) | |
c3_category = category == category.possible_values.C3 | |
reduced_uncapped_incentive = uncapped_incentive - contractor_reward | |
qualified_incentive = where(c3_category, gshp_g3_incentive, reduced_uncapped_incentive) |
Fixes #4645