modelControlledIdealIntermediateSwitch
Extends from Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Information
The intermediate switch has four switching contact pins p1, p2, n1, and n2. The switching behaviour is controlled by the control pin. If its voltage exceeds the value of the parameter level, the pin p1 is connected to pin n2, and the pin p2 is connected to the pin n1. Otherwise, the pin p1 is connected to the pin n1, and the pin p2 is connected to the pin n2.
In order to prevent singularities during switching, the opened switch has a (very low) conductance Goff and the closed switch has a (very low) resistance Ron.
The limiting case is also allowed, i.e., the resistance Ron of the closed switch could be exactly zero and the conductance Goff of the open 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 electrical behavior is not modelled. The parameters are not temperature dependent.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | level | 0.5 | Switch level |
| SI.Resistance | Ron | 1e-5 | Closed switch resistance |
| SI.Conductance | Goff | 1e-5 | Opened switch conductance |
| Boolean | useHeatPort (from ConditionalHeatPort) | false | = true, if heatPort is enabled |
| SI.Temperature | T (from ConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | Conditional heat port | |
| Interfaces.PositivePin | p1 | ||
| Interfaces.PositivePin | p2 | ||
| Interfaces.NegativePin | n1 | ||
| Interfaces.NegativePin | n2 | ||
| Interfaces.Pin | control | Control pin: if control.v > level p1--n2, p2--n1 connected, otherwise p1--n1, p2--n2 connected |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | LossPower (from ConditionalHeatPort) | Loss power leaving component via heatPort | |
| SI.Temperature | T_heatPort (from ConditionalHeatPort) | Temperature of heatPort |
Revisions
- March 11, 2009
by Christoph Clauss
conditional heat port added
- 1998
by Christoph Clauss
initially implemented