Engee documentation

Switch

A key controlled by an external signal.

blockType: AcausalFoundation.Electrical.Elements.ControlledSwitch

Path in the library:

/Physical Modeling/Fundamental/Electrical/Elements/Switch

Description

Block Switch It is a key controlled by an external signal. If the external signal is greater than the value specified in the Threshold parameter, then the key is closed, otherwise the key is open.

Electric wrenches add circuit breaks to the model, so the choice of a solver can affect the behavior of the model.

Ports

Input

Signal — control signal, dimensionless
scalar

An input signal that controls the state of the key (on or off).

Undirected

p — electrical terminal
electricity

An electrical port representing one of the terminals of the key. The block has no orientation.

n — electrical terminal
electricity

An electrical port representing one of the terminals of the key. The block has no direction.

Parameters

Parameters

Closed resistance — pass closed key resistance:q[<br>] 0.01 Ohm (by default) | positive scalar

The resistance of the key in the closed state. The parameter value must be greater than zero.

Open conductivity — conductivity of the open pass key:q[<br>] 1e−8 1/ohm (by default) | positive scalar

The conductivity of the key in the open state. The parameter value must be greater than zero.

Threshold — threshold value for opening and closing the pass key:q[<br>] 0.5 (by default) | a dimensionless scalar

The threshold value for opening and closing the key. If the external signal is greater than this value, then the key is closed, otherwise it is open.

Initial Targets

Current — initial value of the pass current:q[<br>] 0 A (by default) | scalar

The initial value of the current.

Voltage — the initial value of the pass voltage:q[<br>] 0 V (by default) | scalar

The initial value of the voltage.