modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
466 stars 166 forks source link

Missing obsolete annotation #2100

Closed modelica-trac-importer closed 6 years ago

modelica-trac-importer commented 7 years ago

Reported by hansolsson on 8 Nov 2016 13:45 UTC Modelica 3.2 revision 2 added (see #877): annotation(obsolete = "message");

The intention is to explain why a particular class is obsolete, and thus this cannot be in the base-class Modelica.Icons.ObsoleteModel

However, it should be classes extending from it - with appropriate message - but that seems to be lacking from all models using it:

Most of them already explain this, but some in text, some in description etc. Using the annotation just ensures consistency.


Migrated-From: https://trac.modelica.org/Modelica/ticket/2100

christiankral commented 7 years ago

Added obsolete annotation of Modelica.Magnetic.FundamentalWave.BasicMachines.Components... for maint/3.2.2 in b185b43 and master in 830e52b.

beutlich commented 7 years ago

Also:

Modelica.Mechanics.MultiBody.Sensors.TansformAbsoluteVector
Modelica.Mechanics.MultiBody.Sensors.TansformRelativeVector
Modelica.Icons.TypeComplex
Modelica.SIunits.LoundnessLevel
Modelica.SIunits.Loundness
Modelica.Blocks.Interfaces.Adaptors.*
beutlich commented 7 years ago

Also:

Modelica.Icons.Library
Modelica.Icons.Library2
Modelica.Icons.GearIcon
Modelica.Icons.MotorIcon
Modelica.Icons.Info
Modelica.Blocks.Interfaces.BlockIcon
Modelica.Blocks.Interfaces.BooleanBlockIcon
Modelica.Blocks.Interfaces.DiscreteBlockIcon
Modelica.Blocks.Interfaces.IntegerBlockIcon
Modelica.Blocks.Interfaces.partialBooleanBlockIcon
Modelica.Electrical.Digital.Converters.LogicToXO1
Modelica.Electrical.Digital.Converters.LogicToXO1Z
Modelica.Fluid.Icons.VariantLibrary
Modelica.Fluid.Icons.BaseClassLibrary
Modelica.Math.baseIcon1
Modelica.Math.baseIcon2