Help - Search - Members - Calendar
Full Version: How to update to Modelica 2.2.1?
Modelica Forum > Modelica > Dymola
RungeZipperer
Hello,

since April 13 the new Modelica standard libraray 2.2.1 is available.
I didnīt know how to update to the new version and what I have to pay attention on so I just unzipped the files an copied them into the Modelica tree:

\Dymola\Modelica\Library\Modelica 2.2

By the way creating a new folder \Dymola\Modelica\Library\Modelica 2.2.1 did not work fine because Dymola did not find the new version.

Now Dymola asks if I want to update my models to 2.2.1. I always accept that but the way I included 2.2.1 I canīt go back to 2.2 because all the file are overwritten.

So how do you update Modelica?

Greetings.
wagner
Hi RungeZipperer,

I dont' know how to really include the new library to Dymola itself. Probably you'll have to wait for the new update of Dymola.

For using Modelica 2.2.1 in the current version of dymola I unload the libraray Modelica 2.2 and load the library Modelica 2.2.1 with File->Open. The disadvantage of this is, that you have to do this each time you start Dymola.

Regards
Matthias Kirchner
Hi,

there is an easy way to fully integrate V2.2.1 into Dymola.
The "secret" is the file dymodraw.ini in the directory <dymola_root>\Insert

somewhere in this file you will find the following lines:

optpackage -Modelica(version="2.2")
optpackage Modelica(version ="2.2") Modelica Standard Library 2.2


To insert V2.2.1 add the following line (after unzipping V2.2.1 into path "<dymola_root>\Modelica\Library\Modelica 2.2.1"):

optpackage Modelica(version ="2.2.1") Modelica Standard Library 2.2.1

After restart of Dymola you will find the entry in File->Libraries.
Now you can also set the default version in Edit->Options.

Greetings,
Matze
wagner
Hi Matze,

this works perfect. So I don't have to wait till dynasim publishs a version of dymola with support for new modelica versions.

Regards,

Florian
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.