Control Data


The control data block is used to exert control over the problem solution by initializing a set of program control constants. These constants have reserved variable names. This block must immediately follow the OPTIONS DATA block.

Special USER constants can also be defined in the CONTROL DATA block. User constants differ from program control constants in that they are always optional. They can be referenced and used in all data and logic blocks (expect OPTIONS data).

Both types of constants can be used in arithmetic expressions. Integer user constants can even be used in place of integer input such as a conductor number or even an incrementing parameter like those found on a "GEN" input option.

When used in equations, user constants can be used to alter the basic structure of a model. The ability make major changes to the thermal model by merely changing a few user constants make user defined constants an extremely powerful feature of TAK 2000.

Constants are assigned values by setting equating them to a value with an equals "=" sign. They must begin with an alpha character and can contain up to 16 characters.

Both program and user constants follow the standard FORTRAN data type convention. That is, floating point constants must begin with A-H, or O-Z. Integer constants must begin with I through N. NOTE: Only floating point and integer user constants are supported. Trying to assign a character string to a constant will result in a fatal error.

Multiple constants can be defined on the same line by simply separating them with a comma.


Copyright © K&K Associates, 1995-2008
phone/fax = 800-785-1749

MAIN