Resistor
Multiphase linear resistor
Library
Modelica/Electrical/QuasiStationary/MultiPhase/Basic
Description
The linear resistor connects the complex voltages v
with the complexcurrents i
by i*R = v
,using m
single phase Resistors.
The resistor model also has m
optionalconditional heat ports.A linear temperature dependency of the resistances for enabled heat ports is also taken into account.
See also
Resistor,Conductor,Capacitor,Inductor,Impedance,Admittance,Variable resistor,Variable conductor,Variable capacitor,Variable inductor,Variable impedance,Variable admittance
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_m | m | Number of phases | Scalar | |
mo_R_ref | R_ref | Reference resistances at T_ref | Vector | |
mo_T_ref | T_ref | Reference temperatures | Vector | |
mo_alpha_ref | alpha_ref | Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref)) | Vector | |
mo_mh | mh | Number of heatPorts=number of phases | Scalar | |
mo_useHeatPort | useHeatPort | =true, if all heat ports are enabled | Number | 0 |
mo_T | T | Fixed device temperatures if useHeatPort = false | Vector |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'abs_v' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
plug_p | implicit | Positive quasi-static polyphase plug | input | 1 |
plug_n | implicit | Negative quasi-static polyphase plug | output | 1 |
Port 3 | implicit | Conditional heat ports | input | mo_useHeatPort |