- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Best practise for saving models?
Best practise for saving models?
Best practise for saving models?
If I use OMEdit to create a new model by going:
File-->New Modelica Class-->'Insert Name' with default Specialisation set to Model-->OK
and create a model, say a DC motor, as in the tutorial video, and I save the model. Then I am unable to open the model again later.
When I try to open the model I get the error message:
---------
Error has occured while loading the file/library
Path to file
Unable to load the file/library
Redefining class(es) 'filename' which already exist(s). Delete the
existing class(es) before loading the file/library
Path to file
---------
This error message seems like it must be very clear but I am completely new to Modelica and have no idea what it means.
I will be very greatful if any one can assist me.
Regards
Michael
Re: Best practise for saving models?
You are getting the message that class is already loaded so you can't open/load it again.
If you want to load it then first Unload/Delete the class.
Btw, if you have created the model and is already opened then why you want to open it again?
Adeel.
- adeas
- 454 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Best practise for saving models?