IdealCommutingSwitch

Multiphase ideal commuting switch

    IdealCommutingSwitch

Library

Modelica/Electrical/QuasiStationary/MultiPhase/Ideal

Description

Contains m singlephase ideal commuting switches (Modelica.Electrical.QuasiStationary.SinglePhase.Ideal.IdealCommutingSwitch).

Use with care:This switch is only intended to be used for structural changes, not fast switching sequences, due to the quasistationary formulation.

Parameters

IdealCommutingSwitch_0

NameLabelDescriptionData TypeValid Values

mo_m

m

Number of phases

Scalar

mo_Ron

Ron

Closed switch resistance

Vector

mo_Goff

Goff

Opened switch conductance

Vector

mo_mh

mh

Number of heatPorts=number of phases

Scalar

mo_useHeatPort

useHeatPort

=true, if all heat ports are enabled

Number

0
1

mo_T

T

Fixed device temperatures if useHeatPort = false

Vector

IdealCommutingSwitch_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

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

control

implicit

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

input

1

plug_p

implicit

input

2

plug_n2

implicit

output

1

plug_n1

implicit

output

2

Port 5

implicit

Conditional heat ports

input

mo_useHeatPort

See Also