Opened 7 years ago
Closed 7 years ago
#4427 closed defect (worksforme)
MSL322 coverage: Modelica.Electrical.Analog.Examples.ShowSaturatingInductor
Reported by: | vwaurich | Owned by: | lochel |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Initialization | Version: | |
Keywords: | Cc: | wbraun, ptaeuber |
Description
Hi,
Some investigation insight to share:
The model fails for a wrong value of SaturatingInductance1.Lact at start time=0, computed by:
10: SaturatingInductance1.Lact=DIVISION((SaturatingInductance1.Lzer - SaturatingInductance1.Linf) * atan(DIVISION(SaturatingInductance1.i, SaturatingInductance1.Ipar)) * SaturatingInductance1.Ipar, SaturatingInductance1.i) + SaturatingInductance1.Linf
As SaturatingInductance1.i is 0 at start time, the original equation would yield to 0 = 0 (so its pretty useless for initial system) and the initial equation to a division by zero. If we just use the start value of SaturatingInductance1.Lact, the results are correct.
Change History (1)
comment:1 Changed 7 years ago by sjoelund.se
- Milestone Future deleted
- Resolution set to worksforme
- Status changed from new to closed
This is working in the current master