Skip to content

Commit 15a109b

Browse files
forgot to add the changed file
1 parent 9b84e8b commit 15a109b

File tree

1 file changed

+2
-2
lines changed
  • idaes/models/properties/modular_properties/state_definitions

1 file changed

+2
-2
lines changed

Diff for: idaes/models/properties/modular_properties/state_definitions/FTPx.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
HenryType,
4444
henry_equilibrium_ratio,
4545
)
46-
from idaes.core.util.exceptions import ConfigurationError
46+
from idaes.core.util.exceptions import ConfigurationError, InitializationError
4747
import idaes.logger as idaeslog
4848
import idaes.core.util.scaling as iscale
4949
from .electrolyte_states import define_electrolyte_state, calculate_electrolyte_scaling
@@ -419,7 +419,7 @@ def state_initialization(b):
419419
pp_VLE = pp
420420

421421
if num_VLE > 1:
422-
_log.warning(
422+
raise InitializationError(
423423
f"More than one VLE present in {b.name}. Initialization for multiple "
424424
"VLE is not supported, so skipping VLE initialization."
425425
)

0 commit comments

Comments
 (0)