Naming Conventions

Navigation:  Editor > Using Models >

Naming Conventions

Previous pageReturn to chapter overviewNext page

In 20-sim the following naming conventions are used:

Files

All files in 20-sim follow the standard windows naming conventions for filenames.

 

20-sim model files (*.emx)
3D animation scenery files (*.scn)
3D Mechanics model files (*.3dm)

Equations

All elements in 20-sim that will become part of the model equations should follow these naming conventions:

 

A name may consist of characters (abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRTSUVWXYZ), numbers (1234567890) or corresponding Unicode foreign language characters and numbers.
A name may not start with a number.
Names are case sensitive
Spaces are not allowed

 

Not allowed:

Reserved words
Mathematical symbols (²³¼½¾±ʃ← etc.)
Drawing symbols and other symbols (₤#°░●☺ etc.)

 

Examples of these elements are:

 

Model names: models in 20-sim have a name that can be changed in the Model Properties.
Constant names can be entered in the Equation Editor.
Parameter names can be entered in the Equation Editor.
Variable names can be entered in the Equation Editor.
Port names can be entered in the Interface Editor.

3D Mechanics Editor

All name in the 20-sim 3D Mechanics Editor should follow these conventions:

 

A name may consist of characters (abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRTSUVWXYZ) and/or numbers (1234567890) and/or underscore (_)
A name should start with a character.

Plots, Labels Etc.

Elements that will not end up in the model equations can have any name.