Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4450 closed defect (fixed)

Most PhotoVoltaics examples are not working any more

Reported by: Christian Kral <dr.christian.kral@…> Owned by: Patrick Täuber
Priority: critical Milestone: 1.12.0
Component: Backend Version: v1.12.0
Keywords: Cc: ahaumer@…, Lennart Ochel, Patrick Täuber

Description

As of the latest version of OpenModelica I noticed, that most examples do not simulate any more. I made a snapshot of http://libraries.openmodelica.org/branches/overview.html and attached it to this mail. My actual OM version is

OMEdit 1.12.0~dev-318-g47cd820
Connected to OpenModelica 1.12.0~dev-825-g7fd8f31

So apparently none of the models of PhotoVoltaics_TGM simulate so far, and only three models of PhotoVoltaics simulate right now. In the versions 1.9 and 1.11 there worked a couple more models than today.

In practically all simulation experiments I get a similar error message:

stdout | error | <p>Simulation process failed. Exited with code 255.</p>
assert | debug | <p>division by zero at time 0, (a=0.6388888888888888) / (b=0), where divisor b expression is: plant.diode.Vt * plant.diode.m</p>

To me this error message sounds like an initialization problem, as neither plant.diode.Vt nor plant.diode.m are zero. So this might be related with an iteration problem.

However, I were very unhappy if you would release version 1.12 of OpenModelica without having proper support of the PhotoVoltaics library, especially, as the PhotoVoltaics libraries were supported a lot better by OpenModelica already.

Attachments (2)

PhotoVoltaics.png (78.4 KB ) - added by Christian Kral <dr.christian.kral@…> 7 years ago.
Snapshot of http://libraries.openmodelica.org/branches/overview.html regarding PhotoVoltaics
PhotoVoltaics_TGM.png (76.0 KB ) - added by Christian Kral <dr.christian.kral@…> 7 years ago.
Snapshot of http://libraries.openmodelica.org/branches/overview.html regarding PhotoVoltaics_TGM

Download all attachments as: .zip

Change History (10)

by Christian Kral <dr.christian.kral@…>, 7 years ago

Attachment: PhotoVoltaics.png added

by Christian Kral <dr.christian.kral@…>, 7 years ago

Attachment: PhotoVoltaics_TGM.png added

Snapshot of http://libraries.openmodelica.org/branches/overview.html regarding PhotoVoltaics_TGM

comment:1 by Lennart Ochel, 7 years ago

I added PhotoVoltaics to CoverageIssues. That makes it easier to trace all related tickets and coverage development.

comment:2 by Adeel Asghar, 7 years ago

Cc: Lennart Ochel added
Component: OMEditRun-time
Owner: changed from Adeel Asghar to Willi Braun
Status: newassigned

comment:3 by Willi Braun, 7 years ago

Component: Run-timeBackend
Owner: changed from Willi Braun to Lennart Ochel

Most of them fail by division with zero while the initialization.

comment:4 by Lennart Ochel, 7 years ago

Priority: highcritical
Status: assignedaccepted

I looked into it, and it is an issue with the dependency analysis. I don't know the root of the problem yet, but I am quite optimistic that it will be fixed for the 1.12.0 release.

comment:5 by Lennart Ochel, 7 years ago

Cc: Patrick Täuber added

Thanks @ptaeuber for looking into this.

comment:6 by Patrick Täuber, 7 years ago

Owner: changed from Lennart Ochel to Patrick Täuber

comment:7 by Lennart Ochel, 7 years ago

Resolution: fixed
Status: acceptedclosed

Patrick, thanks for fixing this! Now we are back to the previous coverage stats.

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

Thanks for fixing this issue

Note: See TracTickets for help on using tickets.