IdealIntermediateSwitch

Ideal intermediate switch

    IdealIntermediateSwitch

Library

Modelica/Electrical/QuasiStationary/SinglePhase/Ideal

Description

The intermediate switch has four switching contact pins p1, p2, n1, and n2.The switching behaviour is controlled by the input signal control. If controlis true, the pin p1 is connected to pin n2, and the pin p2 isconnected to the pin n2. Otherwise, the pin p1 is connected to n1, andp2 is connected to n2.

IdealIntermediateSwitch1

In order to prevent singularities during switching, the openedswitch has a (very low) conductance Goffand the closed switch has a (very low) resistance Ron.

IdealIntermediateSwitch2

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

IdealIntermediateSwitch_0

NameLabelDescriptionData TypeValid Values

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_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

IdealIntermediateSwitch_1

NameLabelDescriptionData TypeValid 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

'LossPower'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

p1

implicit

input

1

p2

implicit

input

2

n1

implicit

output

1

n2

implicit

output

2

control

implicit

true => p1--n2, p2--n1 connected, otherwise p1--n1, p2--n2 connected

input

3

Port 6

implicit

Conditional heat port

input

mo_useHeatPort