IDAES/idaes-pse

PETSc solver interpolate bug

Closed this issue · 1 comments

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.

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

Pyomo/pyomo#3100.