Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5047 closed defect (fixed)

Issue with Re-simulate

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: high Milestone: 1.13.0
Component: OMEdit Version:
Keywords: Cc:

Description (last modified by massimo ceraolo)

this issue was seen on
OMEdit 1.13.0~dev-137-g0e9c2ff Connected to OpenModelica 1.13.0~dev-1195-g6d891ea
on Ubuntu 16.04

to see it OMEdit should have in Options.Plotting "SubWindow view"
Steps to reproduce:
1) load Resimulate.mo;
2) simulate RL1, open a full-screen plot window, and look at inductor1.i: one-second plot is displayed
3) open RL2 and simulate it
4) open a new plot window, and in it look at inductor1.i (from RL2 output). A two-second plot is displayed
5) Click on Re-simulate button several times (this intends to resimulate RL2): apparently the horizontal axis of inductor1.i toggles between 1s and 2s. In reality, what happens is that the output toggles between Plot:1 and Plot:2. So simulations are correct, what is misleading is this unjustified plot toggle. During this the output from RL2 is always selected making the user think that what he sees is from RL2.

NOTE: this issue is the same discussed in comment 14 of ticket #4975.

Attachments (1)

Resimulate.mo (3.2 KB ) - added by massimo ceraolo 7 years ago.

Download all attachments as: .zip

Change History (5)

by massimo ceraolo, 7 years ago

Attachment: Resimulate.mo added

comment:1 by massimo ceraolo, 7 years ago

Description: modified (diff)

comment:2 by Adeel Asghar, 7 years ago

Resolution: fixed
Status: newclosed

Fixed in a0c6d7b/OMEdit. It was an easy fix but took me a while to find the stupid mistake :).

comment:3 by massimo ceraolo, 7 years ago

Description: modified (diff)

comment:4 by massimo ceraolo, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.