Opened 10 years ago

Closed 10 years ago

#3283 closed defect (duplicate)

OMEdit saves whole model hierarchy when changing a parameter and simulate afterwards

Reported by: Dietmar Winkler Owned by: Adeel Asghar
Priority: high Milestone: 1.9.3
Component: OMEdit Version: trunk
Keywords: Cc:

Description

When using OMEdit 1.9.3+dev (r25570) it will save the whole library in a new single file per class structure if one edits a parameter and then starts another simulation run.

Change History (3)

comment:1 by Jan Kokert, 10 years ago

I observe similar problems. Saving files which define a package creates also a new folder, which is not the case for Dymola. It would be very nice, if all such editing issues (also #2905) would be fixed. Thanks!
BR Jan

comment:2 by Dietmar Winkler, 10 years ago

sjoelund.se pointed out to me that there is the option "save class before simulation" that can be deactivated (on by default) in order to avoid this. Since OMEdit does not simply save the class but saves it in a different format (one class per file) than the original library format I would suggest to change the default to "unticked" to not mess with users libraries.

So the disabled options kind of helps but does not solve change of "save format" problem.

comment:3 by Adeel Asghar, 10 years ago

Resolution: duplicate
Status: newclosed

The only reason to have "save class before simulation" is to avoid users data loss and it should be enabled by default so that if OMEdit crash during simulation the user data is not lost. However, we should fix saving issues which is very important. There is already a ticket about it #3179 so I am closing this one.

Note: See TracTickets for help on using tickets.