BuildingSystems.Electrical.AC.OnePhase.Conversion.ACACTransformerFull

# .BuildingSystems.Electrical.AC.OnePhase.Conversion.ACACTransformerFull

AC AC transformer with detailed equivalent circuit

## Information

This is a detailed transformer model that takes into account the winding Joule losses and the leakage reactances on both primary and secondary side. The model also describes the core or iron losses and the losses due to magnetization effects.

The losses are represented by a series of resistances R1, R2, Rm and inductances L1, L2, and Lm.

The model is parameterized using the following parameters

- `VHigh` - RMS voltage at primary side,
- `VLow` - RMS voltage at secondary side,
- `VABase` - apparent nominal power of the transformer,
- `f` - frequency,
- `R_1, L_1` - resistance and inductance at primary side (per unit),
- `R_2, L_2` - resistance and inductance at secondary side (per unit), and
- `R_m, L_m` - resistance and inductance for magnetization effects (per unit).

Given the nominal conditions, the model computes the values of the nominal impedances at both primary and secondary side. Given these values, the per unit values are transformed into the actual values of the resistances and inductances.

The magnetization losses can be enabled or disabled using the boolean flag `magEffects`.

## Revisions

- January 30, 2019, by Michael Wetter:
  Added missing `replaceable` for the terminal.
- November 28, 2016, by Michael Wetter:
  Made voltage public to allow setting a start value.
  This is for #584.
- May 26, 2016, by Michael Wetter:
  Moved function call to `PhaseSystem.thetaRef` out of derivative operator as this is not yet supported by JModelica.
- September 4, 2014, by Michael Wetter:
  Revised model.
- August 5, 2014, by Marco Bonvini:
  Revised documentation.
- June 17, 2014, by Marco Bonvini:
  Adde parameter `phi_1` and `phi_2` that are used during initialization to specify the angle of the voltage phasor.
- June 9, 2014, by Marco Bonvini:
  Revised implementation and added `stateSelect` statement to use the current `i[:]` on the connectors as iteration variable for the initialization problem.
- January 29, 2012, by Thierry S. Nouidui:
  First implementation.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos