#4450 closed defect (fixed)
Most PhotoVoltaics examples are not working any more
| Reported by: | 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)
Change History (10)
by , 8 years ago
| Attachment: | PhotoVoltaics.png added |
|---|
by , 8 years ago
| Attachment: | PhotoVoltaics_TGM.png added |
|---|
Snapshot of http://libraries.openmodelica.org/branches/overview.html regarding PhotoVoltaics_TGM
comment:1 by , 8 years ago
I added PhotoVoltaics to CoverageIssues. That makes it easier to trace all related tickets and coverage development.
comment:2 by , 8 years ago
| Cc: | added |
|---|---|
| Component: | OMEdit → Run-time |
| Owner: | changed from to |
| Status: | new → assigned |
comment:3 by , 8 years ago
| Component: | Run-time → Backend |
|---|---|
| Owner: | changed from to |
Most of them fail by division with zero while the initialization.
comment:4 by , 8 years ago
| Priority: | high → critical |
|---|---|
| Status: | assigned → accepted |
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:6 by , 8 years ago
| Owner: | changed from to |
|---|
comment:7 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Patrick, thanks for fixing this! Now we are back to the previous coverage stats.

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