From 4c4e1167be73333dea4a5169133b46a7f376e5a6 Mon Sep 17 00:00:00 2001 From: tobolar Date: Tue, 16 Jan 2024 14:55:45 +0100 Subject: [PATCH 1/3] Delete unused protected parameters ndim, ndim2 and ndim_pointGravity --- Modelica/Mechanics/MultiBody/package.mo | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Modelica/Mechanics/MultiBody/package.mo b/Modelica/Mechanics/MultiBody/package.mo index bcb21b0624..dd0e163cdc 100644 --- a/Modelica/Mechanics/MultiBody/package.mo +++ b/Modelica/Mechanics/MultiBody/package.mo @@ -169,10 +169,6 @@ model World objects cannot be used. */ protected - parameter Integer ndim=if enableAnimation and animateWorld then 1 else 0; - parameter Integer ndim2=if enableAnimation and animateWorld and - axisShowLabels then 1 else 0; - // Parameters to define axes parameter SI.Length headLength=min(axisLength, axisDiameter*Types.Defaults. FrameHeadLengthFraction); @@ -301,8 +297,6 @@ protected specularCoefficient=0) if enableAnimation and animateGravity and gravityType == GravityTypes.UniformGravity; // Point gravity visualization - parameter Integer ndim_pointGravity=if enableAnimation and animateGravity - and gravityType == GravityTypes.UniformGravity then 1 else 0; Modelica.Mechanics.MultiBody.Visualizers.Advanced.Shape gravitySphere( shapeType="sphere", r_shape={-gravitySphereDiameter/2,0,0}, From 94c429ead0fa8c8dd047dd1b5969335a82d95647 Mon Sep 17 00:00:00 2001 From: tobolar Date: Wed, 17 Jan 2024 13:51:18 +0100 Subject: [PATCH 2/3] Document changed components in release notes --- Modelica/package.mo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modelica/package.mo b/Modelica/package.mo index e42b474fa6..face9feb6c 100644 --- a/Modelica/package.mo +++ b/Modelica/package.mo @@ -2530,6 +2530,10 @@ The following existing components h

+ + + From 0368d773597401440eb834ed4ae0a3d03042a420 Mon Sep 17 00:00:00 2001 From: Harisankar-Allimangalath <144321750+Harisankar-Allimangalath@users.noreply.github.com> Date: Thu, 18 Jan 2024 12:06:57 +0530 Subject: [PATCH 3/3] Update Modelica/package.mo Co-authored-by: Thomas Beutlich --- Modelica/package.mo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modelica/package.mo b/Modelica/package.mo index face9feb6c..346db23cb5 100644 --- a/Modelica/package.mo +++ b/Modelica/package.mo @@ -2532,8 +2532,8 @@ The following existing components h
Mechanics.MultiBody
WorldDelete unused protected parameters ndim, ndim2 and + ndim_pointGravity.
Mechanics.Rotational.Components
Brake
Clutch
OneWayClutch
The table interpolation in mu_pos utilizes the interpolation based on ExternalCombiTable1D.
The public variable mu0 was changed to a protected final parameter.
- +
Mechanics.MultiBody
WorldDelete unused protected parameters ndim, ndim2 and - ndim_pointGravity.
The protected parameters ndim, ndim2 and + ndim_pointGravity have been removed.
Mechanics.Rotational.Components
Brake
Clutch
OneWayClutch
The table interpolation in mu_pos utilizes the interpolation based on ExternalCombiTable1D.
The public variable mu0 was changed to a protected final parameter.