modelIdealGyrator

Ideal linear gyrator of analog electrical library

Extends from Interfaces.TwoPort (TwoPort partial model of analog electrical library).

Information

The ideal gyrator is built in bondgraphic technology from a bond graph GY elements. A-causal bonds must be used here, because the causality depends on the embedding of the gyrator in its environment.


Parameters:

 r:  Gyration constant (default value = 1)


Equations:

v1 = r*i2
v2 = -r*i1

Parameters

TypeNameDefaultDescription
Modelica.SIunits.ConductanceG1Gyration conductance

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev1 (from TwoPort)Voltage drop over the left port
Modelica.SIunits.Voltagev2 (from TwoPort)Voltage drop over the right port
Modelica.SIunits.Currenti1 (from TwoPort)Current flowing from pos. to neg. pin of the left port
Modelica.SIunits.Currenti2 (from TwoPort)Current flowing from pos. to neg. pin of the right port
Modelica.Electrical.Analog.Interfaces.PositivePinp1 (from TwoPort)First left electrical connector
Modelica.Electrical.Analog.Interfaces.PositivePinp2 (from TwoPort)Second left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn1 (from TwoPort)First right electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn2 (from TwoPort)Second right electrical connector