Generic Property Package: Problems with changing State Definition from FTPx to FPhx #1452
-
I'm trying to figure out how to modify a Generic Property Package to work with different state definitions. I've got a simple flowsheet just trying to solve a heater, using a benzene-toluene mixture with ChemSep data. The property package works fine with the I'm unsure what these errors mean, what could I do to look into them further? I've looked at the However, the problem seems to arise because Another part of the error message seems to say it's a misconfigured property set, Is this a bug, or is it due to some misconfiguration of my state definitions & property packages? The script i'm building is avaliable here: and can be run with the following commands
tested using idaes-pse version 2.5.0 on python 3.11. It runs fine until you change "FTPx" for "FPhx" in the configuration.py file. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@bertkdowns At first glance, it appears to be due to things occurring out of order as you suggested. For some reason I suspect this might be an edge case we did not anticipate, and it might take a bit of thought about how to fix it. I would start by looking throguh the |
Beta Was this translation helpful? Give feedback.
-
@bertkdowns Sorry it took a while to get back to this, but I managed to sort out the issue. The original fix I suggested was in fact correct; the test failures you saw were due to obscure issue in how the tests were written rather than the fix itself. I just opened a pull request (#1505) to make the changes and fix the tests. |
Beta Was this translation helpful? Give feedback.
@bertkdowns Sorry it took a while to get back to this, but I managed to sort out the issue. The original fix I suggested was in fact correct; the test failures you saw were due to obscure issue in how the tests were written rather than the fix itself. I just opened a pull request (#1505) to make the changes and fix the tests.