packageConventions

Conventions

Extends from Modelica.Icons.Information (Icon for general information packages).

Information

A Modelica main package should be compliant with the UsersGuide stated in this documentation:

  1. Conventions of the Modelica code
  2. Consistent HTML documentation
  3. Structure to be provided by a main package
    • User's Guide
    • Examples containing models demonstrating the usage of the library.
    • Components -- in case of a complex library a more detailed structure can be established.
    • Sensors
    • Sources
    • Interfaces containing connectors and simple partial interface models.
    • BaseClasses containing partial models with physical equations other than trivial and balance equations.
    • Types containing type, enumeration and choice definitions.
  4. These packages should appear in the listed order.

Contents

NameDescription
DocumentationHTML documentation
TermsTerms and spelling
ModelicaCodeModelica code
UsersGuideUser's Guide
IconsIcon design