Skip to content

Improve-unit-handling-hpwh#515

Open
spahrenk wants to merge 39 commits into
mainfrom
develop-units-hpwh
Open

Improve-unit-handling-hpwh#515
spahrenk wants to merge 39 commits into
mainfrom
develop-units-hpwh

Conversation

@spahrenk

Copy link
Copy Markdown
Contributor

-Significant overhaul of unit-handling in HPWHsim. Physical quantities are transmitted to/from HPWHsim as objects with a units property. A parameter such as temperature can be specified directly in a function call to HPWHsim using the form {20., Units::C}. A returned quantity is converted to a double of appropriate dimensions using a form such as hw_pHPWH->getTankHeatContent()(Units::kWh).

-Several cse regression tests failed as a result of slight differences in physical constants.

@spahrenk spahrenk self-assigned this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant