Opened 8 years ago

Closed 7 years ago

#4427 closed defect (worksforme)

MSL322 coverage: Modelica.Electrical.Analog.Examples.ShowSaturatingInductor

Reported by: Volker Waurich Owned by: Lennart Ochel
Priority: normal Milestone:
Component: Initialization Version:
Keywords: Cc: Willi Braun, Patrick Täuber

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 by Martin Sjölund, 7 years ago

Milestone: Future
Resolution: worksforme
Status: newclosed

This is working in the current master

Note: See TracTickets for help on using tickets.