We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue Within idaes\models\properties\modular_properties\phase_equil\smooth_VLE_2.py the calculate_teq(blk, pp) method checks if v_only_comps is None. The implementation of identify_VL_component_list(blk, phase_pair) always returns a list and as such v_only_comps is None always evaluate to False.
idaes\models\properties\modular_properties\phase_equil\smooth_VLE_2.py
calculate_teq(blk, pp)
v_only_comps is None
identify_VL_component_list(blk, phase_pair)
Proposed fix Replace v_only_comps is None with v_only_comps == [] or len(v_only_comps) == 0
v_only_comps == []
len(v_only_comps) == 0
The text was updated successfully, but these errors were encountered:
dallan-keylogic
No branches or pull requests
Issue
Within
idaes\models\properties\modular_properties\phase_equil\smooth_VLE_2.py
thecalculate_teq(blk, pp)
method checks ifv_only_comps is None
. The implementation ofidentify_VL_component_list(blk, phase_pair)
always returns a list and as suchv_only_comps is None
always evaluate to False.Proposed fix
Replace
v_only_comps is None
withv_only_comps == []
orlen(v_only_comps) == 0
The text was updated successfully, but these errors were encountered: