MPCPy icon indicating copy to clipboard operation
MPCPy copied to clipboard

Error: Duplicate component in same class: input Real pi_e

Open dhblum opened this issue 4 years ago • 0 comments

This issue is to report a problem recently discovered, where if a Modelica model is compiled and used for compilation of an optimization problem with the objective class EnergyCostMin, and then that same model object is used to try compiling the optimization problem again, with objective class EnergyCostMin, then the following compilation errors are received:

Error: in file '/home/dhbubu/git/cerc/cerc-mpc-demo-59/models/Building59.mop':
Semantic error at line 6625, column 32:
  Cannot find class or component declaration for pi_e

Error: in file '/home/dhbubu/git/cerc/cerc-mpc-demo-59/models/Building59.mop':
Semantic error at line 6625, column 36:
  Duplicate component in same class: input Real pi_e

dhblum avatar Aug 05 '20 16:08 dhblum