From 165b77b4f2447dec284ef6aaeef52b4ad07ea689 Mon Sep 17 00:00:00 2001 From: Ziming Date: Mon, 16 Nov 2026 18:02:44 -0500 Subject: [PATCH 1/6] Add shared electricity and natural gas provider inputs --- .../liheap-utility-provider-inputs.added.md | 1 + .../expense/utilities/electricity_provider.py | 39 +++++++++++++++++++ .../expense/utilities/natural_gas_provider.py | 37 ++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 changelog.d/liheap-utility-provider-inputs.added.md create mode 100644 policyengine_us/variables/household/expense/utilities/electricity_provider.py create mode 100644 policyengine_us/variables/household/expense/utilities/natural_gas_provider.py diff --git a/changelog.d/liheap-utility-provider-inputs.added.md b/changelog.d/liheap-utility-provider-inputs.added.md new file mode 100644 index 00000000000..5ef51d5f975 --- /dev/null +++ b/changelog.d/liheap-utility-provider-inputs.added.md @@ -0,0 +1 @@ +Add shared electricity and natural gas provider inputs for utility-dependent benefit rules. diff --git a/policyengine_us/variables/household/expense/utilities/electricity_provider.py b/policyengine_us/variables/household/expense/utilities/electricity_provider.py new file mode 100644 index 00000000000..3df6b1ee529 --- /dev/null +++ b/policyengine_us/variables/household/expense/utilities/electricity_provider.py @@ -0,0 +1,39 @@ +from policyengine_us.model_api import * + + +class ElectricityProvider(Enum): + UNSPECIFIED = "Unspecified" + AMEREN_ILLINOIS = "Ameren Illinois" + AVISTA = "Avista" + BLOCK_ISLAND_UTILITY_DISTRICT = "Block Island Utility District" + CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT = ( + "Clear River Electric and Water District (formerly Pascoag)" + ) + COMED = "ComEd" + IDAHO_POWER = "Idaho Power" + RHODE_ISLAND_ENERGY = "Rhode Island Energy (Narragansett Electric)" + ROCKY_MOUNTAIN_POWER = "Rocky Mountain Power" + OTHER = "Other electricity provider" + + +class electricity_provider(Variable): + value_type = Enum + possible_values = ElectricityProvider + default_value = ElectricityProvider.UNSPECIFIED + entity = SPMUnit + definition_period = YEAR + label = "Electricity utility provider" + documentation = ( + "Company providing the home's electric distribution service, as named on " + "the utility bill. Report the distribution utility even when a separate " + "retailer supplies the energy. UNSPECIFIED means the company was not " + "reported; OTHER means a reported company outside the listed choices. " + "The choices initially cover named utilities needed for Idaho, Illinois " + "and Rhode Island heating assistance and can be extended for other " + "programs. This input does not imply program enrollment or bill receipt." + ) + reference = ( + "https://liheapch.acf.gov/docs/2026/benefits-matricies/ID_BenefitMatrix_Heating_2026.pdf#page=1", + "https://dceo.illinois.gov/communityservices/utilitybillassistance/howtoapply.html", + "https://webserver.rilegislature.gov/Statutes/TITLE39/39-1/39-1-27.12.htm", + ) diff --git a/policyengine_us/variables/household/expense/utilities/natural_gas_provider.py b/policyengine_us/variables/household/expense/utilities/natural_gas_provider.py new file mode 100644 index 00000000000..348a15a3d34 --- /dev/null +++ b/policyengine_us/variables/household/expense/utilities/natural_gas_provider.py @@ -0,0 +1,37 @@ +from policyengine_us.model_api import * + + +class NaturalGasProvider(Enum): + UNSPECIFIED = "Unspecified" + AMEREN_ILLINOIS = "Ameren Illinois" + AVISTA = "Avista" + INTERMOUNTAIN_GAS = "Intermountain Gas" + NICOR_GAS = "Nicor Gas" + NORTH_SHORE_GAS = "North Shore Gas" + PEOPLES_GAS = "Peoples Gas" + RHODE_ISLAND_ENERGY = "Rhode Island Energy (Narragansett Electric)" + OTHER = "Other natural gas provider" + + +class natural_gas_provider(Variable): + value_type = Enum + possible_values = NaturalGasProvider + default_value = NaturalGasProvider.UNSPECIFIED + entity = SPMUnit + definition_period = YEAR + label = "Natural gas utility provider" + documentation = ( + "Company providing the home's natural gas distribution service, as named " + "on the utility bill. Report the distribution utility even when a " + "separate retailer supplies the gas. UNSPECIFIED means the company was " + "not reported; OTHER means a reported company outside the listed choices. " + "The choices initially cover named utilities needed for Idaho, Illinois " + "and Rhode Island heating assistance and can be extended for other " + "programs. Electricity and gas companies are reported independently. " + "This input does not imply program enrollment or bill receipt." + ) + reference = ( + "https://liheapch.acf.gov/docs/2026/benefits-matricies/ID_BenefitMatrix_Heating_2026.pdf#page=1", + "https://dceo.illinois.gov/communityservices/utilitybillassistance/howtoapply.html", + "https://webserver.rilegislature.gov/Statutes/TITLE39/39-1/39-1-27.12.htm", + ) From beb030fa20dcb528b125a2ddc1f8611d5301b307 Mon Sep 17 00:00:00 2001 From: Ziming Date: Mon, 16 Nov 2026 18:07:06 -0500 Subject: [PATCH 2/6] Apply Rhode Island LIHEAP enhancement provider exclusions --- .../ri-liheap-utility-providers.fixed.md | 1 + .../liheap/payment/utility_enhancement.yaml | 4 +-- .../payment/ri_liheap_base_payment.yaml | 33 +++++++++++++++++++ .../liheap/payment/ri_liheap_base_payment.py | 31 ++++++++++------- 4 files changed, 56 insertions(+), 13 deletions(-) create mode 100644 changelog.d/ri-liheap-utility-providers.fixed.md diff --git a/changelog.d/ri-liheap-utility-providers.fixed.md b/changelog.d/ri-liheap-utility-providers.fixed.md new file mode 100644 index 00000000000..88d13046b07 --- /dev/null +++ b/changelog.d/ri-liheap-utility-providers.fixed.md @@ -0,0 +1 @@ +Exclude Block Island and Clear River electric accounts from Rhode Island's LIHEAP utility enhancement while preserving their federal heating grants. diff --git a/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml b/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml index d94224949f7..eacb76dc925 100644 --- a/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml +++ b/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml @@ -3,8 +3,8 @@ description: Rhode Island provides this enhancement with a primary heating grant # as an unverified estimate. DHS's FFY2027 filing (Docket 26-34-GE, October 2, # 2026, page 2) gives one additional credit to accounts receiving a 2027 primary # benefit but leaves the amount to DHS, so $350 in FY2027 is an unverified estimate. -# It is not part of the federal fuel matrix or a crisis/cooling grant. Provider and -# actual federal-grant account routing are input limits. +# Block Island and Clear River electric accounts are excluded in the formula. +# Actual federal-grant account routing remains assumed from the payment route. values: 2025-10-01: 350 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml index c3c58a8125a..6c12597d185 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml @@ -176,3 +176,36 @@ is_in_public_housing: [false, true, false] output: ri_liheap_base_payment: [0, 0, 400] + +# R.I. Gen. Laws 39-1-27.12(f) excludes Block Island and Pascoag (now Clear +# River) from the enhancement. The FY2026 federal electric row A remains $393. +- name: Case 20, excluded electric providers retain the federal primary grant. + period: 2026 + input: + state_code: [RI, RI, RI, RI] + heating_type: [ELECTRICITY, ELECTRICITY, ELECTRICITY, ELECTRICITY] + electricity_provider: [RHODE_ISLAND_ENERGY, BLOCK_ISLAND_UTILITY_DISTRICT, + CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT, UNSPECIFIED] + ri_liheap_household_size: [1, 1, 1, 1] + ri_liheap_income_band: [1, 1, 1, 1] + pre_subsidy_electricity_expense: [1_000, 1_000, 1_000, 1_000] + output: + ri_liheap_base_payment: [743, 393, 393, 743] + +# The excluded electric company matters when a HIR grant reaches its account, +# including a gas-heated building. It does not remove a gas-account enhancement. +- name: Case 21, enhancement follows the account receiving the regular grant. + period: 2026 + input: + state_code: [RI, RI, RI, RI] + heating_type: [NATURAL_GAS, NATURAL_GAS, NATURAL_GAS, FUEL_OIL] + electricity_provider: [BLOCK_ISLAND_UTILITY_DISTRICT, BLOCK_ISLAND_UTILITY_DISTRICT, + RHODE_ISLAND_ENERGY, CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT] + natural_gas_provider: [RHODE_ISLAND_ENERGY, UNSPECIFIED, UNSPECIFIED, UNSPECIFIED] + heat_expense_included_in_rent: [false, true, true, true] + gas_expense: [1_000, 0, 0, 0] + pre_subsidy_electricity_expense: [1_000, 1_000, 1_000, 1_000] + ri_liheap_household_size: [1, 1, 1, 1] + ri_liheap_income_band: [1, 1, 1, 1] + output: + ri_liheap_base_payment: [582, 80, 430, 80] diff --git a/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py b/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py index 68a73a8f38d..fcad16e5fcc 100644 --- a/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py +++ b/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py @@ -14,8 +14,10 @@ class ri_liheap_base_payment(Variable): "electric bill selects the secondary-electric route; otherwise the " "row G grant for the household's fuel column is paid directly. Row G's " "Electric cell is blank, so electric heat gets none, and coal, solar " - "and unspecified fuels read the Other cell. Utility-provider and " - "account ownership requirements are assumed satisfied. Final " + "and unspecified fuels read the Other cell. Block Island and Clear " + "River electric accounts receive no enhancement. An unspecified " + "provider retains the qualifying-account assumption. Account ownership " + "and actual federal-grant routing are assumed satisfied. Final " "eligibility is separate." ) defined_for = StateCode.RI @@ -94,15 +96,22 @@ def formula(spm_unit, period, parameters): amount = where(heat_in_rent, heat_in_rent_payment, amount) utility_fuel = (fuel == fuels.NATURAL_GAS) | (fuel == fuels.ELECTRICITY) utility_grant = where(heat_in_rent, separate_electric_bill, utility_fuel) - # Existing inputs do not identify the utility provider or the account - # receiving the federal grant. For this ordinary primary component, - # assume a qualifying distribution-company account and grant receipt, - # including the first regular grant to a secondary electric account. - # Block Island Utility District and Clear River Electric and Water - # District (formerly Pascoag) are excluded by law, but state/county - # alone cannot identify every account. No enhancement goes to - # deliverable fuels, unpriced fuels, or a direct $400 HIR payment. - enhancement = where(utility_grant & (amount > 0), p.utility_enhancement, 0) + electric_provider = spm_unit("electricity_provider", period) + providers = electric_provider.possible_values + excluded_electric_provider = ( + electric_provider == providers.BLOCK_ISLAND_UTILITY_DISTRICT + ) | (electric_provider == providers.CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT) + # Heat-in-rent grants with a separate electric bill reach that account, + # even when the building uses gas. Other gas/electric accounts retain + # the existing grant-receipt assumption; a company choice alone does + # not establish account ownership or actual credit routing. + electric_grant = heat_in_rent | (fuel == fuels.ELECTRICITY) + qualifying_provider = ~(electric_grant & excluded_electric_provider) + enhancement = where( + utility_grant & qualifying_provider & (amount > 0), + p.utility_enhancement, + 0, + ) # The regular grant has no actual-expense cap. Earlier backfilled # results are unverified estimates, not a policy start date. size = spm_unit("ri_liheap_household_size", period) From 61236076423b28d3f018026a1c4351f92ab9b8c2 Mon Sep 17 00:00:00 2001 From: Ziming Date: Tue, 17 Nov 2026 10:44:31 -0500 Subject: [PATCH 3/6] Use sourced 400 dollar Rhode Island FY2027 LIHEAP enhancement --- .../ri-liheap-utility-providers.fixed.md | 2 +- .../liheap/payment/utility_enhancement.yaml | 12 +++---- policyengine_us/programs.yaml | 2 +- .../payment/ri_liheap_base_payment.yaml | 35 +++++++++++++++++++ 4 files changed, 43 insertions(+), 8 deletions(-) diff --git a/changelog.d/ri-liheap-utility-providers.fixed.md b/changelog.d/ri-liheap-utility-providers.fixed.md index 88d13046b07..c5f09bec8bf 100644 --- a/changelog.d/ri-liheap-utility-providers.fixed.md +++ b/changelog.d/ri-liheap-utility-providers.fixed.md @@ -1 +1 @@ -Exclude Block Island and Clear River electric accounts from Rhode Island's LIHEAP utility enhancement while preserving their federal heating grants. +Apply Rhode Island LIHEAP enhancement provider exclusions and the $400 FY2027 enhancement. diff --git a/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml b/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml index eacb76dc925..c31570b2261 100644 --- a/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml +++ b/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml @@ -1,12 +1,12 @@ description: Rhode Island provides this enhancement with a primary heating grant credited to a gas or electric distribution-company account under the Low Income Home Energy Assistance Program. -# This amount is sourced for the FY2026 heating season; earlier periods backfill it -# as an unverified estimate. DHS's FFY2027 filing (Docket 26-34-GE, October 2, -# 2026, page 2) gives one additional credit to accounts receiving a 2027 primary -# benefit but leaves the amount to DHS, so $350 in FY2027 is an unverified estimate. +# DHS sets the enhancement separately for each heating season. Its October 28, +# 2026 response to DIV 1-1 establishes the FY2027 amount. Earlier periods +# backfill the FY2026 amount as an unverified estimate. # Block Island and Clear River electric accounts are excluded in the formula. # Actual federal-grant account routing remains assumed from the payment route. values: 2025-10-01: 350 + 2026-10-01: 400 metadata: unit: currency-USD @@ -17,5 +17,5 @@ metadata: href: https://ripuc.ri.gov/sites/g/files/xkgbur841/files/2025-10/25-38-GE%20-%20LIHEAP%20Enhancement%20-%20DPUC%20Data%20Requests%20Set%201%20%2810-9-25%29%20DHS%20Response.pdf#page=1 - title: "PUC Order 25579, January 8, 2026 #page 1,3" href: https://ripuc.ri.gov/sites/g/files/xkgbur841/files/2026-01/RI%20DHS%2025-38-GE_Ord25579%20-%201-8-26.pdf#page=1 - - title: DHS FFY2027 LIHEAP Enhancement Charge filing, PUC Docket 26-34-GE, October 2, 2026 (2027 credit amount not yet set) - href: https://ripuc.ri.gov/sites/g/files/xkgbur841/files/2026-10/26-34-GE%20LIHEAP%20Enhancement%20Charge%20-%20FFY%202027%20Filing%20%2810-2-2026%29.pdf#page=2 + - title: DHS response to DIV 1-1, filed October 28, 2026, FY2027 enhancement + href: https://ripuc.ri.gov/sites/g/files/xkgbur841/files/2026-10/26-34-GE%20-%20LIHEAP%20Enhancement%20-%20DPUC%20Data%20Requests%20Set%201%20%2810-14-26%29_DHS%20Response%20102826.pdf#page=1 diff --git a/policyengine_us/programs.yaml b/policyengine_us/programs.yaml index da7852c528b..4654b1d0ff1 100644 --- a/policyengine_us/programs.yaml +++ b/policyengine_us/programs.yaml @@ -1175,7 +1175,7 @@ programs: variable: ri_liheap parameter_prefix: gov.states.ri.dhs.liheap verified_years: "2026" - notes: FY2026 regular heating, including heat-in-rent grants and the $350 utility enhancement, assuming a qualifying utility account. Earlier years and FY2027 payments reuse FY2026 amounts as unverified estimates; Rhode Island plans no regular cooling payment in FY2026 or FY2027, and crisis and weatherization are out of scope. + notes: FY2026 regular heating, including heat-in-rent grants and the $350 utility enhancement. Block Island and Clear River electric accounts are excluded from the enhancement; omitted providers retain a qualifying-account assumption. The FY2027 enhancement is sourced at $400, while FY2027 federal base grants and earlier-year payments remain unverified estimates. Rhode Island plans no regular cooling payment in FY2026 or FY2027, and crisis and weatherization are out of scope. - state: DC status: complete name: DC LIHEAP diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml index 6c12597d185..e741b4702af 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml @@ -209,3 +209,38 @@ ri_liheap_income_band: [1, 1, 1, 1] output: ri_liheap_base_payment: [582, 80, 430, 80] + +# DHS Docket 26-34-GE, DIV 1-1 response filed October 28, 2026 sets the +# FY2027 enhancement at $400. Federal base grants retain the FY2026 proxy. +- name: FY2027 enhancement increases while excluded electric providers retain their federal grant. + period: 2027 + input: + state_code: [RI, RI, RI, RI, RI] + heating_type: [ELECTRICITY, ELECTRICITY, ELECTRICITY, NATURAL_GAS, FUEL_OIL] + electricity_provider: [RHODE_ISLAND_ENERGY, BLOCK_ISLAND_UTILITY_DISTRICT, + CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT, RHODE_ISLAND_ENERGY, RHODE_ISLAND_ENERGY] + natural_gas_provider: [UNSPECIFIED, UNSPECIFIED, UNSPECIFIED, RHODE_ISLAND_ENERGY, UNSPECIFIED] + ri_liheap_household_size: [1, 1, 1, 1, 1] + ri_liheap_income_band: [1, 1, 1, 1, 1] + pre_subsidy_electricity_expense: [1_000, 1_000, 1_000, 0, 0] + gas_expense: [0, 0, 0, 1_000, 0] + fuel_oil_expense: [0, 0, 0, 0, 1_000] + output: + ri_liheap_base_payment: [793, 393, 393, 632, 861] + +# A heat-in-rent grant reaching an electric account receives one enhancement. +- name: FY2027 heat-in-rent enhancement follows the selected electric company. + period: 2027 + input: + state_code: [RI, RI, RI, RI, RI] + heating_type: [NATURAL_GAS, NATURAL_GAS, NATURAL_GAS, FUEL_OIL, FUEL_OIL] + electricity_provider: [RHODE_ISLAND_ENERGY, RHODE_ISLAND_ENERGY, + CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT, BLOCK_ISLAND_UTILITY_DISTRICT, + RHODE_ISLAND_ENERGY] + heat_expense_included_in_rent: [true, true, true, true, true] + receives_housing_assistance: [false, true, false, true, false] + pre_subsidy_electricity_expense: [1_000, 1_000, 1_000, 1_000, 0] + ri_liheap_household_size: [1, 1, 1, 1, 1] + ri_liheap_income_band: [1, 1, 1, 1, 1] + output: + ri_liheap_base_payment: [480, 450, 80, 50, 400] From 71880c2e4e885bb697776eb016b2f321ac251cb6 Mon Sep 17 00:00:00 2001 From: Ziming Date: Fri, 20 Nov 2026 15:12:54 -0500 Subject: [PATCH 4/6] Use a Rhode Island electricity provider input for the LIHEAP enhancement Replace the shared electricity and natural gas provider inputs with ri_liheap_electricity_provider, an enum in the Rhode Island LIHEAP folder that lists the state's three electric distribution companies. The enhancement exclusion for Block Island and Clear River accounts reads it. Co-Authored-By: Claude Fable 5.2 --- .../liheap-utility-provider-inputs.added.md | 1 - .../payment/ri_liheap_base_payment.yaml | 10 ++--- .../liheap/payment/ri_liheap_base_payment.py | 2 +- .../liheap/ri_liheap_electricity_provider.py | 32 +++++++++++++++ .../expense/utilities/electricity_provider.py | 39 ------------------- .../expense/utilities/natural_gas_provider.py | 37 ------------------ 6 files changed, 37 insertions(+), 84 deletions(-) delete mode 100644 changelog.d/liheap-utility-provider-inputs.added.md create mode 100644 policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py delete mode 100644 policyengine_us/variables/household/expense/utilities/electricity_provider.py delete mode 100644 policyengine_us/variables/household/expense/utilities/natural_gas_provider.py diff --git a/changelog.d/liheap-utility-provider-inputs.added.md b/changelog.d/liheap-utility-provider-inputs.added.md deleted file mode 100644 index 5ef51d5f975..00000000000 --- a/changelog.d/liheap-utility-provider-inputs.added.md +++ /dev/null @@ -1 +0,0 @@ -Add shared electricity and natural gas provider inputs for utility-dependent benefit rules. diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml index e741b4702af..e0f68171d63 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml @@ -184,7 +184,7 @@ input: state_code: [RI, RI, RI, RI] heating_type: [ELECTRICITY, ELECTRICITY, ELECTRICITY, ELECTRICITY] - electricity_provider: [RHODE_ISLAND_ENERGY, BLOCK_ISLAND_UTILITY_DISTRICT, + ri_liheap_electricity_provider: [RHODE_ISLAND_ENERGY, BLOCK_ISLAND_UTILITY_DISTRICT, CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT, UNSPECIFIED] ri_liheap_household_size: [1, 1, 1, 1] ri_liheap_income_band: [1, 1, 1, 1] @@ -199,9 +199,8 @@ input: state_code: [RI, RI, RI, RI] heating_type: [NATURAL_GAS, NATURAL_GAS, NATURAL_GAS, FUEL_OIL] - electricity_provider: [BLOCK_ISLAND_UTILITY_DISTRICT, BLOCK_ISLAND_UTILITY_DISTRICT, + ri_liheap_electricity_provider: [BLOCK_ISLAND_UTILITY_DISTRICT, BLOCK_ISLAND_UTILITY_DISTRICT, RHODE_ISLAND_ENERGY, CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT] - natural_gas_provider: [RHODE_ISLAND_ENERGY, UNSPECIFIED, UNSPECIFIED, UNSPECIFIED] heat_expense_included_in_rent: [false, true, true, true] gas_expense: [1_000, 0, 0, 0] pre_subsidy_electricity_expense: [1_000, 1_000, 1_000, 1_000] @@ -217,9 +216,8 @@ input: state_code: [RI, RI, RI, RI, RI] heating_type: [ELECTRICITY, ELECTRICITY, ELECTRICITY, NATURAL_GAS, FUEL_OIL] - electricity_provider: [RHODE_ISLAND_ENERGY, BLOCK_ISLAND_UTILITY_DISTRICT, + ri_liheap_electricity_provider: [RHODE_ISLAND_ENERGY, BLOCK_ISLAND_UTILITY_DISTRICT, CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT, RHODE_ISLAND_ENERGY, RHODE_ISLAND_ENERGY] - natural_gas_provider: [UNSPECIFIED, UNSPECIFIED, UNSPECIFIED, RHODE_ISLAND_ENERGY, UNSPECIFIED] ri_liheap_household_size: [1, 1, 1, 1, 1] ri_liheap_income_band: [1, 1, 1, 1, 1] pre_subsidy_electricity_expense: [1_000, 1_000, 1_000, 0, 0] @@ -234,7 +232,7 @@ input: state_code: [RI, RI, RI, RI, RI] heating_type: [NATURAL_GAS, NATURAL_GAS, NATURAL_GAS, FUEL_OIL, FUEL_OIL] - electricity_provider: [RHODE_ISLAND_ENERGY, RHODE_ISLAND_ENERGY, + ri_liheap_electricity_provider: [RHODE_ISLAND_ENERGY, RHODE_ISLAND_ENERGY, CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT, BLOCK_ISLAND_UTILITY_DISTRICT, RHODE_ISLAND_ENERGY] heat_expense_included_in_rent: [true, true, true, true, true] diff --git a/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py b/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py index fcad16e5fcc..dc416e4ccf3 100644 --- a/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py +++ b/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py @@ -96,7 +96,7 @@ def formula(spm_unit, period, parameters): amount = where(heat_in_rent, heat_in_rent_payment, amount) utility_fuel = (fuel == fuels.NATURAL_GAS) | (fuel == fuels.ELECTRICITY) utility_grant = where(heat_in_rent, separate_electric_bill, utility_fuel) - electric_provider = spm_unit("electricity_provider", period) + electric_provider = spm_unit("ri_liheap_electricity_provider", period) providers = electric_provider.possible_values excluded_electric_provider = ( electric_provider == providers.BLOCK_ISLAND_UTILITY_DISTRICT diff --git a/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py b/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py new file mode 100644 index 00000000000..8416a60e511 --- /dev/null +++ b/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py @@ -0,0 +1,32 @@ +from policyengine_us.model_api import * + + +class RILIHEAPElectricityProvider(Enum): + RHODE_ISLAND_ENERGY = "Rhode Island Energy (Narragansett Electric)" + BLOCK_ISLAND_UTILITY_DISTRICT = "Block Island Utility District" + CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT = ( + "Clear River Electric and Water District (formerly Pascoag)" + ) + UNSPECIFIED = "Unspecified" + + +class ri_liheap_electricity_provider(Variable): + value_type = Enum + entity = SPMUnit + possible_values = RILIHEAPElectricityProvider + default_value = RILIHEAPElectricityProvider.UNSPECIFIED + definition_period = YEAR + label = "Rhode Island LIHEAP electricity provider" + documentation = ( + "Company providing the home's electric distribution service, as named " + "on the electric bill. Rhode Island pays no LIHEAP enhancement on " + "Block Island Utility District or Clear River Electric and Water " + "District accounts. UNSPECIFIED (the default) means the company was " + "not reported and is treated as a qualifying account. This input does " + "not imply account ownership or receipt of a grant." + ) + defined_for = StateCode.RI + reference = ( + "https://webserver.rilegislature.gov/Statutes/TITLE39/39-1/39-1-27.12.htm", + "https://ripuc.ri.gov/utility-information/regulated-utilities", + ) diff --git a/policyengine_us/variables/household/expense/utilities/electricity_provider.py b/policyengine_us/variables/household/expense/utilities/electricity_provider.py deleted file mode 100644 index 3df6b1ee529..00000000000 --- a/policyengine_us/variables/household/expense/utilities/electricity_provider.py +++ /dev/null @@ -1,39 +0,0 @@ -from policyengine_us.model_api import * - - -class ElectricityProvider(Enum): - UNSPECIFIED = "Unspecified" - AMEREN_ILLINOIS = "Ameren Illinois" - AVISTA = "Avista" - BLOCK_ISLAND_UTILITY_DISTRICT = "Block Island Utility District" - CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT = ( - "Clear River Electric and Water District (formerly Pascoag)" - ) - COMED = "ComEd" - IDAHO_POWER = "Idaho Power" - RHODE_ISLAND_ENERGY = "Rhode Island Energy (Narragansett Electric)" - ROCKY_MOUNTAIN_POWER = "Rocky Mountain Power" - OTHER = "Other electricity provider" - - -class electricity_provider(Variable): - value_type = Enum - possible_values = ElectricityProvider - default_value = ElectricityProvider.UNSPECIFIED - entity = SPMUnit - definition_period = YEAR - label = "Electricity utility provider" - documentation = ( - "Company providing the home's electric distribution service, as named on " - "the utility bill. Report the distribution utility even when a separate " - "retailer supplies the energy. UNSPECIFIED means the company was not " - "reported; OTHER means a reported company outside the listed choices. " - "The choices initially cover named utilities needed for Idaho, Illinois " - "and Rhode Island heating assistance and can be extended for other " - "programs. This input does not imply program enrollment or bill receipt." - ) - reference = ( - "https://liheapch.acf.gov/docs/2026/benefits-matricies/ID_BenefitMatrix_Heating_2026.pdf#page=1", - "https://dceo.illinois.gov/communityservices/utilitybillassistance/howtoapply.html", - "https://webserver.rilegislature.gov/Statutes/TITLE39/39-1/39-1-27.12.htm", - ) diff --git a/policyengine_us/variables/household/expense/utilities/natural_gas_provider.py b/policyengine_us/variables/household/expense/utilities/natural_gas_provider.py deleted file mode 100644 index 348a15a3d34..00000000000 --- a/policyengine_us/variables/household/expense/utilities/natural_gas_provider.py +++ /dev/null @@ -1,37 +0,0 @@ -from policyengine_us.model_api import * - - -class NaturalGasProvider(Enum): - UNSPECIFIED = "Unspecified" - AMEREN_ILLINOIS = "Ameren Illinois" - AVISTA = "Avista" - INTERMOUNTAIN_GAS = "Intermountain Gas" - NICOR_GAS = "Nicor Gas" - NORTH_SHORE_GAS = "North Shore Gas" - PEOPLES_GAS = "Peoples Gas" - RHODE_ISLAND_ENERGY = "Rhode Island Energy (Narragansett Electric)" - OTHER = "Other natural gas provider" - - -class natural_gas_provider(Variable): - value_type = Enum - possible_values = NaturalGasProvider - default_value = NaturalGasProvider.UNSPECIFIED - entity = SPMUnit - definition_period = YEAR - label = "Natural gas utility provider" - documentation = ( - "Company providing the home's natural gas distribution service, as named " - "on the utility bill. Report the distribution utility even when a " - "separate retailer supplies the gas. UNSPECIFIED means the company was " - "not reported; OTHER means a reported company outside the listed choices. " - "The choices initially cover named utilities needed for Idaho, Illinois " - "and Rhode Island heating assistance and can be extended for other " - "programs. Electricity and gas companies are reported independently. " - "This input does not imply program enrollment or bill receipt." - ) - reference = ( - "https://liheapch.acf.gov/docs/2026/benefits-matricies/ID_BenefitMatrix_Heating_2026.pdf#page=1", - "https://dceo.illinois.gov/communityservices/utilitybillassistance/howtoapply.html", - "https://webserver.rilegislature.gov/Statutes/TITLE39/39-1/39-1-27.12.htm", - ) From 6f4aa931c5b8ac220e8b7f89c6dcdc3da638eb49 Mon Sep 17 00:00:00 2001 From: Ziming Date: Fri, 20 Nov 2026 15:26:38 -0500 Subject: [PATCH 5/6] Move provider input notes from documentation fields to comments Co-Authored-By: Claude Fable 5.2 --- .../ri/dhs/liheap/ri_liheap_electricity_provider.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py b/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py index 8416a60e511..49ce7845268 100644 --- a/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py +++ b/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py @@ -2,11 +2,14 @@ class RILIHEAPElectricityProvider(Enum): + # The electric distribution company named on the bill. Block Island and + # Clear River accounts receive no LIHEAP enhancement. RHODE_ISLAND_ENERGY = "Rhode Island Energy (Narragansett Electric)" BLOCK_ISLAND_UTILITY_DISTRICT = "Block Island Utility District" CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT = ( "Clear River Electric and Water District (formerly Pascoag)" ) + # The company was not reported. It is treated as a qualifying account. UNSPECIFIED = "Unspecified" @@ -17,14 +20,6 @@ class ri_liheap_electricity_provider(Variable): default_value = RILIHEAPElectricityProvider.UNSPECIFIED definition_period = YEAR label = "Rhode Island LIHEAP electricity provider" - documentation = ( - "Company providing the home's electric distribution service, as named " - "on the electric bill. Rhode Island pays no LIHEAP enhancement on " - "Block Island Utility District or Clear River Electric and Water " - "District accounts. UNSPECIFIED (the default) means the company was " - "not reported and is treated as a qualifying account. This input does " - "not imply account ownership or receipt of a grant." - ) defined_for = StateCode.RI reference = ( "https://webserver.rilegislature.gov/Statutes/TITLE39/39-1/39-1-27.12.htm", From 6ccb386e9266bfd7f68381b98371f4c7f760034d Mon Sep 17 00:00:00 2001 From: Ziming Date: Sat, 21 Nov 2026 19:21:38 -0500 Subject: [PATCH 6/6] Narrow the Rhode Island LIHEAP provider change to the enhancement exclusion - Keep main's utility enhancement values, references and registry note; change only the sentence and clause that describe the Block Island and Clear River electric exclusion. - Remove the `documentation` attribute from ri_liheap_base_payment and keep its still-true notes as formula comments; simplify the electric-grant route. - Cite the Division's November 12, 2026 position memo (Docket 26-34-GE) on ri_liheap_electricity_provider. - Tests: number the base-payment cases 12-14, drop a duplicate FY2027 case, use Clear River for the gas-heat row and fuel oil on Block Island, and add ri_liheap Case 18 for the final benefit on a Clear River account. - Changelog fragment is now `added`. Co-Authored-By: Claude Fable 5.2 --- .../ri-liheap-utility-providers.added.md | 1 + .../ri-liheap-utility-providers.fixed.md | 1 - .../liheap/payment/utility_enhancement.yaml | 6 +- policyengine_us/programs.yaml | 2 +- .../payment/ri_liheap_base_payment.yaml | 80 +++++++++---------- .../gov/states/ri/dhs/liheap/ri_liheap.yaml | 30 +++++++ .../liheap/payment/ri_liheap_base_payment.py | 29 +++---- .../liheap/ri_liheap_electricity_provider.py | 3 + 8 files changed, 86 insertions(+), 66 deletions(-) create mode 100644 changelog.d/ri-liheap-utility-providers.added.md delete mode 100644 changelog.d/ri-liheap-utility-providers.fixed.md diff --git a/changelog.d/ri-liheap-utility-providers.added.md b/changelog.d/ri-liheap-utility-providers.added.md new file mode 100644 index 00000000000..60e8ca59f16 --- /dev/null +++ b/changelog.d/ri-liheap-utility-providers.added.md @@ -0,0 +1 @@ +Add a Rhode Island LIHEAP electricity provider input (`ri_liheap_electricity_provider`) and exclude Block Island and Clear River electric accounts from the utility enhancement. diff --git a/changelog.d/ri-liheap-utility-providers.fixed.md b/changelog.d/ri-liheap-utility-providers.fixed.md deleted file mode 100644 index c5f09bec8bf..00000000000 --- a/changelog.d/ri-liheap-utility-providers.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Apply Rhode Island LIHEAP enhancement provider exclusions and the $400 FY2027 enhancement. diff --git a/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml b/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml index 045abf367cd..5df863ff19b 100644 --- a/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml +++ b/policyengine_us/parameters/gov/states/ri/dhs/liheap/payment/utility_enhancement.yaml @@ -4,8 +4,10 @@ description: Rhode Island provides this enhancement with a primary heating grant # filing (Docket 26-34-GE, October 2, 2026, page 2) gives one additional credit to # accounts receiving a 2027 primary benefit, and DHS's response to the Division's # data request 1-1 (issued October 14, 2026) sets it at $400. It is not part of -# the federal fuel matrix or a crisis/cooling grant. Provider and actual -# federal-grant account routing are input limits. +# the federal fuel matrix or a crisis/cooling grant. The formula excludes Block +# Island Utility District and Clear River Electric and Water District electric +# accounts (R.I. Gen. Laws 39-1-27.12(f)); which account receives the federal +# grant stays an assumption. values: 2025-10-01: 350 2026-10-01: 400 diff --git a/policyengine_us/programs.yaml b/policyengine_us/programs.yaml index ba98a5cf846..a27c9527ff1 100644 --- a/policyengine_us/programs.yaml +++ b/policyengine_us/programs.yaml @@ -1177,7 +1177,7 @@ programs: variable: ri_liheap parameter_prefix: gov.states.ri.dhs.liheap verified_years: "2026" - notes: FY2026 regular heating, including heat-in-rent grants and the utility enhancement ($350; $400 in FY2027), assuming a qualifying utility account. Earlier years and FY2027 grants reuse FY2026 amounts as unverified estimates; Rhode Island plans no regular cooling payment in FY2026 or FY2027, and crisis and weatherization are out of scope. + notes: FY2026 regular heating, including heat-in-rent grants and the utility enhancement ($350; $400 in FY2027), which Block Island and Clear River electric accounts do not receive. Earlier years and FY2027 grants reuse FY2026 amounts as unverified estimates; Rhode Island plans no regular cooling payment in FY2026 or FY2027, and crisis and weatherization are out of scope. - state: DC status: complete name: DC LIHEAP diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml index ea8175233c8..dd025bcfb58 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.yaml @@ -200,9 +200,11 @@ ri_liheap_base_payment: [861, 632, 793] # R.I. Gen. Laws 39-1-27.12(f) excludes Block Island and Pascoag (now Clear -# River) from the enhancement. The FY2026 federal electric row A remains $393. -- name: Case 20, excluded electric providers retain the federal primary grant. +# River) from the enhancement. FY2026 electric row A is 393: Rhode Island Energy and +# an unspecified company add 350 = 743; Block Island and Clear River stay at 393. +- name: Case 12, excluded electric providers retain the federal primary grant. period: 2026 + absolute_error_margin: 0.01 input: state_code: [RI, RI, RI, RI] heating_type: [ELECTRICITY, ELECTRICITY, ELECTRICITY, ELECTRICITY] @@ -214,53 +216,43 @@ output: ri_liheap_base_payment: [743, 393, 393, 743] -# The excluded electric company matters when a HIR grant reaches its account, -# including a gas-heated building. It does not remove a gas-account enhancement. -- name: Case 21, enhancement follows the account receiving the regular grant. +# The enhancement follows the account receiving the regular grant. Gas heat on the +# household's own gas account keeps it whatever the electric company (Clear River): +# 232 + 350 = 582. Heat in rent with a separate electric bill sends row H (80) to the +# electric account whatever the building's fuel: a Block Island account gets 80 alone, +# a Rhode Island Energy account 80 + 350 = 430. +- name: Case 13, enhancement follows the account receiving the regular grant. period: 2026 + absolute_error_margin: 0.01 input: - state_code: [RI, RI, RI, RI] - heating_type: [NATURAL_GAS, NATURAL_GAS, NATURAL_GAS, FUEL_OIL] - ri_liheap_electricity_provider: [BLOCK_ISLAND_UTILITY_DISTRICT, BLOCK_ISLAND_UTILITY_DISTRICT, - RHODE_ISLAND_ENERGY, CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT] - heat_expense_included_in_rent: [false, true, true, true] - gas_expense: [1_000, 0, 0, 0] - pre_subsidy_electricity_expense: [1_000, 1_000, 1_000, 1_000] - ri_liheap_household_size: [1, 1, 1, 1] - ri_liheap_income_band: [1, 1, 1, 1] - output: - ri_liheap_base_payment: [582, 80, 430, 80] - -# DHS Docket 26-34-GE, DIV 1-1 response filed October 28, 2026 sets the -# FY2027 enhancement at $400. Federal base grants retain the FY2026 proxy. -- name: FY2027 enhancement increases while excluded electric providers retain their federal grant. - period: 2027 - input: - state_code: [RI, RI, RI, RI, RI] - heating_type: [ELECTRICITY, ELECTRICITY, ELECTRICITY, NATURAL_GAS, FUEL_OIL] - ri_liheap_electricity_provider: [RHODE_ISLAND_ENERGY, BLOCK_ISLAND_UTILITY_DISTRICT, - CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT, RHODE_ISLAND_ENERGY, RHODE_ISLAND_ENERGY] - ri_liheap_household_size: [1, 1, 1, 1, 1] - ri_liheap_income_band: [1, 1, 1, 1, 1] - pre_subsidy_electricity_expense: [1_000, 1_000, 1_000, 0, 0] - gas_expense: [0, 0, 0, 1_000, 0] - fuel_oil_expense: [0, 0, 0, 0, 1_000] + state_code: [RI, RI, RI] + heating_type: [NATURAL_GAS, FUEL_OIL, NATURAL_GAS] + ri_liheap_electricity_provider: [CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT, + BLOCK_ISLAND_UTILITY_DISTRICT, RHODE_ISLAND_ENERGY] + heat_expense_included_in_rent: [false, true, true] + gas_expense: [1_000, 0, 0] + pre_subsidy_electricity_expense: [1_000, 1_000, 1_000] + ri_liheap_household_size: [1, 1, 1] + ri_liheap_income_band: [1, 1, 1] output: - ri_liheap_base_payment: [793, 393, 393, 632, 861] + ri_liheap_base_payment: [582, 80, 430] -# A heat-in-rent grant reaching an electric account receives one enhancement. -- name: FY2027 heat-in-rent enhancement follows the selected electric company. +# Period 2027 reads the FFY2027 enhancement of 400 (Case 11); rows H and I carry the +# FY2026 chart forward as an unverified estimate. Heat in rent with a separate electric +# bill on a Rhode Island Energy account: row H 80 + 400 = 480 unsubsidized, row I 50 + +# 400 = 450 subsidized. A subsidized household on a Block Island account gets 50 alone. +- name: Case 14, FY2027 heat-in-rent enhancement follows the selected electric company. period: 2027 + absolute_error_margin: 0.01 input: - state_code: [RI, RI, RI, RI, RI] - heating_type: [NATURAL_GAS, NATURAL_GAS, NATURAL_GAS, FUEL_OIL, FUEL_OIL] + state_code: [RI, RI, RI] + heating_type: [NATURAL_GAS, NATURAL_GAS, FUEL_OIL] ri_liheap_electricity_provider: [RHODE_ISLAND_ENERGY, RHODE_ISLAND_ENERGY, - CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT, BLOCK_ISLAND_UTILITY_DISTRICT, - RHODE_ISLAND_ENERGY] - heat_expense_included_in_rent: [true, true, true, true, true] - receives_housing_assistance: [false, true, false, true, false] - pre_subsidy_electricity_expense: [1_000, 1_000, 1_000, 1_000, 0] - ri_liheap_household_size: [1, 1, 1, 1, 1] - ri_liheap_income_band: [1, 1, 1, 1, 1] + BLOCK_ISLAND_UTILITY_DISTRICT] + heat_expense_included_in_rent: [true, true, true] + receives_housing_assistance: [false, true, true] + pre_subsidy_electricity_expense: [1_000, 1_000, 1_000] + ri_liheap_household_size: [1, 1, 1] + ri_liheap_income_band: [1, 1, 1] output: - ri_liheap_base_payment: [480, 450, 80, 50, 400] + ri_liheap_base_payment: [480, 450, 50] diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/ri_liheap.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/ri_liheap.yaml index 46f7cef637f..1772a9f63d6 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/ri_liheap.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/dhs/liheap/ri_liheap.yaml @@ -470,3 +470,33 @@ ri_liheap_income_limit: 55_252 ri_liheap_eligible: false ri_liheap: 0 + +# Case 1's electric-heat household with a Clear River Electric and Water District account +# (formerly Pascoag Utility District). Income 10,000 <= 42,252 (size 1) and <= 11,738 +# (75% of the 2025 guideline 15,650) is band 1: electric row A 393. R.I. Gen. Laws +# 39-1-27.12(f) leaves that company out of the enhancement, so 393 and not 393 + 350. +- name: Case 18, electric heat on a Clear River electric account receives the federal grant without the enhancement. + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: [RI] + age: [40] + immigration_status: [CITIZEN] + employment_income: [10_000] + ssi: [0] + tanf: [0] + childcare_expenses: [0] + child_care_subsidies: [0] + heating_type: [ELECTRICITY] + ri_liheap_electricity_provider: [CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT] + gas_expense: [0] + pre_subsidy_electricity_expense: [1_200] + fuel_oil_expense: [0] + heat_expense_included_in_rent: [false] + receives_housing_assistance: [false] + is_in_public_housing: [false] + output: + ri_liheap_income: [10_000] + ri_liheap_income_band: [1] + ri_liheap_base_payment: [393] + ri_liheap: [393] diff --git a/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py b/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py index dc416e4ccf3..ede325de6b5 100644 --- a/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py +++ b/policyengine_us/variables/gov/states/ri/dhs/liheap/payment/ri_liheap_base_payment.py @@ -7,19 +7,6 @@ class ri_liheap_base_payment(Variable): definition_period = YEAR unit = USD label = "Rhode Island LIHEAP primary heating payment with utility enhancement" - documentation = ( - "Ordinary primary heating payment, including the federal matrix grant " - "and the state enhancement when the grant reaches a qualifying gas " - "or electric utility account. For heat in rent, a reported separate " - "electric bill selects the secondary-electric route; otherwise the " - "row G grant for the household's fuel column is paid directly. Row G's " - "Electric cell is blank, so electric heat gets none, and coal, solar " - "and unspecified fuels read the Other cell. Block Island and Clear " - "River electric accounts receive no enhancement. An unspecified " - "provider retains the qualifying-account assumption. Account ownership " - "and actual federal-grant routing are assumed satisfied. Final " - "eligibility is separate." - ) defined_for = StateCode.RI reference = ( "https://liheapch.acf.gov/docs/2026/benefits-matricies/RI_BenefitMatrix_2026.pdf", @@ -94,6 +81,8 @@ def formula(spm_unit, period, parameters): separate_electric_bill, secondary_electric_payment, direct_payment ) amount = where(heat_in_rent, heat_in_rent_payment, amount) + # The state enhancement is added when the federal grant reaches a gas or + # electric utility account. utility_fuel = (fuel == fuels.NATURAL_GAS) | (fuel == fuels.ELECTRICITY) utility_grant = where(heat_in_rent, separate_electric_bill, utility_fuel) electric_provider = spm_unit("ri_liheap_electricity_provider", period) @@ -101,11 +90,14 @@ def formula(spm_unit, period, parameters): excluded_electric_provider = ( electric_provider == providers.BLOCK_ISLAND_UTILITY_DISTRICT ) | (electric_provider == providers.CLEAR_RIVER_ELECTRIC_AND_WATER_DISTRICT) - # Heat-in-rent grants with a separate electric bill reach that account, - # even when the building uses gas. Other gas/electric accounts retain - # the existing grant-receipt assumption; a company choice alone does - # not establish account ownership or actual credit routing. - electric_grant = heat_in_rent | (fuel == fuels.ELECTRICITY) + # Block Island and Clear River electric accounts receive no enhancement + # (R.I. Gen. Laws 39-1-27.12(f)); an unspecified provider is treated as + # a qualifying account. Heat-in-rent grants with a separate electric + # bill reach that account, even when the building uses gas. Account + # ownership and actual federal-grant routing are assumed satisfied. + electric_grant = where( + heat_in_rent, separate_electric_bill, fuel == fuels.ELECTRICITY + ) qualifying_provider = ~(electric_grant & excluded_electric_provider) enhancement = where( utility_grant & qualifying_provider & (amount > 0), @@ -115,4 +107,5 @@ def formula(spm_unit, period, parameters): # The regular grant has no actual-expense cap. Earlier backfilled # results are unverified estimates, not a policy start date. size = spm_unit("ri_liheap_household_size", period) + # Final eligibility is applied in ri_liheap, not here. return where((size > 0) & (fuel != fuels.NONE), amount + enhancement, 0) diff --git a/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py b/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py index 49ce7845268..3e989db3b2c 100644 --- a/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py +++ b/policyengine_us/variables/gov/states/ri/dhs/liheap/ri_liheap_electricity_provider.py @@ -24,4 +24,7 @@ class ri_liheap_electricity_provider(Variable): reference = ( "https://webserver.rilegislature.gov/Statutes/TITLE39/39-1/39-1-27.12.htm", "https://ripuc.ri.gov/utility-information/regulated-utilities", + # Division position memo, November 12, 2026: grants go only to + # Rhode Island Energy customers. + "https://ripuc.ri.gov/sites/g/files/xkgbur841/files/2026-11/26-34-GE%20LIHEAP%20Enhancement%20-%20DPUC%20Position%20Memo%20%2811-12-26%29.pdf#page=1", )