Toggle switch
Keywords
electrical, node, bidirectional
Ports
Name | Type |
---|---|
port 1 | Electrical Node |
port 2 | Electrical Node |
Properties
General Properties
Name | Default value | Default unit | Range |
---|---|---|---|
name Defines the name of the element. |
Toggle Switch | - | - |
annotate Defines whether or not to display annotations on the schematic editor. |
true | - | [true, false] |
enabled Defines whether or not the element is enabled. |
true | - | [true, false] |
type Defines the element unique type (read only). |
Toggle Switch | - | - |
description A brief description of the elements functionality. |
Toggle switch | - | - |
prefix Defines the element name prefix. |
S | - | - |
model Defines the element model name. |
- | - | - |
library Defines the element location or source in the library (custom or design kit). |
- | - | - |
local path Defines the local path or working folder $LOCAL for the element. |
- | - | - |
url An optional URL address pointing to the element online help. |
- | - | - |
Standard Properties
Name | Default value | Default unit | Range |
---|---|---|---|
toggle Switch toggle state. |
off | - | [on, off |
====================================
Implementation Details
The element s-parameters matrix is defined depending on the property 'toggle'. If the 'toggle' property is set to ‘on’, the s-parameters matrix is defined as:
$$S(f)=\begin{bmatrix} 0&1 \\ 1&0 \end{bmatrix}$$
If the ‘toggle’ property is set to ‘off’ or the element is disabled, the s-parameters matrix is defined as:
$$S(f)=\begin{bmatrix} 1&0 \\ 0&1 \end{bmatrix}$$