-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
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
Fix RE tests #185
Fix RE tests #185
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dguittet Could you try adding TransformationFactory("network.expand_arcs").apply_to(m)
before line 91 and see if this test passes?
@radhakrishnatg It won't pass when the Transformation is done. There are infeasible constraints. I'm not sure of the value of maintaining this Valve model test since it's no longer being used, and a working valve coefficient is finicky to identify, but I can try playing around with it to see if I can get some values that will solve. |
@dguittet I think, |
@ksbeattie @lbianchi-lbl fixes tests that are failing in #177 |
@dguittet Thanks for the fix. I've noticed that there's still one RE flowsheet test that's failing (from the looks of it, a solver error?): I'm not sure if this is connected with the changes being introduced in this PR, of if it's a different, unrelated issue that happens to be triggered in the same |
4 of the 5 failing tests are from the FE case study files and have been addressed in #179 |
Thanks @lbianchi-lbl and @nareshsusarla. I am looking into that SolverResults error in Github Actions, but can't reproduce it on my Mac or the HPC:
https://github.com/gmlc-dispatches/dispatches/actions/runs/4537252316/jobs/7994898724?pr=179 |
@dguittet thanks for looking into this. For the sake of getting out of the quasi-deadlock of test failures we're currently experiencing, I propose the following:
At that point, if you manage to fix the |
@lbianchi-lbl I restored this branch so that it's fixed at least one of the failing tests. To figure out the remaining one, I'm on another branch #188 |
@lbianchi-lbl I seem to be making progress on the remaining test. Perhaps I will get it fixed within the hour |
@radhakrishnatg @bknueven @lbianchi-lbl I've resolved both the RE tests failures. Please re-review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me @dguittet
Addresses issue:
removes
test_h2_valve_opening
since the valve is no longer being used in the RE modelsLegal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: