Skip to content
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

PETSc solver interpolate bug #1326

Closed
eslickj opened this issue Feb 7, 2024 · 1 comment
Closed

PETSc solver interpolate bug #1326

eslickj opened this issue Feb 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Priority:Normal Normal Priority Issue or PR

Comments

@eslickj
Copy link
Member

eslickj commented Feb 7, 2024

I'm not sure if this is a bug in IDAES or Pyomo, but with PETSc solver interpolation there is an issue setting variables with units. I put an issue in Pyomo Pyomo/pyomo#3123. Here

var[t].value = vec[i]
, we are setting variables from a numpy float. This causes a Pyomo exception detailed by the Pyomo issue, if the variable has units.

@eslickj eslickj added the bug Something isn't working label Feb 7, 2024
@ksbeattie ksbeattie added the Priority:Normal Normal Priority Issue or PR label Feb 8, 2024
@dallan-keylogic
Copy link
Contributor

As far as I can tell, this is a Pyomo issue, detailed here:

Pyomo/pyomo#3100.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority:Normal Normal Priority Issue or PR
Projects
None yet
Development

No branches or pull requests

5 participants