I am new to OpenModelica. How to set value the OpenModelica variable of non Parameter type using OMPython. I am able to set the value using Python for the Parameter type: Ex.
OpenModelica Code:
parameter Real E1tf2in = 50 "Exch1Inlet Temperature Fluid 2";
Python Code:
mod.setParameters(E1tf2in = 50)
I am not able to set the value using Python
Ex:
Real E1tmetalout(start = 57.15098) "Exch1Tube Metal Temperature metal Outlet";
If I set the value it shows the error:
E1tmetalout is not a parameter.
Please help me to resolve this issue.
Thank You