Opened 9 years ago

Closed 9 years ago

#3283 closed defect (duplicate)

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

Reported by: dietmarw Owned by: adeas31
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 Changed 9 years ago by janK

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 Changed 9 years ago by dietmarw

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 Changed 9 years ago by adeas31

  • Resolution set to duplicate
  • Status changed from new to closed

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.