modelica / ModelicaSpecification

Specification of the Modelica Language
https://specification.modelica.org
Creative Commons Attribution Share Alike 4.0 International
104 stars 40 forks source link

Undescribed annotation in Media library #146

Closed modelica-trac-importer closed 6 years ago

modelica-trac-importer commented 6 years ago

Reported by kurzbach on 27 Feb 2009 12:13 UTC In the Media library following annotations are used but they are not described in the specification:

InlineNoEvent  and smoothOrder for functions

keepConstant for ???


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

modelica-trac-importer commented 6 years ago

Comment by HansOlsson on 6 Mar 2009 12:08 UTC smoothOrder should not be in this list since it is described in section 14.3.

modelica-trac-importer commented 6 years ago

Comment by otter on 23 Mar 2010 17:14 UTC keepConstant is used as __Dymola_keepConstant (giving a hint to the Dymola compiler)

modelica-trac-importer commented 6 years ago

Comment by dietmarw on 23 Mar 2010 17:32 UTC From [milestone:Design66]InlineNoEvent is not yet specified but heavily used in Modelica.Media. More info on what the purpose of this annotation should do is required in order to either remove it or specify it.

modelica-trac-importer commented 6 years ago

Comment by hubertus on 21 Apr 2011 12:53 UTC This is an open issue that should be solved for Modelica 3.3, adding to Milestone Spec3.3

modelica-trac-importer commented 6 years ago

Comment by hansolsson on 1 Sep 2011 14:58 UTC Language group:

The use in Modelica.Media.Water.IF97_Utilities.phase_dT make sense. Not clear why Modelica.Media.Water.IF97_Utilities.cp_pT has InlineNoEvent (what function can be inlined and also generate events?)

The issues are that InlineNoEvent=false:

Proposed name: EventsOnInline=true - not good that it is required to inline the function. GenerateEvents=true - that it has to be inlined to work is just "an implementation issue"

Poll for putting GenerateEvents in the specification: Favour: 5 Against: 0 Abstain: 1

modelica-trac-importer commented 6 years ago

Modified by hansolsson on 28 Sep 2011 12:50 UTC

modelica-trac-importer commented 6 years ago

Modified by dietmarw on 28 Sep 2011 22:30 UTC

modelica-trac-importer commented 6 years ago

Modified by hansolsson on 14 Dec 2011 10:43 UTC