In this section the naming conventions of class and instance names, parameters and variables are specified. Additional format guidelines are provided.
Extends from Modelica.Icons.Information (Icon for general information packages).
| Name | Description |
|---|---|
Format | Format |
Naming | Naming convention |
Comments and annotations should start with a capital letter, for example:
parameter Real a = 1 "Arbitrary factor";.
For Boolean parameters, the description string should start with "= true: ..", for example:
parameter Boolean useHeatPort = false "= true, if heatPort is enabled";.
Extends from Modelica.Icons.Information (Icon for general information packages).
T 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).
Generated 2018-12-12 12:09:52 EST by MapleSim.