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

panel set twindow_function step

The STEP function approximates the HEAVERSINE step function with a cubic polynomial. The figure illustrates the STEP function.
Figure 1. Step Function
The value x is the independent variable, x0 and x1 define the variable values at which the step begins and ends, h0 and h1 are the initial value and the final value of the step. The equation that defines STEP is as follows.

Format:

 
panel set twindow_function step
x=
runtime function
begin_at=
real
end_at=
real
angular_begin_at=
angle
angular_end_at=
angle
initial_function_value=
real
final_function_value=
real
angular_initial_function_value=
angle
angular_final_function_value=
angle
Step5 =
boolean

Description:

 
Parameter
Value Type
Description
x
Run Time Function
Specifies a run time function
begin_at
Real
Specifies the non-angular value of "x" (the independent variable) where the haversine function begins. The BEGIN_AT parameter is represented below as "x0"
end_at
Real
Specifies the non-angular value of "x" (the independent variable) where the haversine function ends. The END_AT parameter is represented below as "x1"
angular_begin_at
Angle
Specifies the angular value of "x" (the independent variable) where the haversine function begins. The ANGULAR_BEGIN_AT parameter is represented below as "x0"
angular_end_at
Angle
Specifies the angular value of "x" (the independent variable) where the haversine function ends. The ANGULAR_END_AT parameter is represented below as "x1"
initial_function_value
Real
Specifies the non-angular value of "x" (the independent variable) where the haversine function is at its initial value. The INITIAL_FUNTION_VALUE parameter is represented below as "h0"
final_function_value
Real
Specifies the non-angular value of "x" (the independent variable) where the haversine function has its final value. The FINAL_FUNCTION_VALUE parameter is represented below as "h1"
angular_initial_function_value
Angle
Specifies the angular value of "x" (the independent variable) where the haversine function is at its initial value. The ANGULAR_INITIAL_FUNTION_VALUE parameter is represented below as "h0"
angular_final_function_value
Angle
Specifies the angular value of "x" (the independent variable) where the haversine function has its final value. The ANGULAR_FINAL_FUNCTION_VALUE parameter is represented below as "h1"
Step5
Yes/No
Specifies a Boolean value

Cautions:

1. The value x1 must not equal x0. Equal values of x1 and x0 imply a discontinuous step, which STEP cannot fit.