ModelicaStandardLibrary icon indicating copy to clipboard operation
ModelicaStandardLibrary copied to clipboard

Examples/InductionMachines/IMC_DCBraking.mo

Open AHaumer opened this issue 3 months ago • 7 comments

enhances the mentioned example to avoid problems changes the comparisonSignals (old ones are bad - see discussion in #4688) @uschna pls. test @GallLeo @MatthiasBSchaefer pls. prodice new reference result - thx! @casella should we backport to 4.1.1? I suppose "no".

AHaumer avatar Sep 12 '25 15:09 AHaumer

Sorry @uschna I have to check in detail today's evening.

AHaumer avatar Sep 15 '25 09:09 AHaumer

Dear @AHaumer, thank you for your correction. I see only few differences now, for example:

  1. Placement-annotation of constantVoltage
  2. shorter Types ((Modelica.Electrical.)Analog.Sources.ConstantVoltage, (Modelica.)Blocks.Sources.BooleanConstant, and (Modelica.Electrical.)Analog.Ideal.IdealOpeningSwitch)
  3. other initial equations: idq_ss and idq_rs instead of idq_sr and idq_rr

Hence, I must test it again.

uschna avatar Sep 15 '25 15:09 uschna

Thanks for looking into details, @uschna Somehow I mixed up the old and the new version. Should be corrected now.

AHaumer avatar Sep 15 '25 15:09 AHaumer

Dear @AHaumer, I tested it again with this version and your results. It is also valid. Thank you.

uschna avatar Sep 15 '25 16:09 uschna

@casella should we backport to 4.1.1? I suppose "no".

I would keep 4.1.1 for critical fixes, e.g. if we discover late that we introduced regressions in 4.1.0.

casella avatar Sep 16 '25 16:09 casella

Instead of comparing stator and rotor current components, we could for example compare the magnitudes of the current phasor components. In case of the stator current this is equivalent to the quasi rms current of the phase currents sensed by Polyphase.Sensors.CurrentQuasiRMSSensor:

image

christiankral avatar Sep 21 '25 19:09 christiankral

Instead of comparing stator and rotor current components, we could for example compare the magnitudes of the current phasor components. In case of the stator current this is equivalent to the quasi rms current of the phase currents sensed by Polyphase.Sensors.CurrentQuasiRMSSensor:

Why not comparing the current phasor components, from which you are able to compute torque?

AHaumer avatar Sep 22 '25 15:09 AHaumer