MSL v3.2.3-1
MarkusOlssonModelon
released this
15 Aug 12:13
·
4 commits
to v3.2.3-patched
since this release
Modelica Standard Library (MSL) version 3.2.3 build 3 with the following patches applied:
- To the model Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise defined in Modelica/Blocks/
package.mo a StateSelect.always is added for Controller.y1. With this patch dynamic state selection is avoided.
See also the reported issue 2189 on the GitHub repository for Modelica Association (modelica#2189). - The model Modelica.Electrical.Analog.Examples.SimpleTriacCircuit is patched to with a looser tolerance to
improve numerical stability near certain event points. - The state selection in Modelica.Magnetic.FluxTubes.Examples.Hysteresis.HysteresisModelComparison is
patched to improve the numerical robustness, see issue 2248 on the GitHub repository for Modelica Association (modelica#2248). - In Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls the experiment tolerance is tightened to
1e-008 instead of 1e-006 to avoid chattering. - In Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 an initial
equation has been added in order to fully specify the initial system, see issue 3409 on the GitHub repository
for Modelica Association (modelica#3409). - In Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive the connection to ground has been relocated from the rectifier to the inductor in order to simplify the set of linear equations
for proper state selection. - In Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse the
experiment tolerance is tightened to 3e-007 instead of 1e-006 to avoid infinite loops due to numerical noise. - In Modelica/Media/package.mo array sizes are specified since OCT does not support this type
of unspecified array sizes. This affects the models Modelica.Media.Examples.ReferenceAir.MoistAir,
Modelica.Media.Examples.ReferenceAir.MoistAir1 and Modelica.Media.Examples.ReferenceAir.MoistAir2. - In Modelica/Resources/C-Sources/ModelicaStandardTablesUsertab.c it is removed weak symbol linking for
MacOS since MacOS doesn't support it. This affects the models using ModelicaStandardTables.
With the patches listed above applied, all example models in version 3.2.3 build 3 of MSL simulate correctly with
Modelon's OPTIMICA Compiler Toolkit (OCT).
The following changes have also been applied in order to support 3D animations in Modelon Impact:
- In file MSL323/ModelicaServices/package.mo, a number of parameters / variables have been added.
- In file MSL323/ModelicaServices/package.mo, the equation (x, y, z, C) =
surfaceCharacteristic(nu,nv,multiColoredSurface) has been added. - In file MSL323/ModelicaServices/package.mo, the annotation Protection(access=Access.hide) has been added.
- In directory MSL323/Modelica/Resources/Data/Shapes/Engine, the three files crank.glb, piston.glb and rod.glb
have been added. These are files converted from their respective dxf-format in that same directory. - In directory MSL323/Modelica/Resources/Data/Shapes/RobotR3, the six files b0.glb, b1.glb, b2.glb, b3.glb,
b4.glb, b5.glb and b6.glb have been added. These are files converted from their respective dxf-format in that
same directory.
Several icons in the MSL bundle of version 3.2.3 are also updated visually such that they are using a gradient fill,
this change is in line with the pull request at issue 3952 (modelica#3952).