Opened 14 years ago
Last modified 14 years ago
#1243 closed defect (fixed)
Flattening of Magnetic.FluxTubes fails
Reported by: | Peter Aronsson | Owned by: | Peter Aronsson |
---|---|---|---|
Priority: | blocker | Milestone: | Red October |
Component: | Version: | ||
Keywords: | Cc: | Peter Aronsson, |
Description
Flattening of all examples in Magnetic.FluxTubes fails, typically with error message like:
%%(font-weight: 600) Validation of class Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke%%%%(color: #ff0000) E%%%%(color: #ff0000) rror:%% Error occured while flattening model Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke
{{{%%(color: #ff0000) Error:%% Variable pmActuator.R not found in scope Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke
%%(color: #ff0000) Error:%% Class Modelica.Magnetic.FluxTubes.Material.HardMagnetic.PlasticNdFeB not found in scope Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.
%%(color: #ff0000) Error:%% Variable Modelica.Constants.mu_0 not found in scope Modelica.Magnetic.FluxTubes.Material.HardMagnetic.PlasticNdFeB
%%(color: #ff0000) Error:%% No matching function found for Modelica.Magnetic.FluxTubes.Material.HardMagnetic.PlasticNdFeB
%%(color: #ff0000) Error:%% Variable Modelica.Constants.mu_0 not found in scope Modelica.Magnetic.FluxTubes.Material.HardMagnetic.PlasticNdFeB
%%(color: #ff0000) Error:%% Class Modelica.Magnetic.FluxTubes.Material.HardMagnetic.PlasticNdFeB (its type) not found in scope Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.
%%(color: #ff0000) Error:%% Variable Modelica.Constants.mu_0 not found in scope Modelica.Magnetic.FluxTubes.Material.HardMagnetic.PlasticNdFeB}}}
These examples seems to have been fixed due to the recent checkModel fixes. See test case libraries/msl31/Modelica.Magnetic.FluxTubes.