diff --git a/changelog_entry.yaml b/changelog_entry.yaml index 6c6eb9ce012..e69de29bb2d 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -1,4 +0,0 @@ -- bump: minor - changes: - added: - - State-level variables in taxsim. diff --git a/policyengine_us/parameters/gov/hhs/smi/amount.yaml b/policyengine_us/parameters/gov/hhs/smi/amount.yaml index 6cd104004a4..0da50afd551 100644 --- a/policyengine_us/parameters/gov/hhs/smi/amount.yaml +++ b/policyengine_us/parameters/gov/hhs/smi/amount.yaml @@ -4,210 +4,262 @@ AK: 2021-10-01: 104_070 2022-10-01: 109_805 2023-10-01: 112_227 + 2024-10-01: 121_634 AL: 2021-10-01: 80_762 2022-10-01: 83_791 2023-10-01: 88_407 + 2024-10-01: 95_455 AR: 2021-10-01: 71_485 2022-10-01: 74_456 2023-10-01: 78_985 + 2024-10-01: 86_577 AZ: 2021-10-01: 82_227 2022-10-01: 86_079 2023-10-01: 92_454 + 2024-10-01: 101_783 CA: 2021-10-01: 98_644 2022-10-01: 103_856 2023-10-01: 110_879 + 2024-10-01: 121_926 CO: 2021-10-01: 106_120 2022-10-01: 110_786 2023-10-01: 118_538 + 2024-10-01: 130_104 CT: 2021-10-01: 125_087 2022-10-01: 127_443 2023-10-01: 133_184 + 2024-10-01: 145_853 DC: 2021-10-01: 137_563 2022-10-01: 152_043 2023-10-01: 159_662 + 2024-10-01: 184_525 DE: 2021-10-01: 103_900 2022-10-01: 105_076 2023-10-01: 111_871 + 2024-10-01: 120_963 FL: 2021-10-01: 81_077 2022-10-01: 83_452 2023-10-01: 88_895 + 2024-10-01: 98_038 GA: 2021-10-01: 84_851 2022-10-01: 89_932 2023-10-01: 95_238 + 2024-10-01: 105_893 HI: 2021-10-01: 108_498 2022-10-01: 112_242 2023-10-01: 119_285 + 2024-10-01: 129_108 IA: 2021-10-01: 94_221 2022-10-01: 97_935 2023-10-01: 104_510 + 2024-10-01: 113_549 ID: 2021-10-01: 79_820 2022-10-01: 81_293 2023-10-01: 86_721 + 2024-10-01: 97_325 IL: 2021-10-01: 102_167 2022-10-01: 106_151 2023-10-01: 112_679 + 2024-10-01: 122_136 IN: 2021-10-01: 86_578 2022-10-01: 89_193 2023-10-01: 95_373 + 2024-10-01: 103_324 KS: 2021-10-01: 90_284 2022-10-01: 92_146 2023-10-01: 98_343 + 2024-10-01: 107_363 KY: 2021-10-01: 80_407 2022-10-01: 82_499 2023-10-01: 87_555 + 2024-10-01: 96_305 LA: 2021-10-01: 81_779 2022-10-01: 83_464 2023-10-01: 86_934 + 2024-10-01: 95_801 MA: 2021-10-01: 131_252 2022-10-01: 135_936 2023-10-01: 145_491 + 2024-10-01: 157_680 MD: 2021-10-01: 124_807 2022-10-01: 127_853 2023-10-01: 136_443 + 2024-10-01: 149_249 ME: 2021-10-01: 93_560 2022-10-01: 98_914 2023-10-01: 104_719 + 2024-10-01: 113_259 MI: 2021-10-01: 93_492 2022-10-01: 96_917 2023-10-01: 103_103 + 2024-10-01: 111_699 MN: 2021-10-01: 112_942 2022-10-01: 117_587 2023-10-01: 125_645 + 2024-10-01: 137_690 MO: 2021-10-01: 88_519 2022-10-01: 91_159 2023-10-01: 97_499 + 2024-10-01: 105_825 MS: 2021-10-01: 68_871 2022-10-01: 70_961 2023-10-01: 75_300 + 2024-10-01: 82_331 MT: 2021-10-01: 87_442 2022-10-01: 90_180 2023-10-01: 95_501 + 2024-10-01: 102_893 NC: 2021-10-01: 84_549 2022-10-01: 88_855 2023-10-01: 95_852 + 2024-10-01: 104_937 ND: 2021-10-01: 104_087 2022-10-01: 107_076 2023-10-01: 114_503 + 2024-10-01: 123_092 NE: 2021-10-01: 93_660 2022-10-01: 95_903 2023-10-01: 102_274 + 2024-10-01: 112_961 NH: 2021-10-01: 120_821 2022-10-01: 124_902 2023-10-01: 133_449 + 2024-10-01: 146_582 NJ: 2021-10-01: 128_786 2022-10-01: 133_238 2023-10-01: 141_384 + 2024-10-01: 153_514 NM: 2021-10-01: 67_949 2022-10-01: 71_118 2023-10-01: 76_101 + 2024-10-01: 81_873 NV: 2021-10-01: 82_509 2022-10-01: 85_150 2023-10-01: 89_325 + 2024-10-01: 96_026 NY: 2021-10-01: 104_972 2022-10-01: 109_716 2023-10-01: 116_765 + 2024-10-01: 127_802 OH: 2021-10-01: 91_185 2022-10-01: 93_649 2023-10-01: 100_106 + 2024-10-01: 109_319 OK: 2021-10-01: 76_142 2022-10-01: 78_027 2023-10-01: 83_103 + 2024-10-01: 90_026 OR: 2021-10-01: 94_050 2022-10-01: 100_210 2023-10-01: 107_136 + 2024-10-01: 117_983 PA: 2021-10-01: 100_995 2022-10-01: 104_230 2023-10-01: 111_335 + 2024-10-01: 121_268 PR: 2021-10-01: 32_843 2022-10-01: 33_705 2023-10-01: 35_747 + 2024-10-01: 39_438 RI: 2021-10-01: 107_837 2022-10-01: 109_100 2023-10-01: 114_343 + 2024-10-01: 125_328 SC: 2021-10-01: 80_973 2022-10-01: 83_778 2023-10-01: 89_725 + 2024-10-01: 98_172 SD: 2021-10-01: 88_721 2022-10-01: 91_281 2023-10-01: 96_351 + 2024-10-01: 105_723 TN: 2021-10-01: 80_773 2022-10-01: 84_838 2023-10-01: 90_197 + 2024-10-01: 98_377 TX: 2021-10-01: 85_391 2022-10-01: 88_783 2023-10-01: 94_466 + 2024-10-01: 103_213 UT: 2021-10-01: 90_542 2022-10-01: 93_679 2023-10-01: 100_752 + 2024-10-01: 111_554 VA: 2021-10-01: 108_955 2022-10-01: 114_081 2023-10-01: 121_130 + 2024-10-01: 134_005 VT: 2021-10-01: 99_184 2022-10-01: 101_554 2023-10-01: 110_661 + 2024-10-01: 125_336 WA: 2021-10-01: 107_085 2022-10-01: 112_299 2023-10-01: 120_416 + 2024-10-01: 131_054 WI: 2021-10-01: 99_688 2022-10-01: 102_898 2023-10-01: 108_490 + 2024-10-01: 117_736 WV: 2021-10-01: 77_096 2022-10-01: 78_811 2023-10-01: 84_092 + 2024-10-01: 90_661 WY: 2021-10-01: 95_814 2022-10-01: 98_354 2023-10-01: 104_110 + 2024-10-01: 111_736 metadata: unit: currency-USD @@ -218,5 +270,7 @@ metadata: href: https://www.acf.hhs.gov/sites/default/files/documents/ocs/COMM_LIHEAP_Att1SMITable_FY2023.pdf - title: State Median Income (SMI) by Household Size for Mandatory Use in LIHWAP for FY 2024 href: https://www.acf.hhs.gov/sites/default/files/documents/ocs/COMM_LIHWAP_Att1SMITable_FY2023.pdf + - title: State Median Income (SMI) by Household Size for Optional Use in FFY 2024 and Mandatory Use in LIHEAP for FY 25 + href: https://www.acf.hhs.gov/sites/default/files/documents/ocs/COMM_LIHEAP_IM%202024-02_Att4SMITable_0.pdf#page=2 period: year uprating: calibration.gov.cbo.income_by_source.adjusted_gross_income diff --git a/policyengine_us/parameters/gov/states/or/liheap/income_range.yaml b/policyengine_us/parameters/gov/states/or/liheap/income_range.yaml new file mode 100644 index 00000000000..1f55373cf1e --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/income_range.yaml @@ -0,0 +1,13 @@ +description: Coefficients for range thresholds +metadata: + period: year + unit: int + label: Threshold multipliers + +range1_upper: + 2021-01-01: 0.25 +range2_upper: + 2021-01-01: 0.5 +range3_upper: + 2021-01-01: 0.75 + diff --git a/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml b/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml new file mode 100644 index 00000000000..0777cba407b --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml @@ -0,0 +1,14 @@ +description: Oregon provides assistance for households with adjusted gross income below this percentage of the state median income through the LIHEAP program. +values: + 2021-01-01: 0.6 +metadata: + period: year + unit: /1 + label: Oregon LIHEAP eligibility threshold + reference: + # Legal code points to the program manual + - title: Oregon Administrative Rules, Chapter 813, Division 200 + href: https://oregon.public.law/rules/oar_813-200-0020 + - title: Oregon Department of Housing and Community Services, Utility Bill Payment Assistance Programs + href: https://www.oregon.gov/ohcs/energy-weatherization/pages/utility-bill-payment-assistance.aspx + diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml new file mode 100644 index 00000000000..dc9a358002a --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -0,0 +1,547 @@ +description: Payout from LIHEAP for Region 1 counties in the state of Oregon + +1: + 1: + ELECTRICITY: + 2021-01-01: 410 + 2023-01-01: 450 + 2024-01-01: 380 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + 2024-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 720 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 435 + 2022-01-01: 425 + 2023-01-01: 470 + 2024-01-01: 485 + WOOD_PELLETS: + 2021-01-01: 465 + 2022-01-01: 470 + 2023-01-01: 515 + 2024-01-01: 710 + 2: + ELECTRICITY: + 2021-01-01: 320 + 2023-01-01: 350 + 2024-01-01: 295 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 720 + 2024-01-01: 610 + LIQUID_GAS: + 2021-01-01: 550 + 2022-01-01: 515 + 2023-01-01: 560 + 2024-01-01: 670 + NATURAL_GAS: + 2021-01-01: 340 + 2022-01-01: 330 + 2023-01-01: 365 + 2024-01-01: 380 + WOOD_PELLETS: + 2021-01-01: 360 + 2022-01-01: 365 + 2023-01-01: 400 + 2024-01-01: 550 + 3: + ELECTRICITY: + 2021-01-01: 265 + 2022-01-01: 265 + 2023-01-01: 290 + 2024-01-01: 250 + HEATING_OIL: + 2021-01-01: 560 + 2022-01-01: 550 + 2023-01-01: 600 + 2024-01-01: 510 + LIQUID_GAS: + 2021-01-01: 460 + 2022-01-01: 425 + 2023-01-01: 470 + 2024-01-01: 555 + NATURAL_GAS: + 2021-01-01: 280 + 2022-01-01: 275 + 2023-01-01: 315 + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 350 + 2023-01-01: 350 + 2024-01-01: 460 + 4: + ELECTRICITY: + 2021-01-01: 200 + 2023-01-01: 250 + HEATING_OIL: + 2021-01-01: 405 + 2022-01-01: 395 + 2023-01-01: 510 + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 330 + 2022-01-01: 305 + 2023-01-01: 335 + 2024-01-01: 555 + NATURAL_GAS: + 2021-01-01: 200 + 2022-01-01: 200 + 2023-01-01: 250 + 2024-01-01: 315 + WOOD_PELLETS: + 2021-01-01: 350 + 2022-01-01: 350 + 2023-01-01: 350 + 2024-01-01: 460 + +2: + 1: + ELECTRICITY: + 2021-01-01: 530 + 2023-01-01: 580 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + 2024-01-01: 595 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 560 + 2022-01-01: 550 + 2023-01-01: 605 + 2024-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 665 + 2024-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 410 + 2022-01-01: 415 + 2023-01-01: 455 + 2024-01-01: 465 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + 2024-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 725 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 435 + 2022-01-01: 430 + 2023-01-01: 470 + 2024-01-01: 595 + WOOD_PELLETS: + 2021-01-01: 465 + 2022-01-01: 470 + 2023-01-01: 515 + 2024-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 345 + 2023-01-01: 375 + 2024-01-01: 385 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 590 + 2022-01-01: 550 + 2023-01-01: 605 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 365 + 2022-01-01: 355 + 2023-01-01: 390 + 2024-01-01: 595 + WOOD_PELLETS: + 2021-01-01: 390 + 2023-01-01: 430 + 2024-01-01: 750 + 4: + ELECTRICITY: + 2021-01-01: 245 + 2023-01-01: 270 + 2024-01-01: 275 + HEATING_OIL: + 2021-01-01: 520 + 2022-01-01: 510 + 2023-01-01: 560 + 2024-01-01: 575 + LIQUID_GAS: + 2021-01-01: 425 + 2022-01-01: 395 + 2023-01-01: 435 + 2024-01-01: 630 + NATURAL_GAS: + 2021-01-01: 260 + 2022-01-01: 255 + 2023-01-01: 280 + 2024-01-01: 355 + WOOD_PELLETS: + 2021-01-01: 350 + 2023-01-01: 350 + 2024-01-01: 520 + +3: + 1: + ELECTRICITY: + 2021-01-01: 530 + 2023-01-01: 580 + 2024-01-01: 605 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 560 + 2022-01-01: 550 + 2023-01-01: 605 + 2024-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 665 + 2024-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 410 + 2022-01-01: 415 + 2023-01-01: 455 + 2024-01-01: 470 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 725 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 435 + 2022-01-01: 430 + 2023-01-01: 470 + 2024-01-01: 605 + WOOD_PELLETS: + 2021-01-01: 465 + 2022-01-01: 470 + 2023-01-01: 515 + 2024-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 345 + 2023-01-01: 375 + 2024-01-01: 390 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 590 + 2022-01-01: 550 + 2023-01-01: 605 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 365 + 2022-01-01: 355 + 2023-01-01: 390 + 2024-01-01: 505 + WOOD_PELLETS: + 2021-01-01: 390 + 2023-01-01: 430 + 2024-01-01: 735 + 4: + ELECTRICITY: + 2021-01-01: 245 + 2023-01-01: 270 + 2024-01-01: 280 + HEATING_OIL: + 2021-01-01: 520 + 2022-01-01: 510 + 2023-01-01: 560 + 2024-01-01: 585 + LIQUID_GAS: + 2021-01-01: 425 + 2022-01-01: 395 + 2023-01-01: 435 + 2024-01-01: 640 + NATURAL_GAS: + 2021-01-01: 260 + 2022-01-01: 255 + 2023-01-01: 280 + 2024-01-01: 360 + WOOD_PELLETS: + 2021-01-01: 350 + 2022-01-01: 360 + 2023-01-01: 350 + 2024-01-01: 530 + +4: + 1: + ELECTRICITY: + 2021-01-01: 600 + 2023-01-01: 675 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 705 + 2024-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 480 + 2023-01-01: 525 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 510 + 2022-01-01: 500 + 2023-01-01: 550 + 2024-01-01: 560 + WOOD_PELLETS: + 2021-01-01: 545 + 2022-01-01: 550 + 2023-01-01: 600 + 2024-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 400 + 2023-01-01: 440 + 2024-01-01: 435 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 705 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 425 + 2022-01-01: 415 + 2023-01-01: 455 + 2024-01-01: 560 + WOOD_PELLETS: + 2021-01-01: 450 + 2022-01-01: 455 + 2023-01-01: 500 + 2024-01-01: 750 + 4: + ELECTRICITY: + 2021-01-01: 285 + 2023-01-01: 315 + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 590 + 2023-01-01: 650 + LIQUID_GAS: + 2021-01-01: 495 + 2022-01-01: 460 + 2023-01-01: 505 + 2024-01-01: 715 + NATURAL_GAS: + 2021-01-01: 305 + 2022-01-01: 300 + 2023-01-01: 330 + 2024-01-01: 405 + WOOD_PELLETS: + 2021-01-01: 350 + 2023-01-01: 360 + 2024-01-01: 585 + +5: + 1: + ELECTRICITY: + 2021-01-01: 600 + 2023-01-01: 750 + 2024-01-01: 710 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 535 + 2023-01-01: 585 + 2024-01-01: 550 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 565 + 2022-01-01: 555 + 2023-01-01: 610 + 2024-01-01: 705 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 670 + 2024-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 445 + 2023-01-01: 490 + 2024-01-01: 460 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + 2024-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 470 + 2022-01-01: 465 + 2023-01-01: 510 + 2024-01-01: 590 + WOOD_PELLETS: + 2021-01-01: 505 + 2022-01-01: 510 + 2023-01-01: 560 + 2024-01-01: 750 + 4: + ELECTRICITY: + 2021-01-01: 320 + 2023-01-01: 350 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 725 + 2024-01-01: 685 + LIQUID_GAS: + 2021-01-01: 515 + 2023-01-01: 565 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 340 + 2022-01-01: 335 + 2023-01-01: 365 + 2024-01-01: 425 + WOOD_PELLETS: + 2021-01-01: 360 + 2022-01-01: 365 + 2023-01-01: 400 + 2024-01-01: 615 + +6: + 1: + ELECTRICITY: + 2021-01-01: 600 + 2023-01-01: 750 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 600 + 2023-01-01: 660 + 2024-01-01: 590 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 500 + 2022-01-01: 505 + 2023-01-01: 550 + 2024-01-01: 490 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 530 + 2022-01-01: 525 + 2023-01-01: 575 + 2024-01-01: 630 + WOOD_PELLETS: + 2021-01-01: 570 + 2022-01-01: 575 + 2023-01-01: 630 + 2024-01-01: 750 + 4: + ELECTRICITY: + 2021-01-01: 360 + 2023-01-01: 395 + 2024-01-01: 355 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + 2024-01-01: 735 + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 580 + 2023-01-01: 635 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 380 + 2022-01-01: 375 + 2023-01-01: 410 + 2024-01-01: 455 + WOOD_PELLETS: + 2021-01-01: 410 + 2023-01-01: 450 + 2024-01-01: 660 + +metadata: + period: year + unit: currency-USD + label: Annual LIHEAP Energy Assistance Payments by Unit Size, Income Range, and Utility Type + breakdown: + - spm_unit_size + - income_range + - utility_type + reference: + - title: LIHEAP and OEAP Energy Assistance Intake Operations Manual for Program Year 2021 + href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#page=55" + - title: LIHEAP and OEAP Energy Assistance Intake Operations Manual for Program Year 2022 + href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2022-Energy-Assistance-Manual.pdf#page=56" + - title: LIHEAP and OEAP Energy Assistance Intake Operations Manual for Program Year 2023 + href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2023-EA-Manual-Master-09-28-22.pdf#page=5.2" + - title: LIHEAP and OEAP Energy Assistance Intake Operations Manual for Program Year 2024 + href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/Final-PY2024-Manual-Master-09%2021%202023.pdf#page= 5.2" diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region2.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region2.yaml new file mode 100644 index 00000000000..03f571e2adf --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region2.yaml @@ -0,0 +1,533 @@ +description: Payout from LIHEAP for Region 1 counties in the state of Oregon + +1: + 1: + ELECTRICITY: + 2021-01-01: 445 + 2022-01-01: 450 + 2023-01-01: 490 + 2024-01-01: 415 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 475 + 2022-01-01: 465 + 2023-01-01: 510 + 2024-01-01: 530 + WOOD_PELLETS: + 2021-01-01: 505 + 2022-01-01: 510 + 2023-01-01: 560 + 2024-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 350 + 2023-01-01: 380 + 2024-01-01: 320 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + 2024-01-01: 665 + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 560 + 2023-01-01: 615 + 2024-01-01: 730 + NATURAL_GAS: + 2021-01-01: 370 + 2022-01-01: 365 + 2023-01-01: 400 + 2024-01-01: 410 + WOOD_PELLETS: + 2021-01-01: 395 + 2022-01-01: 400 + 2023-01-01: 435 + 2024-01-01: 600 + 3: + ELECTRICITY: + 2021-01-01: 290 + 2023-01-01: 320 + 2024-01-01: 265 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 655 + 2024-01-01: 555 + LIQUID_GAS: + 2021-01-01: 500 + 2022-01-01: 465 + 2023-01-01: 510 + 2024-01-01: 610 + NATURAL_GAS: + 2021-01-01: 305 + 2022-01-01: 300 + 2023-01-01: 330 + 2024-01-01: 345 + WOOD_PELLETS: + 2021-01-01: 350 + 2023-01-01: 365 + 2024-01-01: 500 + 4: + ELECTRICITY: + 2021-01-01: 210 + 2023-01-01: 250 + HEATING_OIL: + 2021-01-01: 440 + 2022-01-01: 430 + 2023-01-01: 470 + 2024-01-01: 400 + LIQUID_GAS: + 2021-01-01: 360 + 2022-01-01: 335 + 2023-01-01: 365 + 2024-01-01: 435 + NATURAL_GAS: + 2021-01-01: 220 + 2022-01-01: 315 + 2023-01-01: 250 + WOOD_PELLETS: + 2021-01-01: 350 + 2024-01-01: 360 + +2: + 1: + ELECTRICITY: + 2021-01-01: 575 + 2022-01-01: 580 + 2023-01-01: 635 + 2024-01-01: 650 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 515 + 2024-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 565 + 2024-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 450 + 2023-01-01: 495 + 2024-01-01: 505 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 475 + 2022-01-01: 470 + 2023-01-01: 515 + 2024-01-01: 650 + WOOD_PELLETS: + 2021-01-01: 510 + 2022-01-01: 515 + 2023-01-01: 565 + 2024-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 375 + 2023-01-01: 410 + 2024-01-01: 420 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 660 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 395 + 2022-01-01: 390 + 2023-01-01: 430 + 2024-01-01: 540 + WOOD_PELLETS: + 2021-01-01: 425 + 2022-01-01: 430 + 2023-01-01: 470 + 2024-01-01: 750 + 4: + ELECTRICITY: + 2021-01-01: 270 + 2023-01-01: 295 + 2024-01-01: 300 + HEATING_OIL: + 2021-01-01: 570 + 2022-01-01: 555 + 2023-01-01: 610 + 2024-01-01: 625 + LIQUID_GAS: + 2021-01-01: 465 + 2022-01-01: 430 + 2023-01-01: 475 + 2024-01-01: 685 + NATURAL_GAS: + 2021-01-01: 285 + 2022-01-01: 280 + 2023-01-01: 305 + 2024-01-01: 390 + WOOD_PELLETS: + 2021-01-01: 350 + 2024-01-01: 565 + +3: + 1: + ELECTRICITY: + 2021-01-01: 575 + 2022-01-01: 580 + 2023-01-01: 635 + 2024-01-01: 660 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 660 + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 725 + 2024-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 450 + 2023-01-01: 495 + 2024-01-01: 570 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 475 + 2022-01-01: 470 + 2023-01-01: 515 + 2024-01-01: 660 + WOOD_PELLETS: + 2021-01-01: 510 + 2022-01-01: 515 + 2023-01-01: 565 + 2024-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 375 + 2023-01-01: 410 + 2024-01-01: 430 + + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 660 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 395 + 2022-01-01: 390 + 2023-01-01: 430 + 2024-01-01: 550 + WOOD_PELLETS: + 2021-01-01: 425 + 2022-01-01: 430 + 2023-01-01: 470 + 2024-01-01: 750 + 4: + ELECTRICITY: + 2021-01-01: 270 + 2023-01-01: 295 + 2024-01-01: 310 + HEATING_OIL: + 2021-01-01: 570 + 2022-01-01: 555 + 2023-01-01: 610 + 2024-01-01: 640 + LIQUID_GAS: + 2021-01-01: 465 + 2022-01-01: 430 + 2023-01-01: 475 + 2024-01-01: 700 + NATURAL_GAS: + 2021-01-01: 285 + 2022-01-01: 280 + 2023-01-01: 305 + 2024-01-01: 395 + WOOD_PELLETS: + 2021-01-01: 350 + 2024-01-01: 575 + +4: + 1: + ELECTRICITY: + 2021-01-01: 600 + 2023-01-01: 740 + 2024-01-01: 735 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 525 + 2023-01-01: 575 + 2024-01-01: 570 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 555 + 2022-01-01: 545 + 2023-01-01: 600 + 2024-01-01: 735 + WOOD_PELLETS: + 2021-01-01: 590 + 2022-01-01: 600 + 2023-01-01: 655 + 2024-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 435 + 2023-01-01: 480 + 2024-01-01: 475 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 460 + 2022-01-01: 455 + 2023-01-01: 500 + 2024-01-01: 610 + WOOD_PELLETS: + 2021-01-01: 495 + 2022-01-01: 500 + 2023-01-01: 545 + 2024-01-01: 750 + 4: + ELECTRICITY: + 2021-01-01: 315 + 2023-01-01: 354 + 2024-01-01: 340 + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 710 + LIQUID_GAS: + 2021-01-01: 540 + 2022-01-01: 505 + 2023-01-01: 550 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 330 + 2022-01-01: 325 + 2023-01-01: 360 + 2024-01-01: 440 + WOOD_PELLETS: + 2021-01-01: 355 + 2022-01-01: 360 + 2023-01-01: 395 + 2024-01-01: 640 + +5: + 1: + ELECTRICITY: + 2021-01-01: 600 + 2023-01-01: 750 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 585 + 2023-01-01: 640 + 2024-01-01: 600 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 665 + 2024-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 730 + 2024-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 485 + 2023-01-01: 535 + 2024-01-01: 500 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 515 + 2022-01-01: 505 + 2023-01-01: 555 + 2024-01-01: 645 + WOOD_PELLETS: + 2021-01-01: 550 + 2022-01-01: 555 + 2023-01-01: 610 + 2024-01-01: 750 + 4: + ELECTRICITY: + 2021-01-01: 350 + 2023-01-01: 385 + 2024-01-01: 360 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + 2024-01-01: 745 + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 560 + 2023-01-01: 615 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 370 + 2022-01-01: 365 + 2023-01-01: 400 + 2024-01-01: 460 + WOOD_PELLETS: + 2021-01-01: 395 + 2022-01-01: 400 + 2023-01-01: 440 + 2024-01-01: 675 + +6: + 1: + ELECTRICITY: + 2021-01-01: 600 + 2023-01-01: 750 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 750 + 2: + ELECTRICITY: + 2021-01-01: 600 + 2023-01-01: 720 + 2024-01-01: 645 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 750 + 3: + ELECTRICITY: + 2021-01-01: 545 + 2022-01-01: 550 + 2023-01-01: 600 + 2024-01-01: 535 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 750 + NATURAL_GAS: + 2021-01-01: 580 + 2022-01-01: 570 + 2023-01-01: 625 + 2024-01-01: 690 + WOOD_PELLETS: + 2021-01-01: 600 + 2023-01-01: 685 + 2024-01-01: 750 + 4: + ELECTRICITY: + 2021-01-01: 395 + 2023-01-01: 430 + 2024-01-01: 385 + HEATING_OIL: + 2021-01-01: 600 + 2023-01-01: 750 + LIQUID_GAS: + 2021-01-01: 600 + 2023-01-01: 690 + 2024-01-01: 750 + NATURAL_GAS: + 2021-01-01: 415 + 2022-01-01: 410 + 2023-01-01: 450 + 2024-01-01: 495 + WOOD_PELLETS: + 2021-01-01: 445 + 2022-01-01: 450 + 2023-01-01: 495 + 2024-01-01: 720 + +metadata: + period: year + unit: currency-USD + label: Annual LIHEAP Energy Assistance Payments by Unit Size, Income Range, and Utility Type + breakdown: + - spm_unit_size + - income_range + - utility_type + reference: + - title: LIHEAP and OEAP Energy Assistance Intake Operations Manual for Program Year 2021 + href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#page=55" + - title: LIHEAP and OEAP Energy Assistance Intake Operations Manual for Program Year 2022 + href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2022-Energy-Assistance-Manual.pdf#page=56" + - title: LIHEAP and OEAP Energy Assistance Intake Operations Manual for Program Year 2023 + href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2023-EA-Manual-Master-09-28-22.pdf#page=5.2" + - title: LIHEAP and OEAP Energy Assistance Intake Operations Manual for Program Year 2024 + href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/Final-PY2024-Manual-Master-09%2021%202023.pdf#page=5.2" + diff --git a/policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml b/policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml new file mode 100644 index 00000000000..e1dbba54ddd --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml @@ -0,0 +1,29 @@ +description: Oregon LIHEAP lists these counties in the State as Region 1 and all other counties as Region 2. + +metadata: + unit: list + period: year + label: Oregon Region 1 counties + reference: + - title: LIHEAP and OEAP Energy Assistance Intake Operations Manual for Program Year 2021 + href: https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#page=55 +values: + 2021-01-01: + - BENTON_COUNTY_OR + - CLACKAMAS_COUNTY_OR + - CLATSOP_COUNTY_OR + - COLUMBIA_COUNTY_OR + - COOS_COUNTY_OR + - CURRY_COUNTY_OR + - DOUGLAS_COUNTY_OR + - JACKSON_COUNTY_OR + - JOSEPHINE_COUNTY_OR + - LANE_COUNTY_OR + - LINCOLN_COUNTY_OR + - LINN_COUNTY_OR + - MARION_COUNTY_OR + - MULTNOMAH_COUNTY_OR + - POLK_COUNTY_OR + - TILLAMOOK_COUNTY_OR + - WASHINGTON_COUNTY_OR + - YAMHILL_COUNTY_OR diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/hhs_smi.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/hhs_smi.yaml index 75f7816f5b0..48c31f7aa63 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/hhs_smi.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/hhs_smi.yaml @@ -37,7 +37,7 @@ spm_unit_size: 4 state_code_str: NY output: - hhs_smi: 116_765 * 1.0654 # includes CBO uprating from 2023-10-01 to 2024 + hhs_smi: 116_765 - name: 2024 Household size 1, State NY period: 2024 @@ -46,7 +46,7 @@ spm_unit_size: 1 state_code_str: NY output: - hhs_smi: 0.52 * 116_765 * 1.0654 # includes CBO uprating from 2023-10-01 to 2024 + hhs_smi: 0.52 * 116_765 - name: 2024 Household size 6, State NY period: 2024 @@ -55,7 +55,7 @@ spm_unit_size: 6 state_code_str: NY output: - hhs_smi: 1.32 * 116_765 * 1.0654 # includes CBO uprating from 2023-10-01 to 2024 + hhs_smi: 1.32 * 116_765 - name: 2024 Household size 7, State NY period: 2024 @@ -64,4 +64,4 @@ spm_unit_size: 7 state_code_str: NY output: - hhs_smi: 1.35 * 116_765 * 1.0654 # includes CBO uprating from 2023-10-01 to 2024 + hhs_smi: 1.35 * 116_765 diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_eligibility.yaml b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_eligibility.yaml new file mode 100644 index 00000000000..85698fdbb52 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_eligibility.yaml @@ -0,0 +1,26 @@ +- name: oregon liheap eligibility 2021 eligible single household + period: 2021 + input: + spm_unit_size: 1 + state_code: OR + adjusted_gross_income: 25_000 + output: + or_liheap_eligibility: true + +- name: oregon liheap eligibility 2023 ineligible two-person household + period: 2023 + input: + spm_unit_size: 2 + state_code: OR + adjusted_gross_income: 90_000 + output: + or_liheap_eligibility: false + +- name: oregon liheap eligibility 2024 eligible four-person household + period: 2024 + input: + spm_unit_size: 4 + state_code: OR + adjusted_gross_income: 60_000 + output: + or_liheap_eligibility: true diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_income_range.yaml b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_income_range.yaml new file mode 100644 index 00000000000..921d85d96f9 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_income_range.yaml @@ -0,0 +1,26 @@ +- name: Oregon LIHEAP Income Range 3 for a 2-Person Household (2021) + period: 2021 + input: + spm_unit_size: 2 + state_code: OR + adjusted_gross_income: 25_000 + output: + income_range: 3 + +- name: Oregon LIHEAP Income Range 4 for a 6-Person Household (2024) + period: 2024 + input: + spm_unit_size: 6 + state_code: OR + adjusted_gross_income: 65_000 + output: + income_range: 4 + +- name: Oregon LIHEAP Income Range 1 for a 10-Person Household (2023) + period: 2023 + input: + spm_unit_size: 10 + state_code: OR + adjusted_gross_income: 20_000 + output: + income_range: 1 diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_income_threshold.yaml b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_income_threshold.yaml new file mode 100644 index 00000000000..64ee2a9f5ec --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_income_threshold.yaml @@ -0,0 +1,28 @@ +- name: oregon smi 2021 single household + period: 2021 + absolute_error_margin: 0.01 + input: + spm_unit_size: 1 # Single-person household + state_code: OR # Oregon state code + hhs_smi: 48_906 # State Median Income for a single-person household in Oregon for 2021 + output: + or_liheap_income_threshold: 29_343.6 # 0.6 * $48_906 + +- name: oregon smi 2023 two-person household + period: 2023 + input: + spm_unit_size: 2 # Two-person household + state_code: OR # Oregon state code + hhs_smi: 72_852.48 # State Median Income for Oregon in 2023 + output: + or_liheap_income_threshold: 43_711.488 # 0.6 * $72_852.48 + +- name: oregon smi 2024 four-person household + period: 2024 + absolute_error_margin: 0.01 + input: + spm_unit_size: 4 # Four-person household + state_code: OR # Oregon state code + hhs_smi: 117_983 # State Median Income for Oregon in 2024 + output: + or_liheap_income_threshold: 70_789.8 # 0.6 * $117_983 diff --git a/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_eligibility.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_eligibility.py new file mode 100644 index 00000000000..c4bd416975e --- /dev/null +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_eligibility.py @@ -0,0 +1,15 @@ +from policyengine_us.model_api import * + + +class or_liheap_eligibility(Variable): + value_type = bool + entity = SPMUnit + label = "Oregon LIHEAP eligibility" + definition_period = YEAR + reference = "https://liheapch.acf.hhs.gov/profiles/Oregon.htm" + defined_for = StateCode.OR + + def formula(spm_unit, period, parameters): + income = add(spm_unit, period, ["adjusted_gross_income"]) + threshold = spm_unit("or_liheap_income_threshold", period) + return income <= threshold diff --git a/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_range.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_range.py new file mode 100644 index 00000000000..138751ef79e --- /dev/null +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_range.py @@ -0,0 +1,30 @@ +from policyengine_us.model_api import * + + +class or_liheap_income_range(Variable): + value_type = int + entity = SPMUnit + label = "Income range for Oregon LIHEAP eligibility" + definition_period = YEAR + reference = "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#page=55" + + defined_for = StateCode.OR + + def formula(spm_unit, period, parameters): + income = spm_unit("adjusted_gross_income", period) + threshold = spm_unit("or_liheap_income_threshold", period) + p = parameters(period).gov.states["or"].liheap.income_range + + range1_upper = threshold * p.range1_upper + range2_upper = threshold * p.range2_upper + range3_upper = threshold * p.range3_upper + + return select( + [ + income <= range1_upper, + income <= range2_upper, + income <= range3_upper, + ], + [1, 2, 3], + default=4, + ) diff --git a/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_threshold.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_threshold.py new file mode 100644 index 00000000000..8539f20cbf8 --- /dev/null +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_threshold.py @@ -0,0 +1,17 @@ +from policyengine_us.model_api import * + + +class or_liheap_income_threshold(Variable): + value_type = float + entity = SPMUnit + label = "Income threshold for Oregon LIHEAP eligibility" + unit = USD + definition_period = YEAR + reference = "https://liheapch.acf.hhs.gov/profiles/Oregon.htm" + + defined_for = StateCode.OR + + def formula(spm_unit, period, parameters): + state_median_income = spm_unit("hhs_smi", period) + p = parameters(period).gov.states["or"].liheap + return state_median_income * p.income_rate diff --git a/policyengine_us/variables/gov/states/or/tax/income/liheap/utility_type.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/utility_type.py new file mode 100644 index 00000000000..11c877849c4 --- /dev/null +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/utility_type.py @@ -0,0 +1,18 @@ +from policyengine_us.model_api import * + + +class UtilityType(Enum): + ELECTRICITY = "Electricity" + HEATING_OIL = "Heating Oil" + LIQUID_GAS = "Liquid Gas" + NATURAL_GAS = "Natural Gas" + WOOD_PELLETS = "Wood Pellets" + + +class utility_type(Variable): + value_type = Enum + entity = SPMUnit + possible_values = UtilityType + default_value = UtilityType.ELECTRICITY + definition_period = YEAR + label = "Utility types for LIHEAP payout"