Switch
A key controlled by an external signal.
blockType: AcausalFoundation.Electrical.Elements.ControlledSwitch
Path in the library:
|
Description
Block Switch It is a key controlled by an external signal. If the external signal is greater than the value specified in the parameter Threshold, then the key is closed, otherwise the key is open.
Electric wrenches add circuit breaks to the model, so the choice of solver can affect the behavior of the model.
Variables
Use the parameter group Initial Targets to set the priority and initial target values for the block parameter variables before modeling. For more information, see Configuring physical blocks using target values.
Ports
Conserving
#
p
—
electrical terminal
electricity
Details
The electrical port, which is one of the terminals of the key. The block has no direction.
| Program usage name |
|
#
n
—
electrical terminal
electricity
Details
The electrical port, which is one of the terminals of the key. The block has no direction.
| Program usage name |
|
Input
#
IN_1
—
control signal, dimensionless
scalar
Details
An input signal that controls the state of the key (on or off).
| Data types |
|
| Complex numbers support |
I don’t |
Parameters
Parameters
#
Closed resistance —
closed-key resistance
Ohm | mOhm | kOhm | MOhm | GOhm
Details
The resistance of the key in the closed state. The parameter value must be greater than zero.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Open conductance —
open key conductivity
S | nS | uS | mS | 1/Ohm
Details
The conductivity of the key in the open state. The parameter value must be greater than zero.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Threshold — threshold value for opening and closing the key
Details
The threshold value for opening and closing the key. If the external signal is greater than this value, the key is closed, otherwise it is open.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |