4.2.7. Appendix on Syntax Rules




Here we group the description of the legal syntax for attributes that are used throughout the Work Flow editor.

Node Names Legal Syntax

There are several rules that need to be followed to select a valid node name. First of all, node names must be unique within a Work Flow. This means that no two nodes can have the same name, even if they live in different subsystems. Second, the maximum lenght for node names is limited to 32 characters. Furthermore, the first character must be a letter, and the other characters can only be a letter, a digit, the underscore or the dot character. Finally, node names cannot be equal to one of the reserved keywords (see table below), and they cannot be made up by appending an integer number to one of the reserved prefixes (see table below).

IDceillnrandutilmax
RIDcoslogroundutilmin
absdegtoradmaxsgnvect
acosexpminsin 
asinfloormodsqrt 
ataninterpradtodegtan 

Table 4.1. Reserved Keywords

AMESimApplicationConstraintCalc
CatiaDOEEndExcel
InputInputDataFileInputFileMatlab
ObjectiveOutputOutputDataFileOutputFile
ProEngineerRemoteSchedulerSendMail
StartSupportFileSuspendSyncEnd
SyncStartSwitchTransFileTransVar
UtilityWorkbench  

Table 4.2. Reserved Name Prefixes

Number Format Legal Syntax

Several nodes (Input Variable, Output Variable, Transfer Variable, Objective and Constraint) within a modeFRONTIER Work Flow are associated with a numeric value at run-time. These values are then displayed in the Designs Database, or are dropped within an Input File for further processing by an external application. In all these instances the proper handling of these values might require that they are formatted following a precise pattern. Accordingly, within modeFRONTIER you can impose a format pattern for each node belonging to one of the above mentioned types, and for each variable that you drop in an Input File.

The formatting pattern must be a sequence of characters. Allowed characters are the zero digit, the pound character (#), the exponent character (E), the dot (decimal separator) and the minus sign. The zero digit is used to indicate the presence of a generic digit, whereas the pound sign indicates that a digit should be displayed if present and if not a trailing zero. Let's now look at a few examples.

Suppose, for example, that a variable contains the 123.720462 value, and let's see how the value would be displayed using different legal formatting patterns.

Formatting PatternDisplayed Value
0124
#124
0.000123.720
0.###123.72
0.0000123.7205
0.0000E01.2372E2
00.000E012.372E1
00.000E00012.372E001

Conditional Expression Legal Syntax

Conditional links (see Section 4.2.2, "Working with Links") are transversed if, and only if, the condition associated to them holds true at run-time. Depending on the origin node for the link, the condition is applied to a different value. More precisely, if the origin node is an application, the condition implicitly refers to the exit value for the application. If instead the origin node is a switch, the condition refers to the value of the switch expression. Said this, the condition is then simply a logical expression on this value (Note: in the condition the value is always implicit, and is not indicated by any tag).

The only valid operators for defining a condition are:

These basic conditions can then be combined using the OR and AND boolean operators to specify ranges (e.g., >5 & <8 or its opposite <5 | >8).


Return to modeFRONTIER Index