Conditionally uninitialized local variable dbrgdb in Modelica.Electrical.Spice3.Internal.Mos2.drainCurRevised used #1425
Labels
enhancement
New feature or enhancement
L: Electrical.Spice3
Issue addresses Modelica.Electrical.Spice3
P: low
Low priority issue
Milestone
Reported by jfrenkel on 17 Feb 2014 13:47 UTC
In the function Modelica.Electrical.Spice3.Internal.Mos2.drainCurRevised is the local variable dbsrdb only initialised if the input vds <> 0.0. Otherwise the local variable dbsrdb is used if vgs <= out_c.m_von and vds > out_c.m_vdsat is. These seems to be true in the most cases but it would be good to have a defined value in all cases.
Migrated-From: https://trac.modelica.org/Modelica/ticket/1425
The text was updated successfully, but these errors were encountered: