Special Strings for Plot Features (sometimes called "Magic Strings")

 

Various parts of a plot, such as the Title Block. Chart. Vertical Axis. and Horizontal Axis, have places for title, footer or memo which are specified as a user entered string. These strings are most often simply placed on the plot based on what is entered. However special strings, preceded by a '@' symbol, may be entered and the software will then automatically replace the string with the appropriate special string. The following are special strings that are available for parts of the transient stability plots.

 

 

Special String

What Special String is Replaced With

 

@BUILDDATE

Simulator Patch Build Date

 

@VERSION

Simulator Version Number

 

@DATETIME

present date and time

 

@DATE

present date

 

@TIME

present time

 

@CASENAME

the name of the case presently open (the path and file name)

 

@CASEFILEPATH

the directory path on the computer of the case presently open

 

@CASEFILENAME

the file name of the case presently open

 

@CTGEVENTS

all the events in the transient contingency (warning this can be very long)

 

@CTGEVENTSUSER

only the user-defined event in the transient contingency

 

@CTGNAME

name of the contingency

 

@CTGMEMO

memo field of the contingency

 

@CTGvariablename:digits:rod

Special string for ANY variablename of a TSContingency with the syntax @CTGvariablename:digits:rod

The special string must start with @CTG and this then followed by the variablename and then optionally followed by syntax of :digits:rod to specify the number of digits and the number of decimal places to include.

Example include the following

@CTGCategory adds the Category string

@CTGLoadMWIslanded:8:3 adds the LoadMWIslanded field with 8 digits and 3 digits to the right of the decimal.

@CTGGenMWTripped:6:2 adds the GenMWTripped field with 6 digits and 3 digits to the right of the decimal.

 

@MODELFIELD<ObjectType 'key1' 'key2' variablename:digits:rod>

@MODELFIELD<ObjectType 'key1' 'key2' variablename:digits:rod>

Special string starts with @MODELFIELD followed by a string enclosed by < and > with string identifying an object in the model followed by variablename:digits:rod.

Example

@MODELFIELD<Gen '87523' 'AB' MW:6:2> : show a generator MW field with 6 digits and 2 decimal places