WOLFRAM SYSTEM MODELER

IdealTwoWaySwitch

Ideal two-way switch

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.Analog.Ideal.IdealTwoWaySwitch"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The two-way switch has a positive pin p and two negative pins n1 and n2. The switching behaviour is controlled by the input signal control. If control is true, the pin p is connected with the negative pin n2. Otherwise, the pin p is connected to the negative pin n1.

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 (4)

useHeatPort

Value: false

Type: Boolean

Description: = true, if heatPort is enabled

T

Value: 293.15

Type: Temperature (K)

Description: Fixed device temperature if useHeatPort = false

Ron

Value: 1e-5

Type: Resistance (Ω)

Description: Closed switch resistance

Goff

Value: 1e-5

Type: Conductance (S)

Description: Opened switch conductance

Connectors (5)

heatPort

Type: HeatPort_a

Description: Conditional heat port

p

Type: PositivePin

Description: Positive pin of an electrical component

n2

Type: NegativePin

Description: Negative pin of an electrical component

n1

Type: NegativePin

Description: Negative pin of an electrical component

control

Type: BooleanInput

Description: true => p--n2 connected, false => p--n1 connected

Used in Components (2)

SwitchedCapacitor

Modelica.Electrical.Analog.Examples.Utilities

Switched capacitor which can represent a positive or negative resistance

IdealCommutingSwitch

Modelica.Electrical.Polyphase.Ideal

Polyphase ideal commuting switch

Revisions

  • March 11, 2009 by Christoph Clauss
    conditional heat port added
  • 1998 by Christoph Clauss
    initially implemented