From 2fe85f434ba07ee0442443cbdae2600d2c2daf4c Mon Sep 17 00:00:00 2001 From: srilareddy Date: Sun, 17 Nov 2024 18:01:58 +0000 Subject: [PATCH 01/38] Fixes #273 --- .../gov/states/or/liheap/eligibility.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml diff --git a/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml b/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml new file mode 100644 index 00000000000..2cf89ce3131 --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml @@ -0,0 +1,14 @@ +description: "Oregon provides assistance for households with income below 60% 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: + - title: Oregon Administrative Rules, Chapter 813, Division 200 + href: https://oregon.public.law/rules/oar_813-200-0020 + #legal code points to the program manual + - 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 + \ No newline at end of file From cc61f82e2c6652d639724de17dfe6a285b04d1e9 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Sun, 17 Nov 2024 19:06:26 +0000 Subject: [PATCH 02/38] Updated SMI for 2024 --- .../parameters/gov/hhs/smi/amount.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/policyengine_us/parameters/gov/hhs/smi/amount.yaml b/policyengine_us/parameters/gov/hhs/smi/amount.yaml index 6cd104004a4..4c36d1801ae 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 From cb27f0cf5cf951d5db71c0f2a3f0e9bf9108f6ba Mon Sep 17 00:00:00 2001 From: srilareddy Date: Sun, 17 Nov 2024 19:07:46 +0000 Subject: [PATCH 03/38] Format --- .../parameters/gov/states/or/liheap/eligibility.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml b/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml index 2cf89ce3131..d59d52d2d39 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml @@ -1,4 +1,4 @@ -description: "Oregon provides assistance for households with income below 60% of the state median income through the LIHEAP program." +description: Oregon provides assistance for households with income below this threshold of the state median income through the LIHEAP program. values: 2021-01-01: 0.6 metadata: @@ -8,7 +8,7 @@ metadata: reference: - title: Oregon Administrative Rules, Chapter 813, Division 200 href: https://oregon.public.law/rules/oar_813-200-0020 - #legal code points to the program manual + #Legal code points to the program manual - 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 \ No newline at end of file From 44fc36bf39ea2dbbed01f8ab8c3b2fc178194851 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Sun, 17 Nov 2024 19:10:16 +0000 Subject: [PATCH 04/38] typo --- .../parameters/gov/states/or/liheap/eligibility.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml b/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml index d59d52d2d39..47a80b21593 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml @@ -6,9 +6,9 @@ metadata: 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 - #Legal code points to the program manual - 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 \ No newline at end of file From a200de474db020c0fa5748980a0a912e67024c02 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 18 Nov 2024 18:34:03 +0000 Subject: [PATCH 05/38] Updated tests --- .../tests/policy/baseline/gov/hhs/hhs_smi.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 From 7c5da3578678ebcd501840d3ed05bf615e57ba9e Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 19 Nov 2024 06:18:44 +0000 Subject: [PATCH 06/38] updated references --- policyengine_us/parameters/gov/hhs/smi/amount.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policyengine_us/parameters/gov/hhs/smi/amount.yaml b/policyengine_us/parameters/gov/hhs/smi/amount.yaml index 4c36d1801ae..7757f4922cc 100644 --- a/policyengine_us/parameters/gov/hhs/smi/amount.yaml +++ b/policyengine_us/parameters/gov/hhs/smi/amount.yaml @@ -270,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 period: year uprating: calibration.gov.cbo.income_by_source.adjusted_gross_income From 6b4a5bebb5a9a10092e15a76dbbeae08c1241df0 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Thu, 28 Nov 2024 12:22:41 +0000 Subject: [PATCH 07/38] liheap program variable --- .../states/oregon/rebate/or_liheap_program.py | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 policyengine_us/reforms/states/oregon/rebate/or_liheap_program.py diff --git a/policyengine_us/reforms/states/oregon/rebate/or_liheap_program.py b/policyengine_us/reforms/states/oregon/rebate/or_liheap_program.py new file mode 100644 index 00000000000..d81d83056bf --- /dev/null +++ b/policyengine_us/reforms/states/oregon/rebate/or_liheap_program.py @@ -0,0 +1,30 @@ +from policyengine_us.model_api import * + +def create_or_liheap_program() -> Reform: + class or_liheap_income_threshold(Variable): + value_type = float + entity = TaxUnit + label = "Income threshold for Oregon LIHEAP eligibility" + unit = USD + definition_period = YEAR + reference = "https://www.oregon.gov/ohcs/hcs-liheap.aspx" + defined_for = StateCode.OR + + def formula(tax_unit, period, parameters): + state_median_income = tax_unit("hhs_smi", period) + p = parameters(period).gov.states.["or"].liheap.eligibility + return state_median_income * p.eligibility + + class or_liheap_eligibility(Variable): + value_type = bool + entity = TaxUnit + label = "Oregon LIHEAP eligibility" + definition_period = YEAR + reference = "https://www.oregon.gov/ohcs/hcs-liheap.aspx" + defined_for = StateCode.OR + + def formula(tax_unit, period, parameters): + income = tax_unit("tax_unit_income", period) + threshold = tax_unit("or_liheap_income_threshold", period) + return income <= threshold + From 6ee8954c015ac89797299e4fe3f22bff54d02961 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 2 Dec 2024 11:35:38 +0000 Subject: [PATCH 08/38] Format --- .../parameters/gov/states/or/liheap/eligibility.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml b/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml index 47a80b21593..1fcfa46a11f 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml @@ -6,7 +6,7 @@ metadata: unit: /1 label: Oregon LIHEAP eligibility threshold reference: - #Legal code points to the program manual + # 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 From e1cf00bc0f3284f236bb1c97fb69f60a9a6df7e6 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 2 Dec 2024 13:41:42 +0000 Subject: [PATCH 09/38] seperated files and changed loaction --- .../states/or/liheap/or_liheap_eligibility.py | 14 +++++++++ .../or/liheap/or_liheap_income_threshold.py | 15 ++++++++++ .../states/oregon/rebate/or_liheap_program.py | 30 ------------------- 3 files changed, 29 insertions(+), 30 deletions(-) create mode 100644 policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py create mode 100644 policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py delete mode 100644 policyengine_us/reforms/states/oregon/rebate/or_liheap_program.py diff --git a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py new file mode 100644 index 00000000000..77b3dbbbc85 --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py @@ -0,0 +1,14 @@ +from policyengine_us.model_api import * + + class or_liheap_eligibility(Variable): + value_type = bool + entity = TaxUnit + label = "Oregon LIHEAP eligibility" + definition_period = YEAR + reference = "https://www.oregon.gov/ohcs/hcs-liheap.aspx" + defined_for = StateCode.OR + + def formula(tax_unit, period, parameters): + income = tax_unit("tax_unit_income", period) + threshold = tax_unit("or_liheap_income_threshold", period) + return income <= threshold diff --git a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py new file mode 100644 index 00000000000..78b7de51ca9 --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py @@ -0,0 +1,15 @@ +from policyengine_us.model_api import * + +class or_liheap_income_threshold(Variable): + value_type = float + entity = TaxUnit + label = "Income threshold for Oregon LIHEAP eligibility" + unit = USD + definition_period = YEAR + reference = "https://www.oregon.gov/ohcs/hcs-liheap.aspx" + defined_for = StateCode.OR + + def formula(tax_unit, period, parameters): + state_median_income = tax_unit("hhs_smi", period) + p = parameters(period).gov.states.["or"].liheap.eligibility + return state_median_income * p.eligibility \ No newline at end of file diff --git a/policyengine_us/reforms/states/oregon/rebate/or_liheap_program.py b/policyengine_us/reforms/states/oregon/rebate/or_liheap_program.py deleted file mode 100644 index d81d83056bf..00000000000 --- a/policyengine_us/reforms/states/oregon/rebate/or_liheap_program.py +++ /dev/null @@ -1,30 +0,0 @@ -from policyengine_us.model_api import * - -def create_or_liheap_program() -> Reform: - class or_liheap_income_threshold(Variable): - value_type = float - entity = TaxUnit - label = "Income threshold for Oregon LIHEAP eligibility" - unit = USD - definition_period = YEAR - reference = "https://www.oregon.gov/ohcs/hcs-liheap.aspx" - defined_for = StateCode.OR - - def formula(tax_unit, period, parameters): - state_median_income = tax_unit("hhs_smi", period) - p = parameters(period).gov.states.["or"].liheap.eligibility - return state_median_income * p.eligibility - - class or_liheap_eligibility(Variable): - value_type = bool - entity = TaxUnit - label = "Oregon LIHEAP eligibility" - definition_period = YEAR - reference = "https://www.oregon.gov/ohcs/hcs-liheap.aspx" - defined_for = StateCode.OR - - def formula(tax_unit, period, parameters): - income = tax_unit("tax_unit_income", period) - threshold = tax_unit("or_liheap_income_threshold", period) - return income <= threshold - From 1a65c5efe96f210611eb902c616ec4faad892318 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 2 Dec 2024 14:31:56 +0000 Subject: [PATCH 10/38] switched tax unit income to adjusted gross income --- .../parameters/gov/states/or/liheap/or_liheap_eligibility.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py index 77b3dbbbc85..9785e5e3d25 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py +++ b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py @@ -1,6 +1,6 @@ from policyengine_us.model_api import * - class or_liheap_eligibility(Variable): +class or_liheap_eligibility(Variable): value_type = bool entity = TaxUnit label = "Oregon LIHEAP eligibility" @@ -9,6 +9,6 @@ class or_liheap_eligibility(Variable): defined_for = StateCode.OR def formula(tax_unit, period, parameters): - income = tax_unit("tax_unit_income", period) + income = tax_unit("adjusted_gross_income", period) threshold = tax_unit("or_liheap_income_threshold", period) return income <= threshold From 00a16a3e0d481f5b47a9cb22501805da233f1883 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 2 Dec 2024 14:46:45 +0000 Subject: [PATCH 11/38] updated references --- .../parameters/gov/states/or/liheap/or_liheap_eligibility.py | 2 +- .../gov/states/or/liheap/or_liheap_income_threshold.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py index 9785e5e3d25..dd3340873be 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py +++ b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py @@ -5,7 +5,7 @@ class or_liheap_eligibility(Variable): entity = TaxUnit label = "Oregon LIHEAP eligibility" definition_period = YEAR - reference = "https://www.oregon.gov/ohcs/hcs-liheap.aspx" + reference = "https://www.oregon.gov/ohcs/energy-weatherization/pages/utility-bill-payment-assistance.aspx" defined_for = StateCode.OR def formula(tax_unit, period, parameters): diff --git a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py index 78b7de51ca9..3d9f40b64fe 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py +++ b/policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py @@ -6,7 +6,8 @@ class or_liheap_income_threshold(Variable): label = "Income threshold for Oregon LIHEAP eligibility" unit = USD definition_period = YEAR - reference = "https://www.oregon.gov/ohcs/hcs-liheap.aspx" + reference = "https://www.oregon.gov/ohcs/energy-weatherization/pages/utility-bill-payment-assistance.aspx" + defined_for = StateCode.OR def formula(tax_unit, period, parameters): From 127737ea6f6f4e76f8baf204a462b011df3f3c5b Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 3 Dec 2024 20:16:40 +0000 Subject: [PATCH 12/38] renamed file --- .../gov/states/or/liheap/{eligibility.yaml => income_rate.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename policyengine_us/parameters/gov/states/or/liheap/{eligibility.yaml => income_rate.yaml} (100%) diff --git a/policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml b/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml similarity index 100% rename from policyengine_us/parameters/gov/states/or/liheap/eligibility.yaml rename to policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml From b75e30610a7dccaade229533bba2ec999e748f93 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 3 Dec 2024 20:23:46 +0000 Subject: [PATCH 13/38] description --- .../parameters/gov/states/or/liheap/income_rate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml b/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml index 1fcfa46a11f..d3a9a102857 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml @@ -1,4 +1,4 @@ -description: Oregon provides assistance for households with income below this threshold of the state median income through the LIHEAP program. +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: From 1435875ec99a6ddb0335a17dd6064770901d745e Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 3 Dec 2024 20:25:34 +0000 Subject: [PATCH 14/38] added ref pg number --- policyengine_us/parameters/gov/hhs/smi/amount.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_us/parameters/gov/hhs/smi/amount.yaml b/policyengine_us/parameters/gov/hhs/smi/amount.yaml index 7757f4922cc..0da50afd551 100644 --- a/policyengine_us/parameters/gov/hhs/smi/amount.yaml +++ b/policyengine_us/parameters/gov/hhs/smi/amount.yaml @@ -271,6 +271,6 @@ metadata: - 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 + 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 From c866d72f6eb864e50b1ee305a478811980865507 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 3 Dec 2024 21:05:52 +0000 Subject: [PATCH 15/38] moved file location to variables --- .../gov/states/or/tax/income}/liheap/or_liheap_eligibility.py | 0 .../states/or/tax/income}/liheap/or_liheap_income_threshold.py | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename policyengine_us/{parameters/gov/states/or => variables/gov/states/or/tax/income}/liheap/or_liheap_eligibility.py (100%) rename policyengine_us/{parameters/gov/states/or => variables/gov/states/or/tax/income}/liheap/or_liheap_income_threshold.py (100%) diff --git a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_eligibility.py similarity index 100% rename from policyengine_us/parameters/gov/states/or/liheap/or_liheap_eligibility.py rename to policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_eligibility.py diff --git a/policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_threshold.py similarity index 100% rename from policyengine_us/parameters/gov/states/or/liheap/or_liheap_income_threshold.py rename to policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_threshold.py From cc1eb8302c13aa0be1d209427e5608d84e7091e6 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 3 Dec 2024 21:07:28 +0000 Subject: [PATCH 16/38] updated references --- .../gov/states/or/tax/income/liheap/or_liheap_eligibility.py | 4 ++-- .../states/or/tax/income/liheap/or_liheap_income_threshold.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 index dd3340873be..4d6ad50809d 100644 --- 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 @@ -5,8 +5,8 @@ class or_liheap_eligibility(Variable): entity = TaxUnit label = "Oregon LIHEAP eligibility" definition_period = YEAR - reference = "https://www.oregon.gov/ohcs/energy-weatherization/pages/utility-bill-payment-assistance.aspx" - defined_for = StateCode.OR + reference = "https://liheapch.acf.hhs.gov/profiles/Oregon.htm" + defined_for = StateCode.ORu def formula(tax_unit, period, parameters): income = tax_unit("adjusted_gross_income", period) 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 index 3d9f40b64fe..260ba8cdfdc 100644 --- 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 @@ -6,7 +6,7 @@ class or_liheap_income_threshold(Variable): label = "Income threshold for Oregon LIHEAP eligibility" unit = USD definition_period = YEAR - reference = "https://www.oregon.gov/ohcs/energy-weatherization/pages/utility-bill-payment-assistance.aspx" + reference = "https://liheapch.acf.hhs.gov/profiles/Oregon.htm" defined_for = StateCode.OR From 5d395d5a2a09da8d29d076a8ac28f35d2a5fcdb7 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Fri, 13 Dec 2024 15:25:15 +0000 Subject: [PATCH 17/38] Added tests --- .../or/tax/income/or_liheap_eligibility.yaml | 26 +++++++++++++++++ .../income/or_liheap_income_threshold.yaml | 28 +++++++++++++++++++ .../income/liheap/or_liheap_eligibility.py | 10 +++---- .../liheap/or_liheap_income_threshold.py | 10 +++---- 4 files changed, 64 insertions(+), 10 deletions(-) create mode 100644 policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_eligibility.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_income_threshold.yaml 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..10d92b46208 --- /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_str: 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_str: OR + adjusted_gross_income: 50_000 + output: + or_liheap_eligibility: false + +- name: oregon liheap eligibility 2024 eligible four-person household + period: 2024 + input: + spm_unit_size: 4 + state_code_str: OR + adjusted_gross_income: 60_000 + output: + or_liheap_eligibility: true \ No newline at end of file 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..bac08a86ae3 --- /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_str: 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_str: 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_str: 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 \ No newline at end of file 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 index 4d6ad50809d..65044b4e685 100644 --- 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 @@ -2,13 +2,13 @@ class or_liheap_eligibility(Variable): value_type = bool - entity = TaxUnit + entity = SPMUnit label = "Oregon LIHEAP eligibility" definition_period = YEAR reference = "https://liheapch.acf.hhs.gov/profiles/Oregon.htm" - defined_for = StateCode.ORu + defined_for = StateCode.OR - def formula(tax_unit, period, parameters): - income = tax_unit("adjusted_gross_income", period) - threshold = tax_unit("or_liheap_income_threshold", period) + def formula(spm_unit, period, parameters): + income = tax_unit.spm_unit("adjusted_gross_income", period) + 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_threshold.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_threshold.py index 260ba8cdfdc..4d074ff7621 100644 --- 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 @@ -2,7 +2,7 @@ class or_liheap_income_threshold(Variable): value_type = float - entity = TaxUnit + entity = SPMUnit label = "Income threshold for Oregon LIHEAP eligibility" unit = USD definition_period = YEAR @@ -10,7 +10,7 @@ class or_liheap_income_threshold(Variable): defined_for = StateCode.OR - def formula(tax_unit, period, parameters): - state_median_income = tax_unit("hhs_smi", period) - p = parameters(period).gov.states.["or"].liheap.eligibility - return state_median_income * p.eligibility \ No newline at end of file + def formula(spm_unit, period, parameters): + state_median_income = spm_unit("hhs_smi", period) + p = parameters(period).gov.states["or"].liheap.income_rate + return state_median_income * p \ No newline at end of file From f621a6109de9dd8edc763ffe7a81534cc104dbb0 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Sat, 14 Dec 2024 04:20:00 +0000 Subject: [PATCH 18/38] format --- .../gov/states/or/tax/income/or_liheap_eligibility.yaml | 8 ++++---- .../states/or/tax/income/or_liheap_income_threshold.yaml | 6 +++--- .../states/or/tax/income/liheap/or_liheap_eligibility.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) 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 index 10d92b46208..0657acbcca3 100644 --- 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 @@ -2,7 +2,7 @@ period: 2021 input: spm_unit_size: 1 - state_code_str: OR + state_code: OR adjusted_gross_income: 25_000 output: or_liheap_eligibility: true @@ -11,8 +11,8 @@ period: 2023 input: spm_unit_size: 2 - state_code_str: OR - adjusted_gross_income: 50_000 + state_code: OR + adjusted_gross_income: 90_000 output: or_liheap_eligibility: false @@ -20,7 +20,7 @@ period: 2024 input: spm_unit_size: 4 - state_code_str: OR + state_code: OR adjusted_gross_income: 60_000 output: or_liheap_eligibility: true \ No newline at end of file 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 index bac08a86ae3..6345f6ecc4f 100644 --- 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 @@ -3,7 +3,7 @@ absolute_error_margin: 0.01 input: spm_unit_size: 1 # Single-person household - state_code_str: OR # Oregon state code + 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 @@ -12,7 +12,7 @@ period: 2023 input: spm_unit_size: 2 # Two-person household - state_code_str: OR # Oregon state code + 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 @@ -22,7 +22,7 @@ absolute_error_margin: 0.01 input: spm_unit_size: 4 # Four-person household - state_code_str: OR # Oregon state code + 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 \ No newline at end of file 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 index 65044b4e685..ced17090e7b 100644 --- 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 @@ -9,6 +9,6 @@ class or_liheap_eligibility(Variable): defined_for = StateCode.OR def formula(spm_unit, period, parameters): - income = tax_unit.spm_unit("adjusted_gross_income", period) + income = spm_unit.tax_unit("adjusted_gross_income", period) threshold = spm_unit("or_liheap_income_threshold", period) return income <= threshold From 627789fbbaf8c162cd617a3088621f6ce0e4e067 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 16 Dec 2024 09:52:10 +0000 Subject: [PATCH 19/38] finished tests --- .../gov/states/or/liheap/income_rate.yaml | 2 +- .../or/tax/income/or_liheap_eligibility.yaml | 2 +- .../income/or_liheap_income_threshold.yaml | 2 +- .../income/liheap/or_liheap_eligibility.py | 21 ++++++++------- .../liheap/or_liheap_income_threshold.py | 27 ++++++++++--------- 5 files changed, 28 insertions(+), 26 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml b/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml index d3a9a102857..0777cba407b 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml @@ -11,4 +11,4 @@ metadata: 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 - \ No newline at end of file + 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 index 0657acbcca3..85698fdbb52 100644 --- 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 @@ -23,4 +23,4 @@ state_code: OR adjusted_gross_income: 60_000 output: - or_liheap_eligibility: true \ No newline at end of file + or_liheap_eligibility: true 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 index 6345f6ecc4f..64ee2a9f5ec 100644 --- 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 @@ -25,4 +25,4 @@ 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 \ No newline at end of file + 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 index ced17090e7b..c4bd416975e 100644 --- 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 @@ -1,14 +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 + 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 = spm_unit.tax_unit("adjusted_gross_income", period) - threshold = spm_unit("or_liheap_income_threshold", period) - return income <= threshold + 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_threshold.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_threshold.py index 4d074ff7621..30fa07e2291 100644 --- 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 @@ -1,16 +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.income_rate - return state_median_income * p \ No newline at end of file + 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.income_rate + return state_median_income * p From 2a2e2b4a2f7091ba9320da70d0876695b1a64552 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Sun, 22 Dec 2024 10:31:44 +0000 Subject: [PATCH 20/38] Oregon region 1 list parameter --- .../states/or/liheap/region1_counties.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml 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..22acb43c335 --- /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#Pg=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 \ No newline at end of file From d00300268adbf84ada3783eb4898557bd25be81e Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 23 Dec 2024 11:07:02 +0000 Subject: [PATCH 21/38] Payout values for region 1 --- .../gov/states/or/liheap/payout_region1.yaml | 190 ++++++++++++++++++ 1 file changed, 190 insertions(+) create mode 100644 policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml 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..1aa3fded974 --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -0,0 +1,190 @@ +description: Payout from LIHEAP for Region 1 counties in the state of Oregon + +2021-10-01: + spm_unit: 1 + IncomeRange: 1 + Electricity_Heating: 410 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 435 + WoodPellets: 465 + Electricity_Cooling: 410 + IncomeRange: 2 + Electricity_Heating: 320 + HeatingOil: 600 + LiquidGas: 550 + NaturalGas: 340 + WoodPellets: 360 + Electricity_Cooling: 320 + IncomeRange: 3 + Electricity_Heating: 265 + HeatingOil: 560 + LiquidGas: 460 + NaturalGas: 280 + WoodPellets: 350 + Electricity_Cooling: 265 + IncomeRange: 4 + Electricity_Heating: 200 + HeatingOil: 405 + LiquidGas: 330 + NaturalGas: 200 + WoodPellets: 350 + Electricity_Cooling: 200 + + spm_unit: 2 + IncomeRange: 1 + Electricity_Heating: 530 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 560 + WoodPellets: 600 + Electricity_Cooling: 530 + IncomeRange: 2 + Electricity_Heating: 410 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 435 + WoodPellets: 465 + Electricity_Cooling: 410 + IncomeRange: 3 + Electricity_Heating: 345 + HeatingOil: 600 + LiquidGas: 590 + NaturalGas: 365 + WoodPellets: 390 + Electricity_Cooling: 345 + IncomeRange: 4 + Electricity_Heating: 245 + HeatingOil: 520 + LiquidGas: 425 + NaturalGas: 260 + WoodPellets: 350 + Electricity_Cooling: 245 + + spm_unit: 3 + IncomeRange: 1 + Electricity_Heating: 530 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 560 + WoodPellets: 600 + Electricity_Cooling: 530 + IncomeRange: 2 + Electricity_Heating: 410 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 435 + WoodPellets: 465 + Electricity_Cooling: 410 + IncomeRange: 3 + Electricity_Heating: 345 + HeatingOil: 600 + LiquidGas: 590 + NaturalGas: 365 + WoodPellets: 390 + Electricity_Cooling: 345 + IncomeRange: 4 + Electricity_Heating: 245 + HeatingOil: 520 + LiquidGas: 425 + NaturalGas: 260 + WoodPellets: 350 + Electricity_Cooling: 245 + + spm_unit: 4 + IncomeRange: 1 + Electricity_Heating: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + Electricity_Cooling: 600 + IncomeRange: 2 + Electricity_Heating: 480 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 510 + WoodPellets: 545 + Electricity_Cooling: 480 + IncomeRange: 3 + Electricity_Heating: 400 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 425 + WoodPellets: 450 + Electricity_Cooling: 400 + IncomeRange: 4 + Electricity_Heating: 285 + HeatingOil: 600 + LiquidGas: 495 + NaturalGas: 305 + WoodPellets: 350 + Electricity_Cooling: 285 + + spm_unit: 5 + IncomeRange: 1 + Electricity_Heating: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + Electricity_Cooling: 600 + IncomeRange: 2 + Electricity_Heating: 535 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 565 + WoodPellets: 600 + Electricity_Cooling: 535 + IncomeRange: 3 + Electricity_Heating: 445 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 470 + WoodPellets: 506 + Electricity_Cooling: 445 + IncomeRange: 4 + Electricity_Heating: 320 + HeatingOil: 600 + LiquidGas: 550 + NaturalGas: 340 + WoodPellets: 360 + Electricity_Cooling: 320 + +spm_unit: ">=6" + + IncomeRange: 1 + Electricity_Heating: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + Electricity_Cooling: 600 + IncomeRange: 2 + Electricity_Heating: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + Electricity_Cooling: 600 + IncomeRange: 3 + Electricity_Heating: 500 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 530 + WoodPellets: 570 + Electricity_Cooling: 500 + IncomeRange: 4 + Electricity_Heating: 360 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 380 + WoodPellets: 410 + Electricity_Cooling: 360 + +metadata: + period: year + unit: currency-USD + 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#Pg=55 From 76c37d4a46a46bd015425939a30b8ca93f0b8692 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 23 Dec 2024 11:12:36 +0000 Subject: [PATCH 22/38] format --- .../gov/states/or/liheap/payout_region1.yaml | 345 +++++++++--------- 1 file changed, 172 insertions(+), 173 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index 1aa3fded974..f4882bdea0b 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -1,190 +1,189 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon -2021-10-01: +2021-10-01: spm_unit: 1 - IncomeRange: 1 - Electricity_Heating: 410 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 435 - WoodPellets: 465 - Electricity_Cooling: 410 - IncomeRange: 2 - Electricity_Heating: 320 - HeatingOil: 600 - LiquidGas: 550 - NaturalGas: 340 - WoodPellets: 360 - Electricity_Cooling: 320 - IncomeRange: 3 - Electricity_Heating: 265 - HeatingOil: 560 - LiquidGas: 460 - NaturalGas: 280 - WoodPellets: 350 - Electricity_Cooling: 265 - IncomeRange: 4 - Electricity_Heating: 200 - HeatingOil: 405 - LiquidGas: 330 - NaturalGas: 200 - WoodPellets: 350 - Electricity_Cooling: 200 + IncomeRange: 1: + Electricity_Heating: 410 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 435 + WoodPellets: 465 + Electricity_Cooling: 410 + IncomeRange: 2: + Electricity_Heating: 320 + HeatingOil: 600 + LiquidGas: 550 + NaturalGas: 340 + WoodPellets: 360 + Electricity_Cooling: 320 + IncomeRange: 3: + Electricity_Heating: 265 + HeatingOil: 560 + LiquidGas: 460 + NaturalGas: 280 + WoodPellets: 350 + Electricity_Cooling: 265 + IncomeRange: 4: + Electricity_Heating: 200 + HeatingOil: 405 + LiquidGas: 330 + NaturalGas: 200 + WoodPellets: 350 + Electricity_Cooling: 200 spm_unit: 2 - IncomeRange: 1 - Electricity_Heating: 530 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 560 - WoodPellets: 600 - Electricity_Cooling: 530 - IncomeRange: 2 - Electricity_Heating: 410 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 435 - WoodPellets: 465 - Electricity_Cooling: 410 - IncomeRange: 3 - Electricity_Heating: 345 - HeatingOil: 600 - LiquidGas: 590 - NaturalGas: 365 - WoodPellets: 390 - Electricity_Cooling: 345 - IncomeRange: 4 - Electricity_Heating: 245 - HeatingOil: 520 - LiquidGas: 425 - NaturalGas: 260 - WoodPellets: 350 - Electricity_Cooling: 245 + IncomeRange: 1: + Electricity_Heating: 530 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 560 + WoodPellets: 600 + Electricity_Cooling: 530 + IncomeRange: 2: + Electricity_Heating: 410 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 435 + WoodPellets: 465 + Electricity_Cooling: 410 + IncomeRange: 3: + Electricity_Heating: 345 + HeatingOil: 600 + LiquidGas: 590 + NaturalGas: 365 + WoodPellets: 390 + Electricity_Cooling: 345 + IncomeRange: 4: + Electricity_Heating: 245 + HeatingOil: 520 + LiquidGas: 425 + NaturalGas: 260 + WoodPellets: 350 + Electricity_Cooling: 245 spm_unit: 3 - IncomeRange: 1 - Electricity_Heating: 530 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 560 - WoodPellets: 600 - Electricity_Cooling: 530 - IncomeRange: 2 - Electricity_Heating: 410 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 435 - WoodPellets: 465 - Electricity_Cooling: 410 - IncomeRange: 3 - Electricity_Heating: 345 - HeatingOil: 600 - LiquidGas: 590 - NaturalGas: 365 - WoodPellets: 390 - Electricity_Cooling: 345 - IncomeRange: 4 - Electricity_Heating: 245 - HeatingOil: 520 - LiquidGas: 425 - NaturalGas: 260 - WoodPellets: 350 - Electricity_Cooling: 245 + IncomeRange: 1: + Electricity_Heating: 530 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 560 + WoodPellets: 600 + Electricity_Cooling: 530 + IncomeRange: 2: + Electricity_Heating: 410 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 435 + WoodPellets: 465 + Electricity_Cooling: 410 + IncomeRange: 3: + Electricity_Heating: 345 + HeatingOil: 600 + LiquidGas: 590 + NaturalGas: 365 + WoodPellets: 390 + Electricity_Cooling: 345 + IncomeRange: 4: + Electricity_Heating: 245 + HeatingOil: 520 + LiquidGas: 425 + NaturalGas: 260 + WoodPellets: 350 + Electricity_Cooling: 245 spm_unit: 4 - IncomeRange: 1 - Electricity_Heating: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - Electricity_Cooling: 600 - IncomeRange: 2 - Electricity_Heating: 480 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 510 - WoodPellets: 545 - Electricity_Cooling: 480 - IncomeRange: 3 - Electricity_Heating: 400 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 425 - WoodPellets: 450 - Electricity_Cooling: 400 - IncomeRange: 4 - Electricity_Heating: 285 - HeatingOil: 600 - LiquidGas: 495 - NaturalGas: 305 - WoodPellets: 350 - Electricity_Cooling: 285 + IncomeRange: 1: + Electricity_Heating: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + Electricity_Cooling: 600 + IncomeRange: 2: + Electricity_Heating: 480 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 510 + WoodPellets: 545 + Electricity_Cooling: 480 + IncomeRange: 3: + Electricity_Heating: 400 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 425 + WoodPellets: 450 + Electricity_Cooling: 400 + IncomeRange: 4: + Electricity_Heating: 285 + HeatingOil: 600 + LiquidGas: 495 + NaturalGas: 305 + WoodPellets: 350 + Electricity_Cooling: 285 spm_unit: 5 - IncomeRange: 1 - Electricity_Heating: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - Electricity_Cooling: 600 - IncomeRange: 2 - Electricity_Heating: 535 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 565 - WoodPellets: 600 - Electricity_Cooling: 535 - IncomeRange: 3 - Electricity_Heating: 445 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 470 - WoodPellets: 506 - Electricity_Cooling: 445 - IncomeRange: 4 - Electricity_Heating: 320 - HeatingOil: 600 - LiquidGas: 550 - NaturalGas: 340 - WoodPellets: 360 - Electricity_Cooling: 320 + IncomeRange: 1: + Electricity_Heating: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + Electricity_Cooling: 600 + IncomeRange: 2: + Electricity_Heating: 535 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 565 + WoodPellets: 600 + Electricity_Cooling: 535 + IncomeRange: 3: + Electricity_Heating: 445 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 470 + WoodPellets: 506 + Electricity_Cooling: 445 + IncomeRange: 4: + Electricity_Heating: 320 + HeatingOil: 600 + LiquidGas: 550 + NaturalGas: 340 + WoodPellets: 360 + Electricity_Cooling: 320 -spm_unit: ">=6" + spm_unit: ">=6" + IncomeRange: 1: + Electricity_Heating: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + Electricity_Cooling: 600 + IncomeRange: 2: + Electricity_Heating: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + Electricity_Cooling: 600 + IncomeRange: 3: + Electricity_Heating: 500 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 530 + WoodPellets: 570 + Electricity_Cooling: 500 + IncomeRange: 4: + Electricity_Heating: 360 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 380 + WoodPellets: 410 + Electricity_Cooling: 360 - IncomeRange: 1 - Electricity_Heating: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - Electricity_Cooling: 600 - IncomeRange: 2 - Electricity_Heating: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - Electricity_Cooling: 600 - IncomeRange: 3 - Electricity_Heating: 500 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 530 - WoodPellets: 570 - Electricity_Cooling: 500 - IncomeRange: 4 - Electricity_Heating: 360 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 380 - WoodPellets: 410 - Electricity_Cooling: 360 - metadata: period: year unit: currency-USD 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#Pg=55 + - 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#Pg=55 From 9642f4a00de44000516a0462d0138e11d5d9ce27 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Sun, 29 Dec 2024 11:12:13 +0000 Subject: [PATCH 23/38] added variable breakdowns --- .../gov/states/or/liheap/payout_region1.yaml | 137 ++++++++---------- 1 file changed, 59 insertions(+), 78 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index f4882bdea0b..cb79df349e6 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -1,189 +1,170 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2021-10-01: - spm_unit: 1 - IncomeRange: 1: - Electricity_Heating: 410 + 1: + 1: + Electricity: 410 HeatingOil: 600 LiquidGas: 600 NaturalGas: 435 WoodPellets: 465 - Electricity_Cooling: 410 - IncomeRange: 2: - Electricity_Heating: 320 + 2: + Electricity: 320 HeatingOil: 600 LiquidGas: 550 NaturalGas: 340 WoodPellets: 360 - Electricity_Cooling: 320 - IncomeRange: 3: - Electricity_Heating: 265 + 3: + Electricity: 265 HeatingOil: 560 LiquidGas: 460 NaturalGas: 280 WoodPellets: 350 - Electricity_Cooling: 265 - IncomeRange: 4: - Electricity_Heating: 200 + 4: + Electricity: 200 HeatingOil: 405 LiquidGas: 330 NaturalGas: 200 WoodPellets: 350 - Electricity_Cooling: 200 - spm_unit: 2 - IncomeRange: 1: - Electricity_Heating: 530 + 2: + 1: + Electricity: 530 HeatingOil: 600 LiquidGas: 600 NaturalGas: 560 WoodPellets: 600 - Electricity_Cooling: 530 - IncomeRange: 2: - Electricity_Heating: 410 + 2: + Electricity: 410 HeatingOil: 600 LiquidGas: 600 NaturalGas: 435 WoodPellets: 465 - Electricity_Cooling: 410 - IncomeRange: 3: - Electricity_Heating: 345 + 3: + Electricity: 345 HeatingOil: 600 LiquidGas: 590 NaturalGas: 365 WoodPellets: 390 - Electricity_Cooling: 345 - IncomeRange: 4: - Electricity_Heating: 245 + 4: + Electricity: 245 HeatingOil: 520 LiquidGas: 425 NaturalGas: 260 WoodPellets: 350 - Electricity_Cooling: 245 - spm_unit: 3 - IncomeRange: 1: - Electricity_Heating: 530 + 3: + 1: + Electricity: 530 HeatingOil: 600 LiquidGas: 600 NaturalGas: 560 WoodPellets: 600 - Electricity_Cooling: 530 - IncomeRange: 2: - Electricity_Heating: 410 + 2: + Electricity: 410 HeatingOil: 600 LiquidGas: 600 NaturalGas: 435 WoodPellets: 465 - Electricity_Cooling: 410 - IncomeRange: 3: - Electricity_Heating: 345 + 3: + Electricity: 345 HeatingOil: 600 LiquidGas: 590 NaturalGas: 365 WoodPellets: 390 - Electricity_Cooling: 345 - IncomeRange: 4: - Electricity_Heating: 245 + 4: + Electricity: 245 HeatingOil: 520 LiquidGas: 425 NaturalGas: 260 WoodPellets: 350 - Electricity_Cooling: 245 - spm_unit: 4 - IncomeRange: 1: - Electricity_Heating: 600 + 4: + 1: + Electricity: 600 HeatingOil: 600 LiquidGas: 600 NaturalGas: 600 WoodPellets: 600 - Electricity_Cooling: 600 - IncomeRange: 2: - Electricity_Heating: 480 + 2: + Electricity: 480 HeatingOil: 600 LiquidGas: 600 NaturalGas: 510 WoodPellets: 545 - Electricity_Cooling: 480 - IncomeRange: 3: - Electricity_Heating: 400 + 3: + Electricity: 400 HeatingOil: 600 LiquidGas: 600 NaturalGas: 425 WoodPellets: 450 - Electricity_Cooling: 400 - IncomeRange: 4: - Electricity_Heating: 285 + 4: + Electricity: 285 HeatingOil: 600 LiquidGas: 495 NaturalGas: 305 WoodPellets: 350 - Electricity_Cooling: 285 - spm_unit: 5 - IncomeRange: 1: - Electricity_Heating: 600 + 5: + 1: + Electricity: 600 HeatingOil: 600 LiquidGas: 600 NaturalGas: 600 WoodPellets: 600 - Electricity_Cooling: 600 - IncomeRange: 2: - Electricity_Heating: 535 + 2: + Electricity: 535 HeatingOil: 600 LiquidGas: 600 NaturalGas: 565 WoodPellets: 600 - Electricity_Cooling: 535 - IncomeRange: 3: - Electricity_Heating: 445 + 3: + Electricity: 445 HeatingOil: 600 LiquidGas: 600 NaturalGas: 470 WoodPellets: 506 - Electricity_Cooling: 445 - IncomeRange: 4: - Electricity_Heating: 320 + 4: + Electricity: 320 HeatingOil: 600 LiquidGas: 550 NaturalGas: 340 WoodPellets: 360 - Electricity_Cooling: 320 - spm_unit: ">=6" - IncomeRange: 1: - Electricity_Heating: 600 + ">=6": + 1: + Electricity: 600 HeatingOil: 600 LiquidGas: 600 NaturalGas: 600 WoodPellets: 600 - Electricity_Cooling: 600 - IncomeRange: 2: - Electricity_Heating: 600 + 2: + Electricity: 600 HeatingOil: 600 LiquidGas: 600 NaturalGas: 600 WoodPellets: 600 - Electricity_Cooling: 600 - IncomeRange: 3: - Electricity_Heating: 500 + 3: + Electricity: 500 HeatingOil: 600 LiquidGas: 600 NaturalGas: 530 WoodPellets: 570 - Electricity_Cooling: 500 - IncomeRange: 4: - Electricity_Heating: 360 + 4: + Electricity: 360 HeatingOil: 600 LiquidGas: 600 NaturalGas: 380 WoodPellets: 410 - Electricity_Cooling: 360 metadata: period: year unit: currency-USD + label: + 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#Pg=55 From fb1bcd6359641223c152fcd211023bc669ced739 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Sun, 29 Dec 2024 12:40:47 +0000 Subject: [PATCH 24/38] 2021 Region 2 liheap payout --- .../gov/states/or/liheap/payout_region1.yaml | 16 +- .../gov/states/or/liheap/payout_region2.yaml | 170 ++++++++++++++++++ 2 files changed, 178 insertions(+), 8 deletions(-) create mode 100644 policyengine_us/parameters/gov/states/or/liheap/payout_region2.yaml diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index cb79df349e6..11116e35fc5 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -1,7 +1,7 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon -2021-10-01: - 1: +2021-01-01: + 1: 1: Electricity: 410 HeatingOil: 600 @@ -160,11 +160,11 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon metadata: period: year unit: currency-USD - label: - breakdown: - -spm_unit_size - -income_range - -utility_type + 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#Pg=55 + href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#Pg=55" 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..ed8b0e54571 --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region2.yaml @@ -0,0 +1,170 @@ +description: Payout from LIHEAP for Region 1 counties in the state of Oregon + +2021-01-01: + 1: + 1: + Electricity: 445 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 475 + WoodPellets: 505 + 2: + Electricity: 350 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 370 + WoodPellets: 395 + 3: + Electricity: 290 + HeatingOil: 600 + LiquidGas: 500 + NaturalGas: 305 + WoodPellets: 350 + 4: + Electricity: 210 + HeatingOil: 440 + LiquidGas: 360 + NaturalGas: 220 + WoodPellets: 350 + + 2: + 1: + Electricity: 575 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 450 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 475 + WoodPellets: 510 + 3: + Electricity: 375 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 395 + WoodPellets: 425 + 4: + Electricity: 270 + HeatingOil: 570 + LiquidGas: 465 + NaturalGas: 285 + WoodPellets: 350 + + 3: + 1: + Electricity: 575 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 450 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 475 + WoodPellets: 510 + 3: + Electricity: 375 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 395 + WoodPellets: 425 + 4: + Electricity: 270 + HeatingOil: 570 + LiquidGas: 465 + NaturalGas: 285 + WoodPellets: 350 + + 4: + 1: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 525 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 555 + WoodPellets: 590 + 3: + Electricity: 435 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 460 + WoodPellets: 495 + 4: + Electricity: 315 + HeatingOil: 600 + LiquidGas: 540 + NaturalGas: 330 + WoodPellets: 355 + + 5: + 1: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 585 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 3: + Electricity: 485 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 515 + WoodPellets: 550 + 4: + Electricity: 350 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 370 + WoodPellets: 395 + + ">=6": + 1: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 3: + Electricity: 545 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 580 + WoodPellets: 600 + 4: + Electricity: 395 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 415 + WoodPellets: 445 + +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#Pg=55" From 0df0c149eb412e112f721d8317bf11a700b43730 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 30 Dec 2024 10:06:51 +0000 Subject: [PATCH 25/38] region 1 payout for years 2022, 2023 aqnd 2024 --- .../gov/states/or/liheap/payout_region1.yaml | 477 +++++++++++++++++- 1 file changed, 475 insertions(+), 2 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index 11116e35fc5..391a6bc4819 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -123,11 +123,11 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon HeatingOil: 600 LiquidGas: 600 NaturalGas: 470 - WoodPellets: 506 + WoodPellets: 505 4: Electricity: 320 HeatingOil: 600 - LiquidGas: 550 + LiquidGas: 515 NaturalGas: 340 WoodPellets: 360 @@ -157,6 +157,477 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon NaturalGas: 380 WoodPellets: 410 +2022-01-01: + 1: + 1: + Electricity: 410 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 425 + WoodPellets: 470 + 2: + Electricity: 320 + HeatingOil: 600 + LiquidGas: 515 + NaturalGas: 330 + WoodPellets: 365 + 3: + Electricity: 265 + HeatingOil: 550 + LiquidGas: 425 + NaturalGas: 275 + WoodPellets: 350 + 4: + Electricity: 200 + HeatingOil: 395 + LiquidGas: 305 + NaturalGas: 200 + WoodPellets: 350 + + 2: + 1: + Electricity: 530 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 550 + WoodPellets: 600 + 2: + Electricity: 415 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 430 + WoodPellets: 470 + 3: + Electricity: 345 + HeatingOil: 600 + LiquidGas: 550 + NaturalGas: 355 + WoodPellets: 390 + 4: + Electricity: 245 + HeatingOil: 510 + LiquidGas: 395 + NaturalGas: 255 + WoodPellets: 350 + + 3: + 1: + Electricity: 530 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 550 + WoodPellets: 600 + 2: + Electricity: 415 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 430 + WoodPellets: 470 + 3: + Electricity: 345 + HeatingOil: 600 + LiquidGas: 550 + NaturalGas: 355 + WoodPellets: 390 + 4: + Electricity: 245 + HeatingOil: 510 + LiquidGas: 395 + NaturalGas: 255 + WoodPellets: 350 + + 4: + 1: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 480 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 500 + WoodPellets: 550 + 3: + Electricity: 400 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 415 + WoodPellets: 455 + 4: + Electricity: 285 + HeatingOil: 590 + LiquidGas: 460 + NaturalGas: 300 + WoodPellets: 350 + + 5: + 1: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 535 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 555 + WoodPellets: 600 + 3: + Electricity: 445 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 465 + WoodPellets: 510 + 4: + Electricity: 320 + HeatingOil: 600 + LiquidGas: 515 + NaturalGas: 335 + WoodPellets: 365 + + ">=6": + 1: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 3: + Electricity: 505 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 525 + WoodPellets: 575 + 4: + Electricity: 360 + HeatingOil: 600 + LiquidGas: 580 + NaturalGas: 375 + WoodPellets: 410 + +2023-01-01: + 1: + 1: + Electricity: 450 + HeatingOil: 750 + LiquidGas: 720 + NaturalGas: 470 + WoodPellets: 515 + 2: + Electricity: 350 + HeatingOil: 720 + LiquidGas: 560 + NaturalGas: 365 + WoodPellets: 400 + 3: + Electricity: 290 + HeatingOil: 600 + LiquidGas: 470 + NaturalGas: 305 + WoodPellets: 350 + 4: + Electricity: 250 + HeatingOil: 430 + LiquidGas: 335 + NaturalGas: 250 + WoodPellets: 350 + + 2: + 1: + Electricity: 580 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 605 + WoodPellets: 665 + 2: + Electricity: 455 + HeatingOil: 750 + LiquidGas: 725 + NaturalGas: 470 + WoodPellets: 515 + 3: + Electricity: 375 + HeatingOil: 750 + LiquidGas: 605 + NaturalGas: 390 + WoodPellets: 430 + 4: + Electricity: 270 + HeatingOil: 560 + LiquidGas: 435 + NaturalGas: 280 + WoodPellets: 350 + + 3: + 1: + Electricity: 580 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 605 + WoodPellets: 665 + 2: + Electricity: 455 + HeatingOil: 750 + LiquidGas: 725 + NaturalGas: 470 + WoodPellets: 515 + 3: + Electricity: 375 + HeatingOil: 750 + LiquidGas: 605 + NaturalGas: 390 + WoodPellets: 430 + 4: + Electricity: 270 + HeatingOil: 560 + LiquidGas: 435 + NaturalGas: 280 + WoodPellets: 350 + + 4: + 1: + Electricity: 675 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 705 + WoodPellets: 750 + 2: + Electricity: 525 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 550 + WoodPellets: 600 + 3: + Electricity: 440 + HeatingOil: 750 + LiquidGas: 705 + NaturalGas: 455 + WoodPellets: 500 + 4: + Electricity: 315 + HeatingOil: 650 + LiquidGas: 505 + NaturalGas: 330 + WoodPellets: 360 + + 5: + 1: + Electricity: 750 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 750 + WoodPellets: 750 + 2: + Electricity: 585 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 610 + WoodPellets: 670 + 3: + Electricity: 490 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 510 + WoodPellets: 560 + 4: + Electricity: 350 + HeatingOil: 725 + LiquidGas: 565 + NaturalGas: 365 + WoodPellets: 400 + + ">=6": + 1: + Electricity: 750 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 750 + WoodPellets: 750 + 2: + Electricity: 660 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 690 + WoodPellets: 750 + 3: + Electricity: 550 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 575 + WoodPellets: 630 + 4: + Electricity: 395 + HeatingOil: 750 + LiquidGas: 635 + NaturalGas: 410 + WoodPellets: 450 + +2024-01-01: + 1: + 1: + Electricity: 380 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 485 + WoodPellets: 710 + 2: + Electricity: 295 + HeatingOil: 610 + LiquidGas: 670 + NaturalGas: 380 + WoodPellets: 550 + 3: + Electricity: 250 + HeatingOil: 510 + LiquidGas: 555 + NaturalGas: 315 + WoodPellets: 460 + 4: + Electricity: 250 + HeatingOil: 365 + LiquidGas: 400 + NaturalGas: 250 + WoodPellets: 350 + + 2: + 1: + Electricity: 595 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 750 + WoodPellets: 750 + 2: + Electricity: 465 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 595 + WoodPellets: 750 + 3: + Electricity: 385 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 495 + WoodPellets: 720 + 4: + Electricity: 275 + HeatingOil: 575 + LiquidGas: 630 + NaturalGas: 355 + WoodPellets: 520 + + 3: + 1: + Electricity: 605 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 750 + WoodPellets: 750 + 2: + Electricity: 470 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 605 + WoodPellets: 750 + 3: + Electricity: 390 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 505 + WoodPellets: 735 + 4: + Electricity: 280 + HeatingOil: 585 + LiquidGas: 640 + NaturalGas: 360 + WoodPellets: 530 + + 4: + 1: + Electricity: 675 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 750 + WoodPellets: 750 + 2: + Electricity: 525 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 675 + WoodPellets: 600 + 3: + Electricity: 435 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 560 + WoodPellets: 750 + 4: + Electricity: 315 + HeatingOil: 650 + LiquidGas: 715 + NaturalGas: 405 + WoodPellets: 585 + + 5: + 1: + Electricity: 710 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 750 + WoodPellets: 750 + 2: + Electricity: 550 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 705 + WoodPellets: 750 + 3: + Electricity: 460 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 590 + WoodPellets: 750 + 4: + Electricity: 330 + HeatingOil: 685 + LiquidGas: 750 + NaturalGas: 425 + WoodPellets: 615 + + ">=6": + 1: + Electricity: 750 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 750 + WoodPellets: 750 + 2: + Electricity: 590 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 750 + WoodPellets: 750 + 3: + Electricity: 490 + HeatingOil: 750 + LiquidGas: 750 + NaturalGas: 630 + WoodPellets: 630 + 4: + Electricity: 355 + HeatingOil: 735 + LiquidGas: 750 + NaturalGas: 455 + WoodPellets: 660 + metadata: period: year unit: currency-USD @@ -168,3 +639,5 @@ metadata: 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#Pg=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#Pg=56" From 5932709a48efed6d304674a1cc3ab6466e1f6e93 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Wed, 1 Jan 2025 09:52:53 +0000 Subject: [PATCH 26/38] added utlity type enum --- .../gov/states/or/liheap/payout_region1.yaml | 307 +++++++++--------- .../gov/states/or/liheap/utility_type.py | 18 + 2 files changed, 173 insertions(+), 152 deletions(-) create mode 100644 policyengine_us/parameters/gov/states/or/liheap/utility_type.py diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index 391a6bc4819..3c4657ea113 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -1,161 +1,164 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon +1: + 1: + ELECTRICITY: + 2021-01-01: 410 + HEATING_OIL: + 2021-01-01: 600 + LIQUID_GAS: + 2021-01-0: 600 + NATURAL_GAS: + 2021-01-01: 435 + WOOD_PELLETS: + 2021-01-01: 465 + 2: + Electricity: 320 + HeatingOil: 600 + LiquidGas: 550 + NaturalGas: 340 + WoodPellets: 360 + 3: + Electricity: 265 + HeatingOil: 560 + LiquidGas: 460 + NaturalGas: 280 + WoodPellets: 350 + 4: + Electricity: 200 + HeatingOil: 405 + LiquidGas: 330 + NaturalGas: 200 + WoodPellets: 350 -2021-01-01: +2: 1: - 1: - Electricity: 410 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 435 - WoodPellets: 465 - 2: - Electricity: 320 - HeatingOil: 600 - LiquidGas: 550 - NaturalGas: 340 - WoodPellets: 360 - 3: - Electricity: 265 - HeatingOil: 560 - LiquidGas: 460 - NaturalGas: 280 - WoodPellets: 350 - 4: - Electricity: 200 - HeatingOil: 405 - LiquidGas: 330 - NaturalGas: 200 - WoodPellets: 350 + Electricity: 530 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 560 + WoodPellets: 600 + 2: + Electricity: 410 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 435 + WoodPellets: 465 + 3: + Electricity: 345 + HeatingOil: 600 + LiquidGas: 590 + NaturalGas: 365 + WoodPellets: 390 + 4: + Electricity: 245 + HeatingOil: 520 + LiquidGas: 425 + NaturalGas: 260 + WoodPellets: 350 +3: + 1: + Electricity: 530 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 560 + WoodPellets: 600 2: - 1: - Electricity: 530 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 560 - WoodPellets: 600 - 2: - Electricity: 410 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 435 - WoodPellets: 465 - 3: - Electricity: 345 - HeatingOil: 600 - LiquidGas: 590 - NaturalGas: 365 - WoodPellets: 390 - 4: - Electricity: 245 - HeatingOil: 520 - LiquidGas: 425 - NaturalGas: 260 - WoodPellets: 350 - + Electricity: 410 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 435 + WoodPellets: 465 3: - 1: - Electricity: 530 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 560 - WoodPellets: 600 - 2: - Electricity: 410 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 435 - WoodPellets: 465 - 3: - Electricity: 345 - HeatingOil: 600 - LiquidGas: 590 - NaturalGas: 365 - WoodPellets: 390 - 4: - Electricity: 245 - HeatingOil: 520 - LiquidGas: 425 - NaturalGas: 260 - WoodPellets: 350 - + Electricity: 345 + HeatingOil: 600 + LiquidGas: 590 + NaturalGas: 365 + WoodPellets: 390 4: - 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 2: - Electricity: 480 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 510 - WoodPellets: 545 - 3: - Electricity: 400 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 425 - WoodPellets: 450 - 4: - Electricity: 285 - HeatingOil: 600 - LiquidGas: 495 - NaturalGas: 305 - WoodPellets: 350 - - 5: - 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 2: - Electricity: 535 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 565 - WoodPellets: 600 - 3: - Electricity: 445 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 470 - WoodPellets: 505 - 4: - Electricity: 320 - HeatingOil: 600 - LiquidGas: 515 - NaturalGas: 340 - WoodPellets: 360 + Electricity: 245 + HeatingOil: 520 + LiquidGas: 425 + NaturalGas: 260 + WoodPellets: 350 + +4: + 1: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 480 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 510 + WoodPellets: 545 + 3: + Electricity: 400 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 425 + WoodPellets: 450 + 4: + Electricity: 285 + HeatingOil: 600 + LiquidGas: 495 + NaturalGas: 305 + WoodPellets: 350 - ">=6": - 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 2: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 3: - Electricity: 500 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 530 - WoodPellets: 570 - 4: - Electricity: 360 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 380 - WoodPellets: 410 +5: + 1: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 535 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 565 + WoodPellets: 600 + 3: + Electricity: 445 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 470 + WoodPellets: 505 + 4: + Electricity: 320 + HeatingOil: 600 + LiquidGas: 515 + NaturalGas: 340 + WoodPellets: 360 + +6 + 1: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 2: + Electricity: 600 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 600 + WoodPellets: 600 + 3: + Electricity: 500 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 530 + WoodPellets: 570 + 4: + Electricity: 360 + HeatingOil: 600 + LiquidGas: 600 + NaturalGas: 380 + WoodPellets: 410 2022-01-01: 1: @@ -602,7 +605,7 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon NaturalGas: 425 WoodPellets: 615 - ">=6": + 1: Electricity: 750 HeatingOil: 750 @@ -633,7 +636,7 @@ metadata: unit: currency-USD label: Annual LIHEAP Energy Assistance Payments by Unit Size, Income Range, and Utility Type breakdown: - - spm_unit_size + - spm - income_range - utility_type reference: diff --git a/policyengine_us/parameters/gov/states/or/liheap/utility_type.py b/policyengine_us/parameters/gov/states/or/liheap/utility_type.py new file mode 100644 index 00000000000..0c1ae83463c --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/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 utlility_type(Variable): + value_type = Enum + entity = spm_unit + possible_values = UtilityType + default_value = UtilityType.ELECTRICITY + definition_period = YEAR + label = "Utiltiy types for LIHEAP payout" \ No newline at end of file From c87690871260e944d708dd8f4efcfbf71b770ca3 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Wed, 1 Jan 2025 17:50:36 +0000 Subject: [PATCH 27/38] Format --- .../gov/states/or/liheap/payout_region1.yaml | 1181 +++++++++-------- .../states/or/liheap/region1_counties.yaml | 2 +- .../gov/states/or/liheap/utility_type.py | 2 +- 3 files changed, 595 insertions(+), 590 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index 3c4657ea113..a9b4e08f933 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -1,642 +1,647 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon + 1: 1: ELECTRICITY: 2021-01-01: 410 + 2022-01-01: 410 + 2023-01-01: 450 + 2024-01-01: HEATING_OIL: 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: 750 + 2024-01-01: LIQUID_GAS: - 2021-01-0: 600 + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: 720 + 2024-01-01: NATURAL_GAS: 2021-01-01: 435 + 2022-01-01: 425 + 2023-01-01: 470 + 2024-01-01: WOOD_PELLETS: 2021-01-01: 465 + 2022-01-01: 470 + 2023-01-01: 515 + 2024-01-01: 2: - Electricity: 320 - HeatingOil: 600 - LiquidGas: 550 - NaturalGas: 340 - WoodPellets: 360 + ELECTRICITY: + 2021-01-01: 320 + 2022-01-01: 320 + 2023-01-01: 350 + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: 720 + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 550 + 2022-01-01: 515 + 2023-01-01: 560 + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 340 + 2022-01-01: 330 + 2023-01-01: 365 + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 360 + 2022-01-01: 365 + 2023-01-01: 400 + 2024-01-01: 3: - Electricity: 265 - HeatingOil: 560 - LiquidGas: 460 - NaturalGas: 280 - WoodPellets: 350 + ELECTRICITY: + 2021-01-01: 265 + 2022-01-01: 265 + 2023-01-01: 290 + 2024-01-01: + HEATING_OIL: + 2021-01-01: 560 + 2022-01-01: 550 + 2023-01-01: 600 + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 460 + 2022-01-01: 425 + 2023-01-01: 470 + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 280 + 2022-01-01: 275 + 2023-01-01: 305 + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 350 + 2022-01-01: 350 + 2023-01-01: 350 + 2024-01-01: 4: - Electricity: 200 - HeatingOil: 405 - LiquidGas: 330 - NaturalGas: 200 - WoodPellets: 350 + ELECTRICITY: + 2021-01-01: 200 + 2022-01-01: 200 + 2023-01-01: 250 + 2024-01-01: + HEATING_OIL: + 2021-01-01: 405 + 2022-01-01: 395 + 2023-01-01: 430 + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 330 + 2022-01-01: 305 + 2023-01-01: 335 + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 200 + 2022-01-01: 200 + 2023-01-01: 250 + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 350 + 2022-01-01: 350 + 2023-01-01: 350 + 2024-01-01: 2: 1: - Electricity: 530 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 560 - WoodPellets: 600 + ELECTRICITY: + 2021-01-01: 530 + 2022-01-01: 530 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 560 + 2022-01-01: 550 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: 2: - Electricity: 410 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 435 - WoodPellets: 465 + ELECTRICITY: + 2021-01-01: 410 + 2022-01-01: 415 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 435 + 2022-01-01: 430 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 465 + 2022-01-01: 470 + 2023-01-01: + 2024-01-01: 3: - Electricity: 345 - HeatingOil: 600 - LiquidGas: 590 - NaturalGas: 365 - WoodPellets: 390 + ELECTRICITY: + 2021-01-01: 345 + 2022-01-01: 345 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 590 + 2022-01-01: 550 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 365 + 2022-01-01: 355 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 390 + 2022-01-01: 390 + 2023-01-01: + 2024-01-01: 4: - Electricity: 245 - HeatingOil: 520 - LiquidGas: 425 - NaturalGas: 260 - WoodPellets: 350 + ELECTRICITY: + 2021-01-01: 245 + 2022-01-01: 245 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 520 + 2022-01-01: 510 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 425 + 2022-01-01: 395 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 260 + 2022-01-01: 255 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 350 + 2022-01-01: 350 + 2023-01-01: + 2024-01-01: 3: 1: - Electricity: 530 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 560 - WoodPellets: 600 + ELECTRICITY: + 2021-01-01: 530 + 2022-01-01: 530 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 560 + 2022-01-01: 550 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: 2: - Electricity: 410 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 435 - WoodPellets: 465 + ELECTRICITY: + 2021-01-01: 410 + 2022-01-01: 415 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 435 + 2022-01-01: 430 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 465 + 2022-01-01: 470 + 2023-01-01: + 2024-01-01: 3: - Electricity: 345 - HeatingOil: 600 - LiquidGas: 590 - NaturalGas: 365 - WoodPellets: 390 + ELECTRICITY: + 2021-01-01: 345 + 2022-01-01: 345 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 590 + 2022-01-01: 550 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 365 + 2022-01-01: 355 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 390 + 2022-01-01: 390 + 2023-01-01: + 2024-01-01: 4: - Electricity: 245 - HeatingOil: 520 - LiquidGas: 425 - NaturalGas: 260 - WoodPellets: 350 + ELECTRICITY: + 2021-01-01: 245 + 2022-01-01: 245 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 520 + 2022-01-01: 510 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 425 + 2022-01-01: 395 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 260 + 2022-01-01: 255 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 350 + 2022-01-01: 360 + 2023-01-01: + 2024-01-01: 4: 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 + ELECTRICITY: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: 2: - Electricity: 480 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 510 - WoodPellets: 545 + ELECTRICITY: + 2021-01-01: 480 + 2022-01-01: 480 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 510 + 2022-01-01: 500 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 545 + 2022-01-01: 550 + 2023-01-01: + 2024-01-01: 3: - Electricity: 400 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 425 - WoodPellets: 450 + ELECTRICITY: + 2021-01-01: 400 + 2022-01-01: 400 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 425 + 2022-01-01: 415 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 450 + 2022-01-01: 455 + 2023-01-01: + 2024-01-01: 4: - Electricity: 285 - HeatingOil: 600 - LiquidGas: 495 - NaturalGas: 305 - WoodPellets: 350 + ELECTRICITY: + 2021-01-01: 285 + 2022-01-01: 285 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 590 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 495 + 2022-01-01: 460 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 305 + 2022-01-01: 300 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 350 + 2022-01-01: 350 + 2023-01-01: + 2024-01-01: 5: 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 + ELECTRICITY: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: 2: - Electricity: 535 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 565 - WoodPellets: 600 + ELECTRICITY: + 2021-01-01: 535 + 2022-01-01: 535 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 565 + 2022-01-01: 555 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: 3: - Electricity: 445 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 470 - WoodPellets: 505 + ELECTRICITY: + 2021-01-01: 445 + 2022-01-01: 445 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 470 + 2022-01-01: 465 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 505 + 2022-01-01: 510 + 2023-01-01: + 2024-01-01: 4: - Electricity: 320 - HeatingOil: 600 - LiquidGas: 515 - NaturalGas: 340 - WoodPellets: 360 + ELECTRICITY: + 2021-01-01: 320 + 2022-01-01: 320 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 515 + 2022-01-01: 515 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 340 + 2022-01-01: 335 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 360 + 2022-01-01: 365 + 2023-01-01: + 2024-01-01: 6 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 2: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 3: - Electricity: 500 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 530 - WoodPellets: 570 - 4: - Electricity: 360 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 380 - WoodPellets: 410 - -2022-01-01: - 1: - 1: - Electricity: 410 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 425 - WoodPellets: 470 - 2: - Electricity: 320 - HeatingOil: 600 - LiquidGas: 515 - NaturalGas: 330 - WoodPellets: 365 - 3: - Electricity: 265 - HeatingOil: 550 - LiquidGas: 425 - NaturalGas: 275 - WoodPellets: 350 - 4: - Electricity: 200 - HeatingOil: 395 - LiquidGas: 305 - NaturalGas: 200 - WoodPellets: 350 - - 2: - 1: - Electricity: 530 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 550 - WoodPellets: 600 - 2: - Electricity: 415 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 430 - WoodPellets: 470 - 3: - Electricity: 345 - HeatingOil: 600 - LiquidGas: 550 - NaturalGas: 355 - WoodPellets: 390 - 4: - Electricity: 245 - HeatingOil: 510 - LiquidGas: 395 - NaturalGas: 255 - WoodPellets: 350 - - 3: - 1: - Electricity: 530 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 550 - WoodPellets: 600 - 2: - Electricity: 415 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 430 - WoodPellets: 470 - 3: - Electricity: 345 - HeatingOil: 600 - LiquidGas: 550 - NaturalGas: 355 - WoodPellets: 390 - 4: - Electricity: 245 - HeatingOil: 510 - LiquidGas: 395 - NaturalGas: 255 - WoodPellets: 350 - - 4: - 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 2: - Electricity: 480 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 500 - WoodPellets: 550 - 3: - Electricity: 400 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 415 - WoodPellets: 455 - 4: - Electricity: 285 - HeatingOil: 590 - LiquidGas: 460 - NaturalGas: 300 - WoodPellets: 350 - - 5: - 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 2: - Electricity: 535 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 555 - WoodPellets: 600 - 3: - Electricity: 445 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 465 - WoodPellets: 510 - 4: - Electricity: 320 - HeatingOil: 600 - LiquidGas: 515 - NaturalGas: 335 - WoodPellets: 365 - - ">=6": - 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 2: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 - 3: - Electricity: 505 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 525 - WoodPellets: 575 - 4: - Electricity: 360 - HeatingOil: 600 - LiquidGas: 580 - NaturalGas: 375 - WoodPellets: 410 - -2023-01-01: - 1: - 1: - Electricity: 450 - HeatingOil: 750 - LiquidGas: 720 - NaturalGas: 470 - WoodPellets: 515 - 2: - Electricity: 350 - HeatingOil: 720 - LiquidGas: 560 - NaturalGas: 365 - WoodPellets: 400 - 3: - Electricity: 290 - HeatingOil: 600 - LiquidGas: 470 - NaturalGas: 305 - WoodPellets: 350 - 4: - Electricity: 250 - HeatingOil: 430 - LiquidGas: 335 - NaturalGas: 250 - WoodPellets: 350 - - 2: - 1: - Electricity: 580 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 605 - WoodPellets: 665 - 2: - Electricity: 455 - HeatingOil: 750 - LiquidGas: 725 - NaturalGas: 470 - WoodPellets: 515 - 3: - Electricity: 375 - HeatingOil: 750 - LiquidGas: 605 - NaturalGas: 390 - WoodPellets: 430 - 4: - Electricity: 270 - HeatingOil: 560 - LiquidGas: 435 - NaturalGas: 280 - WoodPellets: 350 - - 3: - 1: - Electricity: 580 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 605 - WoodPellets: 665 - 2: - Electricity: 455 - HeatingOil: 750 - LiquidGas: 725 - NaturalGas: 470 - WoodPellets: 515 - 3: - Electricity: 375 - HeatingOil: 750 - LiquidGas: 605 - NaturalGas: 390 - WoodPellets: 430 - 4: - Electricity: 270 - HeatingOil: 560 - LiquidGas: 435 - NaturalGas: 280 - WoodPellets: 350 - - 4: - 1: - Electricity: 675 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 705 - WoodPellets: 750 - 2: - Electricity: 525 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 550 - WoodPellets: 600 - 3: - Electricity: 440 - HeatingOil: 750 - LiquidGas: 705 - NaturalGas: 455 - WoodPellets: 500 - 4: - Electricity: 315 - HeatingOil: 650 - LiquidGas: 505 - NaturalGas: 330 - WoodPellets: 360 - - 5: - 1: - Electricity: 750 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 750 - WoodPellets: 750 - 2: - Electricity: 585 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 610 - WoodPellets: 670 - 3: - Electricity: 490 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 510 - WoodPellets: 560 - 4: - Electricity: 350 - HeatingOil: 725 - LiquidGas: 565 - NaturalGas: 365 - WoodPellets: 400 - - ">=6": - 1: - Electricity: 750 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 750 - WoodPellets: 750 - 2: - Electricity: 660 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 690 - WoodPellets: 750 - 3: - Electricity: 550 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 575 - WoodPellets: 630 - 4: - Electricity: 395 - HeatingOil: 750 - LiquidGas: 635 - NaturalGas: 410 - WoodPellets: 450 - -2024-01-01: - 1: - 1: - Electricity: 380 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 485 - WoodPellets: 710 - 2: - Electricity: 295 - HeatingOil: 610 - LiquidGas: 670 - NaturalGas: 380 - WoodPellets: 550 - 3: - Electricity: 250 - HeatingOil: 510 - LiquidGas: 555 - NaturalGas: 315 - WoodPellets: 460 - 4: - Electricity: 250 - HeatingOil: 365 - LiquidGas: 400 - NaturalGas: 250 - WoodPellets: 350 - + ELECTRICITY: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: 2: - 1: - Electricity: 595 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 750 - WoodPellets: 750 - 2: - Electricity: 465 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 595 - WoodPellets: 750 - 3: - Electricity: 385 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 495 - WoodPellets: 720 - 4: - Electricity: 275 - HeatingOil: 575 - LiquidGas: 630 - NaturalGas: 355 - WoodPellets: 520 - + ELECTRICITY: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: 3: - 1: - Electricity: 605 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 750 - WoodPellets: 750 - 2: - Electricity: 470 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 605 - WoodPellets: 750 - 3: - Electricity: 390 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 505 - WoodPellets: 735 - 4: - Electricity: 280 - HeatingOil: 585 - LiquidGas: 640 - NaturalGas: 360 - WoodPellets: 530 - + ELECTRICITY: + 2021-01-01: 500 + 2022-01-01: 505 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 530 + 2022-01-01: 525 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 570 + 2022-01-01: 575 + 2023-01-01: + 2024-01-01: 4: - 1: - Electricity: 675 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 750 - WoodPellets: 750 - 2: - Electricity: 525 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 675 - WoodPellets: 600 - 3: - Electricity: 435 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 560 - WoodPellets: 750 - 4: - Electricity: 315 - HeatingOil: 650 - LiquidGas: 715 - NaturalGas: 405 - WoodPellets: 585 - - 5: - 1: - Electricity: 710 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 750 - WoodPellets: 750 - 2: - Electricity: 550 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 705 - WoodPellets: 750 - 3: - Electricity: 460 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 590 - WoodPellets: 750 - 4: - Electricity: 330 - HeatingOil: 685 - LiquidGas: 750 - NaturalGas: 425 - WoodPellets: 615 - - - 1: - Electricity: 750 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 750 - WoodPellets: 750 - 2: - Electricity: 590 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 750 - WoodPellets: 750 - 3: - Electricity: 490 - HeatingOil: 750 - LiquidGas: 750 - NaturalGas: 630 - WoodPellets: 630 - 4: - Electricity: 355 - HeatingOil: 735 - LiquidGas: 750 - NaturalGas: 455 - WoodPellets: 660 + ELECTRICITY: + 2021-01-01: 360 + 2022-01-01: 360 + 2023-01-01: + 2024-01-01: + HEATING_OIL: + 2021-01-01: 600 + 2022-01-01: 600 + 2023-01-01: + 2024-01-01: + LIQUID_GAS: + 2021-01-01: 600 + 2022-01-01: 580 + 2023-01-01: + 2024-01-01: + NATURAL_GAS: + 2021-01-01: 380 + 2022-01-01: 375 + 2023-01-01: + 2024-01-01: + WOOD_PELLETS: + 2021-01-01: 410 + 2022-01-01: 410 + 2023-01-01: + 2024-01-01: metadata: period: year unit: currency-USD label: Annual LIHEAP Energy Assistance Payments by Unit Size, Income Range, and Utility Type breakdown: - - spm + - spm_unit_size - income_range - utility_type reference: diff --git a/policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml b/policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml index 22acb43c335..9c73fc13a07 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml @@ -26,4 +26,4 @@ values: - POLK_COUNTY_OR - TILLAMOOK_COUNTY_OR - WASHINGTON_COUNTY_OR - - YAMHILL_COUNTY_OR \ No newline at end of file + - YAMHILL_COUNTY_OR diff --git a/policyengine_us/parameters/gov/states/or/liheap/utility_type.py b/policyengine_us/parameters/gov/states/or/liheap/utility_type.py index 0c1ae83463c..a271911d295 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/utility_type.py +++ b/policyengine_us/parameters/gov/states/or/liheap/utility_type.py @@ -15,4 +15,4 @@ class utlility_type(Variable): possible_values = UtilityType default_value = UtilityType.ELECTRICITY definition_period = YEAR - label = "Utiltiy types for LIHEAP payout" \ No newline at end of file + label = "Utiltiy types for LIHEAP payout" From 7fb511378f72484f0cdfcec3442669b82cdf2a40 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Thu, 2 Jan 2025 06:25:37 +0000 Subject: [PATCH 28/38] finshed region 1 payout --- .../gov/states/or/liheap/payout_region1.yaml | 436 +++++++++--------- 1 file changed, 218 insertions(+), 218 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index a9b4e08f933..582de229276 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -6,635 +6,635 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2021-01-01: 410 2022-01-01: 410 2023-01-01: 450 - 2024-01-01: + 2024-01-01: 380 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 2023-01-01: 720 - 2024-01-01: + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 435 2022-01-01: 425 2023-01-01: 470 - 2024-01-01: + 2024-01-01: 485 WOOD_PELLETS: 2021-01-01: 465 2022-01-01: 470 2023-01-01: 515 - 2024-01-01: + 2024-01-01: 710 2: ELECTRICITY: 2021-01-01: 320 2022-01-01: 320 2023-01-01: 350 - 2024-01-01: + 2024-01-01: 295 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 2023-01-01: 720 - 2024-01-01: + 2024-01-01: 610 LIQUID_GAS: 2021-01-01: 550 2022-01-01: 515 2023-01-01: 560 - 2024-01-01: + 2024-01-01: 670 NATURAL_GAS: 2021-01-01: 340 2022-01-01: 330 2023-01-01: 365 - 2024-01-01: + 2024-01-01: 380 WOOD_PELLETS: 2021-01-01: 360 2022-01-01: 365 2023-01-01: 400 - 2024-01-01: + 2024-01-01: 550 3: ELECTRICITY: 2021-01-01: 265 2022-01-01: 265 2023-01-01: 290 - 2024-01-01: + 2024-01-01: 250 HEATING_OIL: 2021-01-01: 560 2022-01-01: 550 2023-01-01: 600 - 2024-01-01: + 2024-01-01: 510 LIQUID_GAS: 2021-01-01: 460 2022-01-01: 425 2023-01-01: 470 - 2024-01-01: + 2024-01-01: 555 NATURAL_GAS: 2021-01-01: 280 2022-01-01: 275 - 2023-01-01: 305 + 2023-01-01: 315 2024-01-01: WOOD_PELLETS: 2021-01-01: 350 2022-01-01: 350 2023-01-01: 350 - 2024-01-01: + 2024-01-01: 460 4: ELECTRICITY: 2021-01-01: 200 2022-01-01: 200 2023-01-01: 250 - 2024-01-01: + 2024-01-01: 250 HEATING_OIL: 2021-01-01: 405 2022-01-01: 395 - 2023-01-01: 430 + 2023-01-01: 510 2024-01-01: LIQUID_GAS: 2021-01-01: 330 2022-01-01: 305 2023-01-01: 335 - 2024-01-01: + 2024-01-01: 555 NATURAL_GAS: 2021-01-01: 200 2022-01-01: 200 2023-01-01: 250 - 2024-01-01: + 2024-01-01: 315 WOOD_PELLETS: 2021-01-01: 350 2022-01-01: 350 2023-01-01: 350 - 2024-01-01: + 2024-01-01: 460 2: 1: ELECTRICITY: 2021-01-01: 530 2022-01-01: 530 - 2023-01-01: + 2023-01-01: 580 2024-01-01: HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 595 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 560 2022-01-01: 550 - 2023-01-01: - 2024-01-01: + 2023-01-01: 605 + 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 665 + 2024-01-01: 750 2: ELECTRICITY: 2021-01-01: 410 2022-01-01: 415 - 2023-01-01: - 2024-01-01: + 2023-01-01: 455 + 2024-01-01: 465 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 725 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 435 2022-01-01: 430 - 2023-01-01: - 2024-01-01: + 2023-01-01: 470 + 2024-01-01: 595 WOOD_PELLETS: 2021-01-01: 465 2022-01-01: 470 - 2023-01-01: - 2024-01-01: + 2023-01-01: 515 + 2024-01-01: 750 3: ELECTRICITY: 2021-01-01: 345 2022-01-01: 345 - 2023-01-01: - 2024-01-01: + 2023-01-01: 375 + 2024-01-01: 385 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 590 2022-01-01: 550 - 2023-01-01: - 2024-01-01: + 2023-01-01: 605 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 365 2022-01-01: 355 - 2023-01-01: - 2024-01-01: + 2023-01-01: 390 + 2024-01-01: 595 WOOD_PELLETS: 2021-01-01: 390 2022-01-01: 390 - 2023-01-01: - 2024-01-01: + 2023-01-01: 430 + 2024-01-01: 750 4: ELECTRICITY: 2021-01-01: 245 2022-01-01: 245 - 2023-01-01: - 2024-01-01: + 2023-01-01: 270 + 2024-01-01: 275 HEATING_OIL: 2021-01-01: 520 2022-01-01: 510 - 2023-01-01: - 2024-01-01: + 2023-01-01: 560 + 2024-01-01: 575 LIQUID_GAS: 2021-01-01: 425 2022-01-01: 395 - 2023-01-01: - 2024-01-01: + 2023-01-01: 435 + 2024-01-01: 630 NATURAL_GAS: 2021-01-01: 260 2022-01-01: 255 - 2023-01-01: - 2024-01-01: + 2023-01-01: 280 + 2024-01-01: 355 WOOD_PELLETS: 2021-01-01: 350 2022-01-01: 350 - 2023-01-01: - 2024-01-01: + 2023-01-01: 350 + 2024-01-01: 520 3: 1: ELECTRICITY: 2021-01-01: 530 2022-01-01: 530 - 2023-01-01: - 2024-01-01: + 2023-01-01: 580 + 2024-01-01: 605 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 560 2022-01-01: 550 - 2023-01-01: - 2024-01-01: + 2023-01-01: 605 + 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 665 + 2024-01-01: 750 2: ELECTRICITY: 2021-01-01: 410 2022-01-01: 415 - 2023-01-01: - 2024-01-01: + 2023-01-01: 455 + 2024-01-01: 470 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 725 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 435 2022-01-01: 430 - 2023-01-01: - 2024-01-01: + 2023-01-01: 470 + 2024-01-01: 605 WOOD_PELLETS: 2021-01-01: 465 2022-01-01: 470 - 2023-01-01: - 2024-01-01: + 2023-01-01: 515 + 2024-01-01: 750 3: ELECTRICITY: 2021-01-01: 345 2022-01-01: 345 - 2023-01-01: - 2024-01-01: + 2023-01-01: 375 + 2024-01-01: 390 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 590 2022-01-01: 550 - 2023-01-01: - 2024-01-01: + 2023-01-01: 605 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 365 2022-01-01: 355 - 2023-01-01: - 2024-01-01: + 2023-01-01: 390 + 2024-01-01: 505 WOOD_PELLETS: 2021-01-01: 390 2022-01-01: 390 - 2023-01-01: - 2024-01-01: + 2023-01-01: 430 + 2024-01-01: 735 4: ELECTRICITY: 2021-01-01: 245 2022-01-01: 245 - 2023-01-01: - 2024-01-01: + 2023-01-01: 270 + 2024-01-01: 280 HEATING_OIL: 2021-01-01: 520 2022-01-01: 510 - 2023-01-01: - 2024-01-01: + 2023-01-01: 560 + 2024-01-01: 585 LIQUID_GAS: 2021-01-01: 425 2022-01-01: 395 - 2023-01-01: - 2024-01-01: + 2023-01-01: 435 + 2024-01-01: 640 NATURAL_GAS: 2021-01-01: 260 2022-01-01: 255 - 2023-01-01: - 2024-01-01: + 2023-01-01: 280 + 2024-01-01: 360 WOOD_PELLETS: 2021-01-01: 350 2022-01-01: 360 - 2023-01-01: - 2024-01-01: + 2023-01-01: 350 + 2024-01-01: 530 4: 1: ELECTRICITY: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 675 + 2024-01-01: 675 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 705 + 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 2: ELECTRICITY: 2021-01-01: 480 2022-01-01: 480 - 2023-01-01: - 2024-01-01: + 2023-01-01: 525 + 2024-01-01: 525 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 510 2022-01-01: 500 - 2023-01-01: - 2024-01-01: + 2023-01-01: 550 + 2024-01-01: 560 WOOD_PELLETS: 2021-01-01: 545 2022-01-01: 550 - 2023-01-01: - 2024-01-01: + 2023-01-01: 600 + 2024-01-01: 750 3: ELECTRICITY: 2021-01-01: 400 2022-01-01: 400 - 2023-01-01: - 2024-01-01: + 2023-01-01: 440 + 2024-01-01: 435 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 705 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 425 2022-01-01: 415 - 2023-01-01: - 2024-01-01: + 2023-01-01: 455 + 2024-01-01: 560 WOOD_PELLETS: 2021-01-01: 450 2022-01-01: 455 - 2023-01-01: - 2024-01-01: + 2023-01-01: 500 + 2024-01-01: 750 4: ELECTRICITY: 2021-01-01: 285 2022-01-01: 285 - 2023-01-01: - 2024-01-01: + 2023-01-01: 315 + 2024-01-01: 315 HEATING_OIL: 2021-01-01: 600 2022-01-01: 590 - 2023-01-01: - 2024-01-01: + 2023-01-01: 650 + 2024-01-01: 650 LIQUID_GAS: 2021-01-01: 495 2022-01-01: 460 - 2023-01-01: - 2024-01-01: + 2023-01-01: 505 + 2024-01-01: 715 NATURAL_GAS: 2021-01-01: 305 2022-01-01: 300 - 2023-01-01: - 2024-01-01: + 2023-01-01: 330 + 2024-01-01: 405 WOOD_PELLETS: 2021-01-01: 350 2022-01-01: 350 - 2023-01-01: - 2024-01-01: + 2023-01-01: 360 + 2024-01-01: 585 5: 1: ELECTRICITY: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 710 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 2: ELECTRICITY: 2021-01-01: 535 2022-01-01: 535 - 2023-01-01: - 2024-01-01: + 2023-01-01: 585 + 2024-01-01:550 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 565 2022-01-01: 555 - 2023-01-01: - 2024-01-01: + 2023-01-01: 610 + 2024-01-01: 705 WOOD_PELLETS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 670 + 2024-01-01: 750 3: ELECTRICITY: 2021-01-01: 445 2022-01-01: 445 - 2023-01-01: - 2024-01-01: + 2023-01-01: 490 + 2024-01-01: 460 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 470 2022-01-01: 465 - 2023-01-01: - 2024-01-01: + 2023-01-01: 510 + 2024-01-01: 590 WOOD_PELLETS: 2021-01-01: 505 2022-01-01: 510 - 2023-01-01: - 2024-01-01: + 2023-01-01: 560 + 2024-01-01: 750 4: ELECTRICITY: 2021-01-01: 320 2022-01-01: 320 - 2023-01-01: - 2024-01-01: + 2023-01-01: 350 + 2024-01-01: 330 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 725 + 2024-01-01: 685 LIQUID_GAS: 2021-01-01: 515 2022-01-01: 515 - 2023-01-01: - 2024-01-01: + 2023-01-01: 565 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 340 2022-01-01: 335 - 2023-01-01: - 2024-01-01: + 2023-01-01: 365 + 2024-01-01: 425 WOOD_PELLETS: 2021-01-01: 360 2022-01-01: 365 - 2023-01-01: - 2024-01-01: + 2023-01-01: 400 + 2024-01-01: 615 6 1: ELECTRICITY: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 2: ELECTRICITY: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 660 + 2024-01-01: 590 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 3: ELECTRICITY: 2021-01-01: 500 2022-01-01: 505 - 2023-01-01: - 2024-01-01: + 2023-01-01: 550 + 2024-01-01: 490 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 530 2022-01-01: 525 - 2023-01-01: - 2024-01-01: + 2023-01-01: 575 + 2024-01-01: 630 WOOD_PELLETS: 2021-01-01: 570 2022-01-01: 575 - 2023-01-01: + 2023-01-01: 630 2024-01-01: 4: ELECTRICITY: 2021-01-01: 360 2022-01-01: 360 - 2023-01-01: - 2024-01-01: + 2023-01-01: 395 + 2024-01-01: 355 HEATING_OIL: 2021-01-01: 600 2022-01-01: 600 - 2023-01-01: - 2024-01-01: + 2023-01-01: 750 + 2024-01-01: 735 LIQUID_GAS: 2021-01-01: 600 2022-01-01: 580 - 2023-01-01: - 2024-01-01: + 2023-01-01: 635 + 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 380 2022-01-01: 375 - 2023-01-01: - 2024-01-01: + 2023-01-01: 410 + 2024-01-01: 455 WOOD_PELLETS: 2021-01-01: 410 2022-01-01: 410 - 2023-01-01: - 2024-01-01: + 2023-01-01: 450 + 2024-01-01: 660 metadata: period: year From b8ea358da7895deaa802c1ef8c658a2711b70422 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 6 Jan 2025 13:19:13 +0000 Subject: [PATCH 29/38] finished payouts for region 1 & 2 --- .../gov/states/or/liheap/payout_region1.yaml | 118 +--- .../gov/states/or/liheap/payout_region2.yaml | 623 ++++++++++++++---- 2 files changed, 500 insertions(+), 241 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index 582de229276..adc0a5bbaa8 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -4,17 +4,14 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 1: ELECTRICITY: 2021-01-01: 410 - 2022-01-01: 410 2023-01-01: 450 2024-01-01: 380 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 720 2024-01-01: 750 NATURAL_GAS: @@ -30,12 +27,10 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2: ELECTRICITY: 2021-01-01: 320 - 2022-01-01: 320 2023-01-01: 350 2024-01-01: 295 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 720 2024-01-01: 610 LIQUID_GAS: @@ -76,20 +71,17 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: WOOD_PELLETS: 2021-01-01: 350 - 2022-01-01: 350 2023-01-01: 350 2024-01-01: 460 4: ELECTRICITY: 2021-01-01: 200 - 2022-01-01: 200 2023-01-01: 250 - 2024-01-01: 250 HEATING_OIL: 2021-01-01: 405 2022-01-01: 395 2023-01-01: 510 - 2024-01-01: + 2024-01-01: LIQUID_GAS: 2021-01-01: 330 2022-01-01: 305 @@ -110,19 +102,14 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 1: ELECTRICITY: 2021-01-01: 530 - 2022-01-01: 530 2023-01-01: 580 - 2024-01-01: HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 2024-01-01: 595 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 560 2022-01-01: 550 @@ -130,7 +117,6 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 665 2024-01-01: 750 2: @@ -141,12 +127,10 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 465 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 725 2024-01-01: 750 NATURAL_GAS: @@ -162,14 +146,11 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 3: ELECTRICITY: 2021-01-01: 345 - 2022-01-01: 345 2023-01-01: 375 2024-01-01: 385 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 590 2022-01-01: 550 @@ -182,13 +163,11 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 595 WOOD_PELLETS: 2021-01-01: 390 - 2022-01-01: 390 2023-01-01: 430 2024-01-01: 750 4: ELECTRICITY: 2021-01-01: 245 - 2022-01-01: 245 2023-01-01: 270 2024-01-01: 275 HEATING_OIL: @@ -208,7 +187,6 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 355 WOOD_PELLETS: 2021-01-01: 350 - 2022-01-01: 350 2023-01-01: 350 2024-01-01: 520 @@ -216,19 +194,14 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 1: ELECTRICITY: 2021-01-01: 530 - 2022-01-01: 530 2023-01-01: 580 2024-01-01: 605 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 560 2022-01-01: 550 @@ -236,7 +209,6 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 665 2024-01-01: 750 2: @@ -247,12 +219,9 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 470 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 725 2024-01-01: 750 NATURAL_GAS: @@ -268,14 +237,11 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 3: ELECTRICITY: 2021-01-01: 345 - 2022-01-01: 345 2023-01-01: 375 2024-01-01: 390 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 590 2022-01-01: 550 @@ -288,13 +254,11 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 505 WOOD_PELLETS: 2021-01-01: 390 - 2022-01-01: 390 2023-01-01: 430 2024-01-01: 735 4: ELECTRICITY: 2021-01-01: 245 - 2022-01-01: 245 2023-01-01: 270 2024-01-01: 280 HEATING_OIL: @@ -322,45 +286,30 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 1: ELECTRICITY: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 675 - 2024-01-01: 675 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 705 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 2: ELECTRICITY: 2021-01-01: 480 - 2022-01-01: 480 2023-01-01: 525 - 2024-01-01: 525 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 510 2022-01-01: 500 @@ -374,17 +323,13 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 3: ELECTRICITY: 2021-01-01: 400 - 2022-01-01: 400 2023-01-01: 440 2024-01-01: 435 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 705 2024-01-01: 750 NATURAL_GAS: @@ -400,14 +345,11 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 4: ELECTRICITY: 2021-01-01: 285 - 2022-01-01: 285 2023-01-01: 315 - 2024-01-01: 315 HEATING_OIL: 2021-01-01: 600 2022-01-01: 590 2023-01-01: 650 - 2024-01-01: 650 LIQUID_GAS: 2021-01-01: 495 2022-01-01: 460 @@ -420,7 +362,6 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 405 WOOD_PELLETS: 2021-01-01: 350 - 2022-01-01: 350 2023-01-01: 360 2024-01-01: 585 @@ -428,45 +369,31 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 1: ELECTRICITY: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 2024-01-01: 710 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 2: ELECTRICITY: 2021-01-01: 535 - 2022-01-01: 535 2023-01-01: 585 - 2024-01-01:550 + 2024-01-01: 550 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 565 2022-01-01: 555 @@ -474,25 +401,20 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 705 WOOD_PELLETS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 670 2024-01-01: 750 3: ELECTRICITY: 2021-01-01: 445 - 2022-01-01: 445 2023-01-01: 490 2024-01-01: 460 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 470 2022-01-01: 465 @@ -506,17 +428,13 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 4: ELECTRICITY: 2021-01-01: 320 - 2022-01-01: 320 2023-01-01: 350 - 2024-01-01: 330 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 725 2024-01-01: 685 LIQUID_GAS: 2021-01-01: 515 - 2022-01-01: 515 2023-01-01: 565 2024-01-01: 750 NATURAL_GAS: @@ -534,55 +452,36 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 1: ELECTRICITY: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 2: ELECTRICITY: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 660 2024-01-01: 590 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 WOOD_PELLETS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 3: ELECTRICITY: 2021-01-01: 500 @@ -591,14 +490,10 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 490 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 LIQUID_GAS: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 - 2024-01-01: 750 NATURAL_GAS: 2021-01-01: 530 2022-01-01: 525 @@ -608,16 +503,14 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2021-01-01: 570 2022-01-01: 575 2023-01-01: 630 - 2024-01-01: + 2024-01-01: 750 4: ELECTRICITY: 2021-01-01: 360 - 2022-01-01: 360 2023-01-01: 395 2024-01-01: 355 HEATING_OIL: 2021-01-01: 600 - 2022-01-01: 600 2023-01-01: 750 2024-01-01: 735 LIQUID_GAS: @@ -632,7 +525,6 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2024-01-01: 455 WOOD_PELLETS: 2021-01-01: 410 - 2022-01-01: 410 2023-01-01: 450 2024-01-01: 660 @@ -649,3 +541,7 @@ metadata: href: "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#Pg=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#Pg=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#Pg=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#Pg= 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 index ed8b0e54571..46d254c52c1 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region2.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region2.yaml @@ -1,161 +1,517 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon -2021-01-01: - 1: +1: 1: - Electricity: 445 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 475 - WoodPellets: 505 + 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: 350 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 370 - WoodPellets: 395 + 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: 290 - HeatingOil: 600 - LiquidGas: 500 - NaturalGas: 305 - WoodPellets: 350 + 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: 210 - HeatingOil: 440 - LiquidGas: 360 - NaturalGas: 220 - WoodPellets: 350 + 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: +2: 1: - Electricity: 575 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 + 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: 450 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 475 - WoodPellets: 510 + 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: 375 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 395 - WoodPellets: 425 + 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: 270 - HeatingOil: 570 - LiquidGas: 465 - NaturalGas: 285 - WoodPellets: 350 - - 3: + 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: 575 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 + 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: 450 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 475 - WoodPellets: 510 + 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: 375 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 395 - WoodPellets: 425 + 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: 270 - HeatingOil: 570 - LiquidGas: 465 - NaturalGas: 285 - WoodPellets: 350 - - 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: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 + 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: 525 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 555 - WoodPellets: 590 + 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: 435 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 460 - WoodPellets: 495 + 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: 315 - HeatingOil: 600 - LiquidGas: 540 - NaturalGas: 330 - WoodPellets: 355 - - 5: + 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: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 + 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: 585 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 + 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: 485 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 515 - WoodPellets: 550 + 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: 350 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 370 - WoodPellets: 395 + 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": +6: 1: - Electricity: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 + 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: 600 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 600 - WoodPellets: 600 + 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: 545 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 580 - WoodPellets: 600 + 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: 395 - HeatingOil: 600 - LiquidGas: 600 - NaturalGas: 415 - WoodPellets: 445 + 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 @@ -168,3 +524,10 @@ metadata: 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#Pg=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#Pg=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#Pg=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#Pg= 5.2" + From bf4c5879e1c7b454ee6bb91e16be93066724fb63 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 6 Jan 2025 13:20:23 +0000 Subject: [PATCH 30/38] corrected thereshold formula --- .../states/or/tax/income/liheap/or_liheap_income_threshold.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 index 30fa07e2291..192b6ec4361 100644 --- 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 @@ -13,5 +13,5 @@ class or_liheap_income_threshold(Variable): def formula(spm_unit, period, parameters): state_median_income = spm_unit("hhs_smi", period) - p = parameters(period).gov.states["or"].liheap.income_rate - return state_median_income * p + p = parameters(period).gov.states["or"].liheap + return state_median_income * p.income_rate From 2e8ce164750a19a3e54cda0dbbb81ea1b404b1cb Mon Sep 17 00:00:00 2001 From: srilareddy Date: Mon, 6 Jan 2025 15:44:54 +0000 Subject: [PATCH 31/38] started range function --- .../gov/states/or/liheap/payout_region1.yaml | 2 +- .../tax/income/liheap/or_liheap_income_threshold.py | 2 +- .../gov/states/or/tax/income/liheap/range.py | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 policyengine_us/variables/gov/states/or/tax/income/liheap/range.py diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index adc0a5bbaa8..bb490250dcf 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -448,7 +448,7 @@ description: Payout from LIHEAP for Region 1 counties in the state of Oregon 2023-01-01: 400 2024-01-01: 615 -6 +6: 1: ELECTRICITY: 2021-01-01: 600 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 index 192b6ec4361..8539f20cbf8 100644 --- 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 @@ -14,4 +14,4 @@ class or_liheap_income_threshold(Variable): 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 + return state_median_income * p.income_rate diff --git a/policyengine_us/variables/gov/states/or/tax/income/liheap/range.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/range.py new file mode 100644 index 00000000000..e0aee85bc1d --- /dev/null +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/range.py @@ -0,0 +1,11 @@ +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://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#Pg=55" + + defined_for = StateCode.OR From 457e6f5223f63e67d73405d969a3178d9d9533f2 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 7 Jan 2025 15:54:55 +0000 Subject: [PATCH 32/38] income range variable --- changelog_entry.yaml | 1 + .../or/tax/income/liheap/income_range.py | 28 +++++++++++++++++++ .../gov/states/or/tax/income/liheap/range.py | 11 -------- 3 files changed, 29 insertions(+), 11 deletions(-) create mode 100644 policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py delete mode 100644 policyengine_us/variables/gov/states/or/tax/income/liheap/range.py diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29bb2d..8b137891791 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1 @@ + diff --git a/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py new file mode 100644 index 00000000000..767ef4608b7 --- /dev/null +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py @@ -0,0 +1,28 @@ +from policyengine_us.model_api import * + + +class or_liheap_income_threshold(Variable): + value_type = int + entity = SPMUnit + label = "Income range for Oregon LIHEAP eligibility" + unit = USD + definition_period = YEAR + reference = "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#Pg=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) + + range1_upper = 0.25 * threshold + range2_upper = 0.5 * threshold + range3_upper = 0.75 * threshold + + if income <= range1_upper: + return 1 + elif income <= range2_upper: + return 2 + elif income <= range3_upper: + return 3 + else: + return 4 diff --git a/policyengine_us/variables/gov/states/or/tax/income/liheap/range.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/range.py deleted file mode 100644 index e0aee85bc1d..00000000000 --- a/policyengine_us/variables/gov/states/or/tax/income/liheap/range.py +++ /dev/null @@ -1,11 +0,0 @@ -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://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#Pg=55" - - defined_for = StateCode.OR From 03d85eb0cb21f61c2aaf38d24f9bc17a83eac2d6 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 7 Jan 2025 16:06:17 +0000 Subject: [PATCH 33/38] corrected income range variable --- changelog_entry.yaml | 4 ---- .../gov/states/or/tax/income/liheap/income_range.py | 5 +++-- 2 files changed, 3 insertions(+), 6 deletions(-) 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/variables/gov/states/or/tax/income/liheap/income_range.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py index 767ef4608b7..593da22f819 100644 --- a/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py @@ -1,13 +1,14 @@ from policyengine_us.model_api import * -class or_liheap_income_threshold(Variable): +class or_liheap_income_range(Variable): value_type = int entity = SPMUnit label = "Income range for Oregon LIHEAP eligibility" unit = USD definition_period = YEAR reference = "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#Pg=55" + defined_for = StateCode.OR def formula(spm_unit, period, parameters): @@ -25,4 +26,4 @@ def formula(spm_unit, period, parameters): elif income <= range3_upper: return 3 else: - return 4 + return 4 \ No newline at end of file From 2daab527239db1704eab8450e265ee84ca3b973c Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 7 Jan 2025 16:08:57 +0000 Subject: [PATCH 34/38] make format --- .../variables/gov/states/or/tax/income/liheap/income_range.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py index 593da22f819..402ce48dd40 100644 --- a/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py @@ -26,4 +26,4 @@ def formula(spm_unit, period, parameters): elif income <= range3_upper: return 3 else: - return 4 \ No newline at end of file + return 4 From fd727367eff89562f9b96f5db7729066bfe51c19 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 7 Jan 2025 17:15:57 +0000 Subject: [PATCH 35/38] income range test --- .../or/tax/income/or_liheap_income_range.yaml | 26 +++++++++++++++++++ .../or/tax/income/liheap/income_range.py | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 policyengine_us/tests/policy/baseline/gov/states/or/tax/income/or_liheap_income_range.yaml 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/variables/gov/states/or/tax/income/liheap/income_range.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py index 402ce48dd40..ae9d5cefe6d 100644 --- a/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py @@ -1,7 +1,7 @@ from policyengine_us.model_api import * -class or_liheap_income_range(Variable): +class income_range(Variable): value_type = int entity = SPMUnit label = "Income range for Oregon LIHEAP eligibility" From ca483603d28535c03687de52ae3257053f6a7983 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Tue, 7 Jan 2025 20:34:22 +0000 Subject: [PATCH 36/38] fixed typo --- policyengine_us/parameters/gov/states/or/liheap/utility_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/utility_type.py b/policyengine_us/parameters/gov/states/or/liheap/utility_type.py index a271911d295..5c4eda9fa7b 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/utility_type.py +++ b/policyengine_us/parameters/gov/states/or/liheap/utility_type.py @@ -9,7 +9,7 @@ class UtilityType(Enum): WOOD_PELLETS = "Wood Pellets" -class utlility_type(Variable): +class utility_type(Variable): value_type = Enum entity = spm_unit possible_values = UtilityType From 018aa4205ddcc6b3505b0c7fa4a49aa566c8d217 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Fri, 10 Jan 2025 20:27:21 +0000 Subject: [PATCH 37/38] parameter variable for income range --- .../gov/states/or/liheap/income_range.yaml | 13 ++++++++ .../gov/states/or/liheap/payout_region1.yaml | 8 ++--- .../gov/states/or/liheap/payout_region2.yaml | 8 ++--- .../states/or/liheap/region1_counties.yaml | 2 +- .../or/tax/income/or_liheap_income_range.yaml | 2 +- .../or/tax/income/liheap/income_range.py | 29 ----------------- .../income/liheap/or_liheap_income_range.py | 32 +++++++++++++++++++ .../or/tax/income}/liheap/utility_type.py | 4 +-- 8 files changed, 57 insertions(+), 41 deletions(-) create mode 100644 policyengine_us/parameters/gov/states/or/liheap/income_range.yaml delete mode 100644 policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py create mode 100644 policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_range.py rename policyengine_us/{parameters/gov/states/or => variables/gov/states/or/tax/income}/liheap/utility_type.py (85%) 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..c505c816b0d --- /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 + \ No newline at end of file diff --git a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml index bb490250dcf..dc9a358002a 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region1.yaml @@ -538,10 +538,10 @@ metadata: - 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#Pg=55" + 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#Pg=56" + 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#Pg=5.2" + 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#Pg= 5.2" + 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 index 46d254c52c1..03f571e2adf 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/payout_region2.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/payout_region2.yaml @@ -523,11 +523,11 @@ metadata: - 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#Pg=55" + 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#Pg=56" + 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#Pg=5.2" + 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#Pg= 5.2" + 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 index 9c73fc13a07..e1dbba54ddd 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/region1_counties.yaml @@ -6,7 +6,7 @@ metadata: 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#Pg=55 + href: https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#page=55 values: 2021-01-01: - BENTON_COUNTY_OR 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 index 921d85d96f9..360f6cf6681 100644 --- 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 @@ -23,4 +23,4 @@ state_code: OR adjusted_gross_income: 20_000 output: - income_range: 1 + income_range: 1 \ No newline at end of file diff --git a/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py deleted file mode 100644 index ae9d5cefe6d..00000000000 --- a/policyengine_us/variables/gov/states/or/tax/income/liheap/income_range.py +++ /dev/null @@ -1,29 +0,0 @@ -from policyengine_us.model_api import * - - -class income_range(Variable): - value_type = int - entity = SPMUnit - label = "Income range for Oregon LIHEAP eligibility" - unit = USD - definition_period = YEAR - reference = "https://www.oregon.gov/ohcs/energy-weatherization/Documents/2021-Energy-Assistance-Manual.pdf#Pg=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) - - range1_upper = 0.25 * threshold - range2_upper = 0.5 * threshold - range3_upper = 0.75 * threshold - - if income <= range1_upper: - return 1 - elif income <= range2_upper: - return 2 - elif income <= range3_upper: - return 3 - else: - return 4 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..ea220f31d91 --- /dev/null +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/or_liheap_income_range.py @@ -0,0 +1,32 @@ +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 + ) + + \ No newline at end of file diff --git a/policyengine_us/parameters/gov/states/or/liheap/utility_type.py b/policyengine_us/variables/gov/states/or/tax/income/liheap/utility_type.py similarity index 85% rename from policyengine_us/parameters/gov/states/or/liheap/utility_type.py rename to policyengine_us/variables/gov/states/or/tax/income/liheap/utility_type.py index 5c4eda9fa7b..11c877849c4 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/utility_type.py +++ b/policyengine_us/variables/gov/states/or/tax/income/liheap/utility_type.py @@ -11,8 +11,8 @@ class UtilityType(Enum): class utility_type(Variable): value_type = Enum - entity = spm_unit + entity = SPMUnit possible_values = UtilityType default_value = UtilityType.ELECTRICITY definition_period = YEAR - label = "Utiltiy types for LIHEAP payout" + label = "Utility types for LIHEAP payout" From 4d348abd5c77d10669f150290b81ee59b5164803 Mon Sep 17 00:00:00 2001 From: srilareddy Date: Fri, 10 Jan 2025 20:28:05 +0000 Subject: [PATCH 38/38] make format --- .../parameters/gov/states/or/liheap/income_range.yaml | 2 +- .../gov/states/or/tax/income/or_liheap_income_range.yaml | 2 +- .../gov/states/or/tax/income/liheap/or_liheap_income_range.py | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/policyengine_us/parameters/gov/states/or/liheap/income_range.yaml b/policyengine_us/parameters/gov/states/or/liheap/income_range.yaml index c505c816b0d..1f55373cf1e 100644 --- a/policyengine_us/parameters/gov/states/or/liheap/income_range.yaml +++ b/policyengine_us/parameters/gov/states/or/liheap/income_range.yaml @@ -10,4 +10,4 @@ range2_upper: 2021-01-01: 0.5 range3_upper: 2021-01-01: 0.75 - \ No newline at end of file + 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 index 360f6cf6681..921d85d96f9 100644 --- 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 @@ -23,4 +23,4 @@ state_code: OR adjusted_gross_income: 20_000 output: - income_range: 1 \ No newline at end of file + income_range: 1 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 index ea220f31d91..138751ef79e 100644 --- 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 @@ -26,7 +26,5 @@ def formula(spm_unit, period, parameters): income <= range3_upper, ], [1, 2, 3], - default=4 + default=4, ) - - \ No newline at end of file