This pull takes care of following issues in append_wwt_chemicals:
Avoid recreating the Chemicals object in create_high_rate_wastewater_treatment_system (due to running fthermo) when no new chemicals need to be added.
Avoid changing chemical property models of chemicals already present in the Chemicals object.
Refactor the code that creates the chemicals to create_missing_wwt_chemicals to allow user to change any chemical properties before compiling.
Aliases are already automatically added when compiling Chemicals object (at some point this feature was added to thermosteam, but it went unnoticed), so the code adding aliases was removed.
The pull also makes the following miscellaneous changes:
Unit._assert_compatible_property_package now allows different chemicals objects between streams so long as CASs are the same.
@yalinli2,
This pull takes care of following issues in
append_wwt_chemicals
:create_high_rate_wastewater_treatment_system
(due to running fthermo) when no new chemicals need to be added.create_missing_wwt_chemicals
to allow user to change any chemical properties before compiling.The pull also makes the following miscellaneous changes:
Unit._assert_compatible_property_package
now allows different chemicals objects between streams so long as CASs are the same.Thanks!