Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding USD_2022 to units library as the most recently published value #1413

Merged
merged 1 commit into from
May 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
adding USD_2022
  • Loading branch information
hunterbarber committed May 17, 2024
commit b69e53c4bde6c9e2f513924f796ec0a08d37e5a2
1 change: 1 addition & 0 deletions idaes/core/base/costing_base.py
Original file line number Diff line number Diff line change
@@ -92,6 +92,7 @@ def register_idaes_currency_units():
"USD_2019 = 500/607.5 * USD_CE500",
"USD_2020 = 500/596.2 * USD_CE500",
"USD_2021 = 500/708.0 * USD_CE500",
"USD_2022 = 500/816.0 * USD_CE500",
]
)

1 change: 1 addition & 0 deletions idaes/core/base/tests/test_costing_base.py
Original file line number Diff line number Diff line change
@@ -72,6 +72,7 @@ def test_register_idaes_currency_units():
"USD_2019": 607.5,
"USD_2020": 596.2,
"USD_2021": 708.0,
"USD_2022": 816.0,
}

for c, conv in CEI.items():
Loading
Oops, something went wrong.