Andrew Lee

Results 126 comments of Andrew Lee

@Robbybp What you have is very similar to what I have implemented, the main differences being that I am working on the issue you had with being able to run...

@Robbybp Here is my latest version. you should be able to use the following from the `idaes-pse` folder to run the performance tests alone: ``` python idaes/tests/performance/main.py -v -d [output_dir]...

@Robbybp They might not be at this point - I am still working on those details. I suspect (but have not tried) the `-m performance` might be sufficient.

@Robbybp I've addressed all your comments, although I am still looking to see if there is a way to get the base class to inherit from `unittest.TestCase` but not get...

@Robbybp 5 minutes is the expected time for the HC_PR test, which is why it was included. It involved a lot of deep expressions and unit coversions so hopefully represents...

@Robbybp @jsiirola I have implemented the `__init_subclass__` method to force inheritance from `TestCase` and hopefully fixed the last lingering test failures. This should be ready for review.

Also, the latest (final) way to run the performance tests is (updated in original comment too): `python [pyomo]\scripts\performance\main.py --project idaes -v -d [output_dir] . --performance`

As @eslickj said, the issue is most likely the reference states used. You should never directly compare results between two different sets of property calculations (even different implementations of the...

Seeing as the has been no activity for a while, I am closing this as resolved.

Looking a bit deeper into the stack trace, it appears to me that the issue is arising when the Newton solver in `calculate_variable_from_constraint` attempts to get the derivative of a...