#3052 closed defect (fixed)
Initialization runs into division by zero error
Reported by: | Willi Braun | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | blocker | Milestone: | 1.9.4 |
Component: | Backend | Version: | trunk |
Keywords: | initialization | Cc: |
Description
Following model demonstrates probably an typical initialization issue with a division by zero error message:
model A parameter Real a(fixed=false); Real x = 1.0; parameter Real b = 5.6 / a; initial equation x*2 = a; end A;
One has also no chance to initialize that model via result.
Change History (6)
comment:1 by , 10 years ago
Priority: | critical → blocker |
---|
follow-up: 3 comment:2 by , 10 years ago
Status: | new → accepted |
---|
This is connected to the old numeric initialization approach. I am working on removing it, which will solve a bunch of issues - this one included.
comment:3 by , 10 years ago
Replying to lochel:
This is connected to the old numeric initialization approach. I am working on removing it, which will solve a bunch of issues - this one included.
I just tested a patch I created several weeks ago. It solves this issue, but it is not finished yet.
comment:5 by , 9 years ago
Milestone: | Future → pre1.9.4 |
---|
It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.
comment:6 by , 7 years ago
Milestone: | pre1.9.4 → 1.9.4 |
---|
Removing the pre1.9.4 milestone in favor of 1.9.4.
Something new on that issue?