drainCurRevised

Drain current calculation

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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

Syntax

out_c = drainCurRevised(vbs, vgs, vds, in_m, in_c, in_p, in_m_type)

Inputs (7)

vbs

Type: Voltage (V)

vgs

Type: Voltage (V)

vds

Type: Voltage (V)

in_m

Type: Mosfet

Description: Record MOSFET

in_c

Type: Mos2Calc

Description: Input record Mos2Calc

in_p

Type: Mos2ModelLineParams

Description: Input record model line parameters for MOS2

in_m_type

Type: Integer

Description: Type of MOS transistor

Outputs (1)

out_c

Type: Mos2Calc

Description: Output record Mos2Calc