.ModelicaReference

Information

This package is a reference to Modelica keywords, Modelica builtin operators, and the Modelica grammar. It is based on the Modelica Language Specification version 3.4 from 10th April 2017. Currently, not the whole Modelica language is documented in ModelicaReference (but a large subset).

Copyright © 2003-2020, Modelica Association and contributors

This Modelica package is free software and the use is completely at your own risk; it can be redistributed and/or modified under the terms of the 3-Clause BSD license. For license conditions (including the disclaimer of warranty) visit https://modelica.org/licenses/modelica-3-clause-bsd.

Contents

NameDescription
 ModelicaGrammarModelica Grammar
 AnnotationsAnnotations
 ClassesClasses (model, function, ...)
 OperatorsOperators (+, der, size, ...)
 BalancedModelBalanced model
 'encapsulated'encapsulated
 'extends'extends
 'flow'flow
 'for'for
 'if'if
 'import'import
 'input'input
 'output'output
 'partial'partial
 StateMachinesState Machines
 'stream'stream
 SynchronousSynchronous Language Elements
 'time'time
 'when'when
 'while'while
 ContactContact
 IconsLibrary of icons

Revisions

Revision Date Author Comment
2020-02-24 Hans Olsson Add minimal parts for synchronous and state machines - making the reference feature-complete.
2019-09-27 Hans Olsson Update to Modelica Specification 3.4 (except grammar):
  • Change of missingInnerMessage, to indicate that it less important.
  • Example for InlineAfterIndexReduction.
  • Version conversions are specified, and to-version is possible.
  • The function section was rewritten, and pure functions added as a sub-class, and function partial application also moved to a sub-class.
  • Correct constrained to constrainedby (could also be constraining-clause).
  • Remaining: synchronous, state machines, specifying conversions(?), ...
2017-09-22 Hans Olsson
  • Changed grammar to have colon emphasized as well, since it may otherwise look like a dot after 't' due to lack of kerning.
  • Annotation inverse moved to annotations.
  • The operator sign does not generate events, #2324
  • Some stylistic improvements of the English text
2013-07-26 Dietmar Winkler,
Martin Otter
  • Update of grammar from Maplesoft which reflects changes from #1140
  • Introduced the same new icons as in Modelica 3.2.1
  • Fixing incorrect links and HTML errors in documentation.
  • Fixing trivial typos.
  • Moves operators from the top level (array, cat, ..) to subpackage Operators
  • Adding homotopy() operator.
  • #1007: png figures are compressed.
  • #670: Adds more function and operator descriptions
  • #644: Improved description of operator delay
  • Updated the documentation to reflect Modelica Specification 3.2 Rev2:
    • Update of reinit(), Integer(), DocumentationClass
    • #988: Adding the annotations:
      checkBox
      choicesAllMatching
      colorSelector
      loadSelector
      saveSelector
      normallyConstant
    • #802: Adding the additional connection operators
      Connections.branch()
      Connections.root()
      Connections.potentialRoot()
      Connections.isRoot()
      Connections.rooted()
      rooted() with deprecation notice
    • #1048: GenerateEvents annotation removed in Modelica 3.2 rev2
r4781 2011-12-15 Dietmar Winkler Use quoted class names for function descriptions (closes ticket #565)
r4256 2010-10-06 Dietmar Winkler Removed 'uses' annotation and added icons so it can be used with multiple versions of the MSL (closes ticket #425)
r4218 2010-09-25 Dietmar Winkler Major clean up of the documentation by use of LinkChecker (closes ticket #228)
r4145 2010-09-07 Dietmar Winkler Added an update of the Modelica 3.2 grammar from Stefan Vorkoetter (Maplesoft).
r3742 2010-04-13 Martin Otter Added the Modelica 3.2 grammar from Stefan Vorkoetter (Maplesoft).
Introduced a "Contact" subpackage with updated contact and acknowledgment information.
r3598 2010-03-10 Dietmar Winkler Added some annotations from Modelica language version 3.1 and 3.2 (see ticket #228)
r948 2008-01-02 Martin Otter Adapted to Modelica language version 3.0
2004-09-30 Martin Otter Moved the content of "Functions" into "Operators" and updated "Operators" according to Modelica 2.1
2003-07-10 Christian Schweiger Implemented.

Generated at 2024-12-07T19:26:11Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos