modelTransformer
Transformer of analog electrical library
Extends from Interfaces.TwoPort (TwoPort partial model of analog electrical library).
Information
The real transformer is built in bondgraphic technology from a bond graph IF element. A-causal bonds must be used here, because the causality depends on the embedding of the inductive field in its environment.
Parameters: L1: Primary inductance (default value = 1 Henry) L2: Secondary inductance (default value = 1 Henry) M: Coupling inductance (default value = 1 Henry)
Equations:
Det = L1*L2 - M2
Linv1 = L2/Det
Linv2 = L1/Det
Minv = -M/Det
der(f1) = Linv1*e1 + Minv*e2
der(f2) = Minv*e1 + Linv2*e2
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Inductance | L1 | 1 | Primary inductance |
| Modelica.SIunits.Inductance | L2 | 1 | Secondary inductance |
| Modelica.SIunits.Inductance | M | 1 | Coupling inductance |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v1 (from TwoPort) | Voltage drop over the left port | |
| Modelica.SIunits.Voltage | v2 (from TwoPort) | Voltage drop over the right port | |
| Modelica.SIunits.Current | i1 (from TwoPort) | Current flowing from pos. to neg. pin of the left port | |
| Modelica.SIunits.Current | i2 (from TwoPort) | Current flowing from pos. to neg. pin of the right port | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | p1 (from TwoPort) | First left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | p2 (from TwoPort) | Second left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n1 (from TwoPort) | First right electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n2 (from TwoPort) | Second right electrical connector |