Skip to content
Success

Changes

Summary

  1. Set Evaluate = true for IdealTransformer.considerMagnetization (details)
Commit 54c07f297f984e404e79b4dccd7a4cb0eff4f3dd by modelica
Set Evaluate = true for IdealTransformer.considerMagnetization

Leaving this parameter unevaluated seems like making things overly complicated, and as far as I can see there is nothing that clearly requires the parameter to be treated structurally.  Hence, adding an explicit annotation will increase chances of models being treated equally efficiently across tools.

Of course, I would have preferred to declare considerMagnetization a constant with Dialog annotation instead, but I'm afraid the general preference is to use a parameter with Evaluate = true instead.
The file was modifiedModelica/Electrical/Analog/Ideal/IdealTransformer.mo (diff)