Records and functions for diode model
This package Diode contains functions and record with data of the semiconductor diode model.
Extends from Modelica.Icons.InternalPackage (Icon for an internal package (indicating that the package should not be directly utilized by user)).
Name | Description |
---|---|
DiodeModelLineParams | Record for Diode model line parameters |
DiodeModelLineVariables | Record for Diode model line variables |
DiodeParams | Record for Diode device parameters |
DiodeVariables | Variables for the diode model |
DiodeCalc | Diode variables |
CurrentsCapacitances | Diode variables |
diodeModelLineInitEquations | Initial precalculation of model line parameters |
diodeInitEquations | Initial calculation |
diodeCalcTempDependencies | Temperature dependency calculation |
diodeNoBypassCode | Calculation of currents |
diodeCalcAdditionalValues | Calculation of additional values |
diodeRenameParameters | Technology parameter renaming |
diodeRenameParametersDev | Temperature calculation |
diodeRenameParametersDevTemp | Temperature calculation |
Record for Diode model line parameters
This record contains the model line (also called model card) parameters that are used for the diode model in SPICE3.
Extends from Modelica.Icons.Record (Icon for records).
Record for Diode model line variables
This record contains the model line (also called model card) variables that are used for the diode model in SPICE3.
Extends from Modelica.Icons.Record (Icon for records).
Record for Diode device parameters
This record contains the device parameters that are used for the diode model in SPICE3.
Extends from Modelica.Icons.Record (Icon for records).
Variables for the diode model
This record contains the model variables that are used for the diode model in SPICE3.
Extends from Modelica.Icons.Record (Icon for records).
Diode variables
This record contains the model variables that are used for the diode model in SPICE3.
Extends from Modelica.Icons.Record (Icon for records).
Diode variables
This record contains the model variables that are used for the diode model in SPICE3.
Extends from Modelica.Icons.Record (Icon for records).
Initial precalculation of model line parameters
Within this function some parameters are initially precalculated from model line parameters.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
in_p | Input record with diode model line parameters |
Name | Description |
---|---|
out_v | Output record with diode model line variables |
Initial calculation
In this function some initial calculations for the diode model are done, especially concerning the handling of the breakthrough voltage.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
in_p | Input record with diode model line parameters |
Name | Description |
---|---|
out_v | Output record with diode variables |
Temperature dependency calculation
In this function for the diode model temperature dependencies are calculated using temperature treating functions from the equation package.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
in_p | Input record diode model line parameters |
in_dp | Input record diode parameters |
in_m | Input record Model |
in_v | Input record diode variables |
Name | Description |
---|---|
out_c | Output record with calculated values |
Calculation of currents
This function diodeNoBypassCode calculates the currents (and the capacitances) that are necessary for the currents to be used in the top-level model.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
in_p | Input record model line parameters for diode |
in_dp | Input record with parameters for diode |
in_c | Input record DiodeCalc |
in_m | Input record model |
in_m_mbInit | |
in_m_pVoltageValues[2] | [V] |
Name | Description |
---|---|
out_cc | Output record with calculated currents and capacitances |
m_dCap | Output capacitance [F] |
Calculation of additional values
This function is prepared for additional calculations but it is plain (inputs are written to the outputs) in the actual version of this library.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
in_v | Input record with diode variables |
in_p | Input record with diode model line parameters |
in_dp | Input record with diode parameters |
in_m_pVoltageValues[2] | [V] |
Name | Description |
---|---|
out_v | Output record with diode variables |
Technology parameter renaming
This function assigns the external (given by the user, e.g., IS) technology parameters to the internal parameters (e.g., m_satCur). It also does the analysis of the IsGiven values.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
ex | Modelcard with technology parameters |
con | Spice constants |
Name | Description |
---|---|
intern | Output record diode model line parameters |
Temperature calculation
This function assigns the external (given by the user, e.g., AREA) device parameters to the internal parameters (e.g., m_area). It also does the analysis of the IsGiven values.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
TEMP | Temperature [K] |
AREA | Area factor |
IC | Initial condition value (VD, not implemented yet |
OFF | Optional initial condition: false - IC not used, true - IC used, not implemented yet |
SENS_AREA | Flag to request sensitivity WRT area, not implemented yet |
Name | Description |
---|---|
dev | Output record with calculated diode parameters |
Temperature calculation
This function calculates device parameters which are temperature dependent.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
TEMP | Temperature [degC] |
Name | Description |
---|---|
dev_temp | Input record Model |