modelForcedSwitch

Forced switch, 1-phase

Extends from Partials.SwitchBase (Switch base, 1-phase).

Information

Allows switching of single conductor (of totally one or two).
Switching by forced change of current-voltage ratio.

'closed' and 'open' determine the mechanical switch-position.
Electrically the switch is 'on' if it is 'closed', whereas the currents start decreasing exponentially, when it is opened.

The transition between the 'off' conductivity (epsG) and the 'on' resistivity (epsR) is continuous with an exponential relaxation function

  f = (exp(-dt^p/2) - exp(-1/2))/(1 - exp(-1/2))
with
  dt          relative time measured from switching instant
  t_relax     relaxation time
  p           power of exponent

Parameters

TypeNameDefaultDescription
Realeps (from SwitchBase0){1e-4, 1e-4}{resistance 'closed', conductance 'open'}
SI.Timet_relax10e-3switch relaxation time
Integerp_relax4power of relaxation exponent
Nominal
SI.VoltageV_nom (from NominalVI)1nom Voltage
SI.CurrentI_nom (from NominalVI)1nom Current

Connectors

TypeNameDefaultDescription
Ports.TwoPin_pterm_p (from Port_p_n)positive terminal
Ports.TwoPin_nterm_n (from Port_p_n)negative terminal
Modelica.Blocks.Interfaces.BooleanInputcontrol (from SwitchBase)true:closed, false:open

Components

TypeNameDefaultDescription
PS.Voltagev (from SwitchBase)
PS.Currenti (from SwitchBase)

Contents

NameDescription
relaxationprotected