Skip to content

Commit

Permalink
Update BUS funding cap (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlotte-avery authored Oct 24, 2024
1 parent 66c2107 commit 3bbd76d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions simulation/costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def estimate_boiler_upgrade_scheme_grant(
return 0

model_population_scale = ENGLAND_WALES_HOUSEHOLD_COUNT_2020 / model.household_count
boiler_upgrade_funding_cap_gbp = 450_000_000 / model_population_scale
boiler_upgrade_funding_cap_gbp = 237_500_000 / model_population_scale
if (
model.boiler_upgrade_scheme_cumulative_spend_gbp
>= boiler_upgrade_funding_cap_gbp
Expand Down Expand Up @@ -345,7 +345,7 @@ def estimate_extended_boiler_upgrade_scheme_grant(
return 0

model_population_scale = ENGLAND_WALES_HOUSEHOLD_COUNT_2020 / model.household_count
boiler_upgrade_funding_cap_gbp = 1_650_000_000 / model_population_scale
boiler_upgrade_funding_cap_gbp = 5_400_000_000 / model_population_scale
if (
model.boiler_upgrade_scheme_cumulative_spend_gbp
>= boiler_upgrade_funding_cap_gbp
Expand Down
4 changes: 2 additions & 2 deletions simulation/tests/test_costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def test_boiler_upgrade_scheme_grant_is_zero_when_grant_cap_exceeded(
model_population_scale = (
ENGLAND_WALES_HOUSEHOLD_COUNT_2020 / model.household_count
)
boiler_upgrade_scheme_budget_scaled = 450_000_000 / model_population_scale
boiler_upgrade_scheme_budget_scaled = 237_500_000 / model_population_scale

model.boiler_upgrade_scheme_cumulative_spend_gbp = (
boiler_upgrade_scheme_budget_scaled * 0.8
Expand Down Expand Up @@ -338,7 +338,7 @@ def test_extended_boiler_upgrade_scheme_grant_is_zero_when_grant_cap_exceeded(
model_population_scale = (
ENGLAND_WALES_HOUSEHOLD_COUNT_2020 / model.household_count
)
boiler_upgrade_scheme_budget_scaled = 1_650_000_000 / model_population_scale
boiler_upgrade_scheme_budget_scaled = 5_400_000_000 / model_population_scale

model.boiler_upgrade_scheme_cumulative_spend_gbp = (
boiler_upgrade_scheme_budget_scaled * 0.8
Expand Down

0 comments on commit 3bbd76d

Please sign in to comment.