 Modelica.UsersGuide.Conventions.ModelicaCode
Modelica.UsersGuide.Conventions.ModelicaCode
In this section the naming conventions of class and instance names, parameters and variables are specified. Additionally some format UsersGuide are stated.
Extends from Modelica.Icons.Information (Icon for general information packages).
| Name | Description | 
|---|---|
|  Format | Format | 
|  Naming | Naming convention | 
 Modelica.UsersGuide.Conventions.ModelicaCode.Format
Modelica.UsersGuide.Conventions.ModelicaCode.Format%name) in blue color.
     Parameter values, e.g., resistance, mass, gear ratio, are displayed
     in the icon in black color in a smaller font size as the instance name.parameter Real a = 1 "Arbitrary factor";.parameter Boolean useHeatPort = false "= true, if heatPort is enabled";.Extends from Modelica.Icons.Information (Icon for general information packages).
 Modelica.UsersGuide.Conventions.ModelicaCode.Naming
Modelica.UsersGuide.Conventions.ModelicaCode.NamingT for a temperature variable)._a, _b
     or _p, _n, e.g., Flange_a, Flange_b,
     HeatPort_a, HeatPort_b.In the following table typical variable names are listed. This list should be completed.
| Variable | Quantity | 
|---|---|
| a | acceleration | 
| A | area | 
| C | capacitance | 
| d | damping, density, diameter | 
| dp | pressureDrop | 
| e | specificEntropy | 
| E | energy, entropy | 
| eta | efficiency | 
| f | force, frequency | 
| G | conductance | 
| H | enthalpy | 
| h | height, specificEnthalpy | 
| HFlow | enthalpyFlow | 
| i | current | 
| J | inertia | 
| l | length | 
| L | Inductance | 
| m | mass | 
| M | mutualInductance | 
| mFlow | massFlow | 
| P | power | 
| p | pressure | 
| Q | heat | 
| Qflow | heatFlow | 
| r | radius | 
| R | radius, resistance | 
| t | time | 
| T | temperature | 
| tau | torque | 
| U | internalEnergy | 
| v | electricPotential, specificVolume, velocity, voltage | 
| V | volume | 
| w | angularVelocity | 
| X | reactance | 
| Z | impedance | 
Extends from Modelica.Icons.Information (Icon for general information packages).
Automatically generated Tue Apr 05 09:36:09 2016.