IdealOpeningSwitch

Ideal electrical opener

    IdealOpeningSwitch

Library

Electrical/QuasiStationary/SinglePhase/Ideal

Description

The ideal opening switch has a positive pin p and a negative pin n. The switching behaviour is controlled by the input signal control. If control is true, pin p is not connected with negative pin n. Otherwise, pin p is connected with negative pin n.

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.

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

IdealOpeningSwitch_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_unitVoltage

unitVoltage

mo_unitCurrent

unitCurrent

IdealOpeningSwitch_1

NameLabelDescriptionData TypeValid Values

mo_abs_v

abs_v

abs_v

Structure

mo_abs_v/fixed

fixed

Cell of scalars

true
false

mo_abs_v/start

start

Cell of scalars

mo_arg_v

arg_v

arg_v

Structure

mo_arg_v/fixed

fixed

Cell of scalars

true
false

mo_arg_v/start

start

Cell of scalars

mo_abs_i

abs_i

abs_i

Structure

mo_abs_i/fixed

fixed

Cell of scalars

true
false

mo_abs_i/start

start

Cell of scalars

mo_arg_i

arg_i

arg_i

Structure

mo_arg_i/fixed

fixed

Cell of scalars

true
false

mo_arg_i/start

start

Cell of scalars

mo_P

P

P

Structure

mo_P/fixed

fixed

Cell of scalars

true
false

mo_P/start

start

Cell of scalars

mo_Q

Q

Q

Structure

mo_Q/fixed

fixed

Cell of scalars

true
false

mo_Q/start

start

Cell of scalars

mo_S

S

S

Structure

mo_S/fixed

fixed

Cell of scalars

true
false

mo_S/start

start

Cell of scalars

mo_pf

pf

pf

Structure

mo_pf/fixed

fixed

Cell of scalars

true
false

mo_pf/start

start

Cell of scalars

mo_omega

omega

omega

Structure

mo_omega/fixed

fixed

Cell of scalars

true
false

mo_omega/start

start

Cell of scalars

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

mo_control

control

control

Structure

mo_control/fixed

fixed

Cell of scalars

true
false

mo_control/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

pin_p

implicit

Positive quasi-static single-phase pin

input

1

pin_n

implicit

Negative quasi-static single-phase pin

output

1

control

implicit

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

input

2

Port 4

implicit

Conditional heat port

input

mo_useHeatPort