drainCur

Drain current calculation obsolete, use drainCurRevised

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 = drainCur(vbs, vgs, vds, in_m, in_c, in_p, in_C, in_vp, in_m_type)

Inputs (9)

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_C

Type: SpiceConstants

Description: Spice constants

in_vp

Type: Mos2ModelLineVariables

Description: Input record model line variables

in_m_type

Type: Integer

Description: Type of MOS transistor

Outputs (1)

out_c

Type: Mos2Calc

Description: Output record Mos2Calc