@@ -85,7 +85,7 @@ package Machines
8585 extent={{-10,-10},{10,10}},
8686 rotation=270,
8787 origin={-10,0})));
88- Modelica.Electrical.Machines.Utilities.VoltageController voltageController (
88+ Modelica.Electrical.Machines.Utilities.DQCurrentController dqCurrentController (
8989 p= smpm.p,
9090 Ld=smpm.Lssigma + smpm.Lmd,
9191 Lq=smpm.Lssigma + smpm.Lmq,
@@ -160,15 +160,15 @@ package Machines
160160 points={{-50,90},{-10,90},{-10,60}}, color={0,0,255}));
161161 connect (currentSensor.plug_n, terminalBox.plugSupply) annotation (Line(
162162 points={{-10,-10},{-10,-28}}, color={0,0,255}));
163- connect (id.y, voltageController.id_rms ) annotation (Line(
163+ connect (id.y, dqCurrentController.id ) annotation (Line(
164164 points={{-69,70},{-60,70},{-60,56},{-52,56}}, color={0,0,127}));
165- connect (iq.y, voltageController.iq_rms ) annotation (Line(
165+ connect (iq.y, dqCurrentController.iq ) annotation (Line(
166166 points={{-69,30},{-60,30},{-60,44},{-52,44}}, color={0,0,127}));
167- connect (angleSensor.phi, voltageController .phi) annotation (Line(
167+ connect (angleSensor.phi, dqCurrentController .phi) annotation (Line(
168168 points={{10,11},{10,34},{-34,34},{-34,38}}, color={0,0,127}));
169- connect (voltageController .y, signalVoltage.v) annotation (Line(
169+ connect (dqCurrentController .y, signalVoltage.v) annotation (Line(
170170 points={{-29,50},{-17,50}}, color={0,0,127}));
171- connect (currentSensor.i, voltageController .iActual) annotation (Line(
171+ connect (currentSensor.i, dqCurrentController .iActual) annotation (Line(
172172 points={{-21,1.9984e-015},{-46,1.9984e-015},{-46,38}}, color={0,0,127}));
173173 connect (inertiaLoad.flange_a, torqueSensor.flange_b) annotation (Line(
174174 points={{50,-40},{50,-60}}));
@@ -199,7 +199,7 @@ package Machines
199199 info="<html>
200200<p>
201201A synchronous machine with permanent magnets accelerates a quadratic speed dependent load from standstill.
202- The rms values of d- and q-current in rotor fixed coordinate system are controlled by the voltageController ,
202+ The rms values of d- and q-current in rotor fixed coordinate system are controlled by the dqCurrentController ,
203203and the output voltages fed to the machine. The result shows that the torque is influenced by the q-current,
204204whereas the stator voltage is influenced by the d-current.</p>
205205<p>
0 commit comments