Analog.Gyrator ​
This component extends from TwoPort
Usage ​
TranslatedComponents.Analog.Gyrator(G1=1, G2=1)
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
G1 | S | 1 | |
G2 | S | 1 |
Connectors ​
p1- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)n1- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)p2- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)n2- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)
Variables ​
| Name | Description | Units |
|---|---|---|
v1 | V | |
v2 | V | |
i1 | A | |
i2 | A |
Behavior ​
Source ​
dyad
component Gyrator
extends TwoPort
parameter G1::Dyad.Conductance = 1
parameter G2::Dyad.Conductance = 1
relations
i1 = G2 * v2
i2 = -G1 * v1
endFlattened Source
dyad
component Gyrator
p1 = Pin()
n1 = Pin()
p2 = Pin()
n2 = Pin()
variable v1::Dyad.Voltage
variable v2::Dyad.Voltage
variable i1::Dyad.Current
variable i2::Dyad.Current
parameter G1::Dyad.Conductance = 1
parameter G2::Dyad.Conductance = 1
relations
v1 = p1.v - n1.v
v2 = p2.v - n2.v
i1 = p1.i
i2 = p2.i
0 = p1.i + n1.i
0 = p2.i + n2.i
i1 = G2 * v2
i2 = -G1 * v1
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses