functiondrainCur
Drain current calculation
Extends from Modelica.Icons.Function (Icon for functions).
Information
This function drainCur calculates the main currents that flows from drain node to source node (level 1).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | vb | ||
| SI.Voltage | vg | ||
| SI.Voltage | vds | ||
| Mos1Calc | in_c | Input record Mos1Calc | |
| Mos1ModelLineParams | in_p | Input record model line parameters for MOS1 | |
| SpiceConstants | in_C | Spice constants | |
| Mos.MosModelLineVariables | in_vp | Input record model line variables | |
| Integer | in_m_type | Type of Mos transistor |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Mos1Calc | out_c | Output record Mos1Calc |