functiondrainCurRevised

Drain current calculation

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function drainCurRevised calculates the main currents that flows from drain node to source node (level 2).

Inputs

TypeNameDefaultDescription
SI.Voltagevbs
SI.Voltagevgs
SI.Voltagevds
Spice3.Internal.Mosfet.Mosfetin_mRecord MOSFET
Modelica.Electrical.Spice3.Internal.Mos2.Mos2Calcin_cInput record Mos2Calc
Modelica.Electrical.Spice3.Internal.Mos2.Mos2ModelLineParamsin_pInput record model line parameters for MOS2
Integerin_m_typeType of MOS transistor

Outputs

TypeNameDefaultDescription
Modelica.Electrical.Spice3.Internal.Mos2.Mos2Calcout_cOutput record Mos2Calc