IdealClosingSwitch
Ideal electrical closer
Library
Modelica/Electrical/QuasiStationary/SinglePhase/Ideal
Description
The ideal closing switch has a positive pin p and a negative pin n.The switching behaviour is controlled by input signal control.If control is true, pin p is connectedwith negative pin n. Otherwise, pin p is not connectedwith negative pin n.
In order to prevent singularities during switching, the openedswitch has a (very low) conductance Goffand the closed switch has a (very low) resistance Ron.The limiting case is also allowed, i.e., the resistance Ron of theclosed switch could be exactly zero and the conductance Goff of theopen switch could be also exactly zero. Note, there are circuits,where a description with zero Ron or zero Goff is not possible.
Please note:In case of useHeatPort=true the temperature dependence of the electricalbehavior is not modelled. The parameters are not temperature dependent.
Use with care:This switch is only intended to be used for structural changes, not for fast switching sequences, due to the quasistationary formulation.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_T_heatPort | T_heatPort | T_heatPort | Structure | |
mo_T_heatPort/fixed | fixed | Cell of scalars | true | |
mo_T_heatPort/start | start | Cell of scalars | ||
mo_Ron | Ron | Closed switch resistance | Scalar | |
mo_Goff | Goff | Opened switch conductance | Scalar | |
mo_useHeatPort | useHeatPort | =true, if heatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar |
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 |
---|---|---|---|---|
pin_p | implicit | Positive quasi-static single-phase pin | input | 1 |
pin_n | implicit | Negative quasi-static single-phase pin | output | 1 |
control | implicit | true => p--n connected, false => switch open | input | 2 |
Port 4 | implicit | Conditional heat port | input | mo_useHeatPort |