Opened 8 years ago

Closed 8 years ago

#4377 closed defect (fixed)

Long simulation time causes OMEdit to freeze

Reported by: Christian Kral <dr.christian.kral@…> Owned by: Adeel Asghar
Priority: high Milestone: 1.12.0
Component: OMEdit Version: v1.12.0
Keywords: Cc:

Description

Please load the System Library PhotoVoltaics and consider the following example:

model Irradiance
  PhotoVoltaics.Sources.Irradiance.Irradiance irradiance annotation(
    Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  annotation(
    uses(PhotoVoltaics(version = "0.6.0")),
    experiment(StartTime = 0, StopTime = 31536000, Tolerance = 1e-6, Interval = 100));
end Irradiance;

Try to plot sunAzimuth1 and OMEdit freezes.

Change History (3)

comment:1 by Christian Kral <dr.christian.kral@…>, 8 years ago

Resolution: invalid
Status: newclosed

Sorry. OMEdit does not freeze. It just takes a long time...

comment:2 by Christian Kral <dr.christian.kral@…>, 8 years ago

Resolution: invalid
Status: closedreopened

Actually, could you just double check, to see whether the plotting time is appropriate (compare plotting angleOfIncidence, which is plotted a lot faster). Thanks.

comment:3 by Adeel Asghar, 8 years ago

Milestone: Future1.12.0
Resolution: fixed
Status: reopenedclosed

Fixed in 3c328b2/OMPlot and f8a1c7e/OMEdit.

The plotting time is reduced from minutes to few seconds.

Note: See TracTickets for help on using tickets.