OMJulia.jl icon indicating copy to clipboard operation
OMJulia.jl copied to clipboard

cannot linearise() in Open Modelica v1.16 environment

Open Otepipi opened this issue 4 years ago • 4 comments

In my Open Modelica v1.16.2(64bit win10) environment, OMJulia'slinearise()function does not work properly. On the other hand, in the Open Modelica v1.13 environment, it worked correctly.

This is probably because the file name of the linearized model is generated as "linear_**model name**.mo" in Open Modelica v1.13, while the name is generated as "linearized_model.mo" in Open Modelica v1.16.2.

Otepipi avatar Feb 01 '21 10:02 Otepipi

@Otepipi thanks for pointing the issue, we will fix it as soon as possible

arun3688 avatar Feb 01 '21 10:02 arun3688

@arun3688 thank you.

Otepipi avatar Feb 01 '21 10:02 Otepipi

Same comment as in OMMatlab #10, isn't there a way to avoid code duplications and hence inconsistencies among different OpenModelica tools?

casella avatar Feb 02 '21 11:02 casella

@Otepipi The issue is fixed with this commit https://github.com/OpenModelica/OMJulia.jl/commit/b02cd1f78de3c2ad732ede5a24e831a9407da503, you can test it

arun3688 avatar Aug 10 '21 09:08 arun3688