Commit e5b0f25
Fix issue 1287 bug in subcritical powerplant report method (#1720)
* tag component individually
the change tags components that exist in the stream, e.g. for flue-gas streams, it tags N2, O2, NO, etc.; for water/steam streams, it only tags H2O, as the IAPWS95 property package only contains water.
* black .
* remove duplicated units in tags
removed duplicate pressure tag; removed dividend by 1000 for hmass and pressure as their unit are in J/kg and Pa, respectively
* black
* added test for tags, tag formats
modified the subcritical_power_plant.py with healer function for tags, tag formats, and tag_group to support a cleaner and simpler tags, tag formats, and tag_group test in the test file.
* black.
* underscore unused returns
* black .
---------
Co-authored-by: Keith Beattie <ksbeattie@lbl.gov>1 parent 5a979c4 commit e5b0f25
File tree
3 files changed
+163
-122
lines changed- idaes/models_extra/power_generation/flowsheets/subcritical_power_plant
- tests
3 files changed
+163
-122
lines changed
0 commit comments