-
Notifications
You must be signed in to change notification settings - Fork 336
feat:allocate heat pump capex on heat bus #1748
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
base: master
Are you sure you want to change the base?
Conversation
…pump-capex-on-heat-bus
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.
Pull Request Overview
This PR reallocates heat pump capital expenditure to the heat bus by updating link definitions and revising efficiency and cost calculations for heat pumps.
- Switches low-voltage attachment for heat pumps from electricity to heat bus
- Reorders bus assignments in
add_heat
to reflect heat-centric capex allocation - Updates efficiency formulas and cost parameters, adding dispatch limits (
p_max_pu
,p_min_pu
)
for more information, see https://pre-commit.ci
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
… add_heating_capacities_installed_before_baseyear function
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…ore_baseyear function
…lled_before_baseyear function
for more information, see https://pre-commit.ci
4bc3180
to
39d3a0c
Compare
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
This reverts commit d2a47a0.
…pump-capex-on-heat-bus
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
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.
LGTM - I assume you double-checked that energy balances are plausible on heat versus electricity side? Then, good to go.
/ costs.at[costs_name, "efficiency"], | ||
* ratio, | ||
p_max_pu=0, | ||
p_min_pu=-1 * efficiency / efficiency.clip(lower=0.001), |
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.
p_min_pu=-1 * efficiency / efficiency.clip(lower=0.001), | |
p_min_pu=-1 * efficiency / efficiency.clip(lower=0.001).replace(1000, 0), |
replaces #1714