From c32b7bf1a4289e4b391a6b6cfb4510b1c406134e Mon Sep 17 00:00:00 2001 From: Leo Gall Date: Thu, 6 Nov 2025 10:50:52 +0100 Subject: [PATCH] Fix descriptions in ComplexElectric types Description for re and im were swapped? --- Modelica/Units.mo | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modelica/Units.mo b/Modelica/Units.mo index 009aa2bea3..9f86f41ea0 100644 --- a/Modelica/Units.mo +++ b/Modelica/Units.mo @@ -1100,16 +1100,16 @@ end UsersGuide; redeclare Modelica.Units.SI.CurrentDensity im "Imaginary part of complex current density") "Complex electric current density"; operator record ComplexElectricPotential = - Complex(redeclare Modelica.Units.SI.ElectricPotential re "Imaginary part of complex electric potential", - redeclare Modelica.Units.SI.ElectricPotential im "Real part of complex electric potential") + Complex(redeclare Modelica.Units.SI.ElectricPotential re "Real part of complex electric potential", + redeclare Modelica.Units.SI.ElectricPotential im "Imaginary part of complex electric potential") "Complex electric potential"; operator record ComplexPotentialDifference = Complex(redeclare Modelica.Units.SI.PotentialDifference re "Real part of complex potential difference", redeclare Modelica.Units.SI.PotentialDifference im "Imaginary part of complex potential difference") "Complex electric potential difference"; operator record ComplexVoltage = - Complex(redeclare Modelica.Units.SI.Voltage re "Imaginary part of complex voltage", - redeclare Modelica.Units.SI.Voltage im "Real part of complex voltage") + Complex(redeclare Modelica.Units.SI.Voltage re "Real part of complex voltage", + redeclare Modelica.Units.SI.Voltage im "Imaginary part of complex voltage") "Complex electric voltage"; operator record ComplexVoltageSlope = Complex(redeclare Modelica.Units.SI.VoltageSlope re "Real part of complex voltage slope",