IdealClosingSwitch

Multiphase ideal closer

    IdealClosingSwitch

Library

Modelica/Electrical/QuasiStationary/MultiPhase/Ideal

Description

Contains m ideal closing switches (Modelica.Electrical.QuasiStationary.SinglePhase.Ideal.IdealClosingSwitch).

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

Parameters

IdealClosingSwitch_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

IdealClosingSwitch_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

'abs_v'
'arg_v'
'abs_i'
'arg_i'
'P'
'P_total'
'Q'
'Q_total'
'S'
'S_total'
'pf'
'omega'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

plug_p

implicit

Positive quasi-static polyphase plug

input

1

plug_n

implicit

Negative quasi-static polyphase plug

output

1

control

implicit

true => p--n connected, false => switch open

input

2

Port 4

implicit

Conditional heat ports

input

mo_useHeatPort

See Also