Adams Basic Package > Adams View > View Command Language > panel > panel set twindow_function variable_value

panel set twindow_function variable_value

The VARIABLE_VALUE function returns the value of a VARIABLE you identify in the VARIABLE_NAME parameter.
This function evaluates the VARIABLE and returns its value. A VARIABLE is defined as a scalar algebraic equations. A VARIABLE can be used independently, or as part of the PLANT INPUT, PLANT OUTPUT, or ARRAY elements. The computed value of the VARIABLE may depend on almost any Adams system variable.

Format:

 
panel set twindow_function variable_value
variable_name =
existing solver variable

Example:

 
panel set twindow_function variable_value &
variable_name =
variable_1

Description:

 
Parameter
Value Type
Description
Variable_name
Existing Solver Variable
Specifies an existing variable.

Extended Definition:

1. You enter variable names as input parameters for array elements (U_INPUT_ARRAY), plant input and output definitions, and in function expressions
You may identify a variable by typing its name or by picking it from the screen.
Since variable do not have a geometric position, Adams View displays variable icons at or near the model origin. If the variable icon is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the variable icon is displayed.
If you created the variable by reading an Adams data set, the variable name is the letters VAR followed by the Adams data set variable ID number. For example, the name of Adams VARIABLE/101 is VAR101. If you created the variable during preprocessing, you will have given it a name at that time.
If a variable is owned by the default model, you may identify it by entering only its name. If it is not, you must enter its full name.
To identify a variable under a different model, for instance, you may need to enter the model name as well. For example, you may specify variable 'fluid_volume' from model 'hydro' by entering ".hydro.fluid_volume'". If you type a "?", Adams View will list the variable available by default.
You must separate multiple variable names by commas.
If the variable is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
You need not separate multiple variable picks by commas.