ControlledIdealIntermediateSwitch

Controlled ideal intermediate switch

    ControlledIdealIntermediateSwitch

Library

Modelica/Electrical/Analog/Ideal

Description

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.

ControlledIdealIntermediateSwitch1.png

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.

ControlledIdealIntermediateSwitch2.png

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

ControlledIdealIntermediateSwitch_0

NameLabelDescriptionData TypeValid Values

mo_level

level

Switch level

Scalar

mo_Ron

Ron

Closed switch resistance

Scalar

mo_Goff

Goff

Opened switch conductance

Scalar

mo_useHeatPort

useHeatPort

=true, if heatPort is enabled

Number

0
1

mo_T

T

Fixed device temperature if useHeatPort = false

Scalar

mo_unitVoltage

unitVoltage

Scalar

mo_unitCurrent

unitCurrent

Scalar

ControlledIdealIntermediateSwitch_1

NameLabelDescriptionData TypeValid Values

mo_LossPower

LossPower

LossPower

Structure

mo_LossPower/fixed

fixed

Cell of scalars

true
false

mo_LossPower/start

start

Cell of scalars

mo_T_heatPort

T_heatPort

T_heatPort

Structure

mo_T_heatPort/fixed

fixed

Cell of scalars

true
false

mo_T_heatPort/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

p1

implicit

input

1

p2

implicit

input

2

n1

implicit

output

1

n2

implicit

output

2

control

implicit

Control pin: if control.v > level p1--n2, p2--n1 connected,\n otherwise p1--n1, p2--n2 connected

input

3

Port 6

implicit

Conditional heat port

input

mo_useHeatPort