📄 gaf.hlp
字号:
evaluation. The test time is used to run each
preset test, then GAF samples the score result for
the specified number of times. The preset
evaluation result will be the average of all
samples, and the final result will be the average of
all preset cycles. For example, if the test time is
two seconds and the number of samples is 4 (with 0.1
sample rate), the total time for a preset cycle will
be 2.3 seconds. See "Setup Evaluation Module" for
how to define evaluation result.
The following interactive interfaces are supported
in adapt mode.
C : continue
Alt-C : switch to continuous mode
Alt-P : turn on iteration pause
Alt-A : turn on preset cycle pause
Alt-Q : quit the program
cursor keys to scroll up, down, right, and left of
text window
All other keys will halt adapting temporary.
0: System Menu
1: The Windows
2: About GAF System
3: System Run Modes
4: Simulation mode
6: Change Simulation Parameters
7: Change segment and value
8: Arrange Display Windows
9: Setup adapt environment
A: Setup feedback module
B: Setup evaluation module
C: Control Genetic Algorithm
D: File menu functions
E: Function Keys
@Change Simulation Parameters
The control menu allows user to change the control
and simulation environment. Currently only
following functions are supported.
Real time mode
Simulated time mode
Sim-schedule mode
As we mentioned, there are four different time
modes: real time mode, simulated time mode, sim-
schedule mode, and 24 hours clock mode. The real
time mode uses actual system clock (computer clock)
for scheduling the segments. This is the best way
to tell whether you can use the development system,
with the display mode, for online control or not.
This mode is the only allowed mode for running in the
control mode. The following is an example of how
real time mode scheduling a three segments system
with 0.1, 0.2, and 0.3 cycle time. Assume that each
segment takes 0.05 second to run. GAF scheduling
table will be:
# Time Seg 1 Seg 2 Seg 3
---- ---- ----- ----- -----
1 0.00 Run Run Run
2 0.15 Run --- ---
3 0.20 --- Run ---
4 0.25 Run --- ---
5 0.30 --- --- Run
Instead of using real system time, the simulated
time mode uses fixed time interval to simulate the
schedule rate for the system. For example if the
user specified schedule interval is 0.1 second.
Then the above scheduling table will be:
# Time Seg 1 Seg 2 Seg 3
---- ---- ----- ----- -----
1 0.0 Run Run Run
2 0.1 Run --- ---
3 0.2 Run Run ---
4 0.3 Run --- Run
5 0.4 Run Run ---
The sim-schedule mode resembles to the simulated
time mode, except that it does not use the cycle
time of each segment for scheduling. Instead the
sim-schedule mode uses the schedule rate for all
segments, i.e. runs all segments all the time.
Therefor, the scheduleing table will be:
# Time Seg 1 Seg 2 Seg 3
---- ---- ----- ----- -----
1 0.0 Run Run Run
2 0.1 Run Run Run
3 0.2 Run Run Run
4 0.3 Run Run Run
5 0.4 Run Run Run
Set simulated schedule rate
Use this option to set desired time interval in
seconds for either simulated time mode or sim-
schedule mode.
Simulated clock mode
The simulated clock mode is a variation of sim-
schedule mode. This mode allows user to simulate 24
hours clock within a single plot frame.
Set increment/decrement value
As mentioned, an easy way to change the simulated
schedule rate is to use the '+' and '-' keys to
increase and decrease the schedule rate. This
option allows user to set the amount of
increasing/decreasing, the default value is 0.005
second.
0: System Menu
1: The Windows
2: About GAF System
3: System Run Modes
4: Simulation mode
5: Adapt mode
7: Change segment and value
8: Arrange Display Windows
9: Setup adapt environment
A: Setup feedback module
B: Setup evaluation module
C: Control Genetic Algorithm
D: File menu functions
E: Function Keys
@Change segment and value
The segment menu offers user three major
functions:
Select a segment for display or for actions
Change/modify the segment
Control/change the display of the segment
Select segment
Use this option to select a segment. The default
selected segment is the first segment (the segment
0). The selected segment is displayed in the
display window and title window.
Change cycle time
Change the cycle time for the selected segment.
Note that the real cycle time may depend on the
running mode and time mode been selected.
Set input value
Set output value
Set local variable value
These options allow user to manually set a
variable's value. After select one of these
options, GAF popups a window with all available
variable names alone with their variable number.
Select a variable, GAF then requests for new value.
Enter the new desired value will close all windows.
Note that you can use F7 to reset the system, see
function key for detail.
Set output gain
Use this selection to change the gain of selected
output. Again, just like setting variable value, GAF
asks for output variable and then the new gain
value.
Enable rule
Disable rule
GAF allows you to enable or disable the rule(s) in
any of the running modes. The disabled rules are
marked with 'x' at the first column in text window.
Select one of these options, GAF then highlights the
first rule at the second column in text window. Use
cursor keys to move highlighted cursor and then
press 'Enter' to enable or disable the rule.
Enable all rules
This option gives user an easy way to enable all
rules.
Select output to display result
After changing the Display window's arrangement,
i.e. selecting whole display or no plot mode, use
this option to select the desired output you want to
display. GAF automatically selects the first output
for displaying.
Select rule for firing window
The above option (P) allows user to specify the
output to display, this allows user to select
rule(s) to be displayed with its detail inferencing
in firing window. When select this option, just
like disable/enable rule, GAF uses the text window
for selecting menu. Note that selected rules are
marked with 'x'.
Combined result only
When this option is selected, GAF deselects all
rules from displaying its inference (firing window).
So only the combined result will be displayed.
0: System Menu
1: The Windows
2: About GAF System
3: System Run Modes
4: Simulation mode
5: Adapt mode
6: Change Simulation Parameters
8: Arrange Display Windows
9: Setup adapt environment
A: Setup feedback module
B: Setup evaluation module
C: Control Genetic Algorithm
D: File menu functions
E: Function Keys
@Arrange Display Windows
The display menu allows user to arrange and select
the screen layout, text font, and color of the
screen display. In future version, GAF will also
allow user to put all these features in a
configuration file, which will be read in at
initialization.
Use standard font
Use small font
With these two options, you can switch between
normal text display or small font text display.
Select normal display mode
The normal display mode displays the text window on
the left portion of the display window and the plot
window on the right. See window split for changing
the size of text window.
Select whole display mode
In this mode the text window still occupies the left
portion, but the right portion of the display window
splits into two parts, the upper half shows the plot
window, and the lower half displays the combined
result and firing window. See "Change Segment and
Value" for more information about selecting rules
and outputs. See window split for changing size of
text window.
Select plot only mode
This option allows you to see only the plot. GAF
dedicates the entire display window to plot sub-
window except reduces the text window to only first
two columns on the left.
Select no plot mode
This display mode removes plot window from the
right portion. So the combined result and firing
window are displayed on the right along with text
window on the left.
Select text only mode
This mode shows the text window only. Because
graphics, trend plot draw result, and draw firing
condition, takes much of CPU time, this mode allows
you to speed up the test or control.
Set plot duration
The default plot frame period is five seconds
(except in auto clock mode). Use this option to
change the frame duration, the value is specified in
seconds.
Change to color/mono display
Use this option to switch between color and mono
mode.
Window split (Change size of text window)
Allows user to change the size of the text window to
fit application. The value is specified in percent,
i.e. 60 means that text window occupies 60% of the
display window. If the value is greater than 90, GAF
automatically switches to text only mode. If the
value is less than 10, GAF shuts text window off
(except the left most two columns).
Display local variable
The default display mode is to display/plot IN, OUT,
and INOUT variables. The LOCAL variables are not
displayed. Use this option to enable LOCAL
variables.
Change menu and highlight color
These options allow user to modify some of the
color attributes. The next version will have more
user control of the screen colors with a
configuration file.
0: System Menu
1: The Windows
2: About GAF System
3: System Run Modes
4: Simulation mode
5: Adapt mode
6: Change Simulation Parameters
7: Change segment and value
9: Setup adapt environment
A: Setup feedback module
B: Setup evaluation module
C: Control Genetic Algorithm
D: File menu functions
E: Function Keys
@Setup adapt environment
The adapt menu is used to change the overall
environment for genetic adaptation. See topic
"Control Genetic Algorithm" for more information
about controlling the genetic algorithm.
Continuous mode
Set the adaptation to continuous mode without
pause or delay, unless user interferes.
Iteration pause
Pause per cycle
These two options allow user to halt the adapting
process in order to examine it. The iteration pause
is to halt at the end of each iteration. The preset
pause is to halt at the end of each preset cycle.
Type 'C' to continue, press Alt-C to switch back to
continuous mode.
Number of samples
Specifies number of samples should be taken for
calculating each preset test's evaluation result.
Max best items
The number of items kept in the best list. The limit
of this value is 1 to 10.
Max iteration
This allows user to specify the number of
iterations. GAF stops after this number of
iterations is reached. If the value is less than or
equal to 0, there be no limit.
Test time
As explained the test time is the time for each
preset test before evaluate the result. Use this
to set the proper value, in general it should be
greater than the rising time for the longest
response in all preset tests.
Iteration delay
Cycle delay
Instead pause for each iteration/preset cycle,
users can specify time delay between iterations or
preset cycles. Zero value means continuous.
Minimum score
This value defines the minimum score for a
successful preset test cycle. GAF tries to go
through all preset tests, but stops after any
preset test failed to score the minimum value. The
default value is 0.6.
Adapt segment
Use this option to change the segment you want to
adapt. The name of the selected adapt segment is
shown on the next line. Note that the selected
adapt segment may not be the same as the selected
display segment.
Use best list
Use original segment
The first option allows user to pick one adaptation
out of the best list and then switch to simulation
mode for testing or debugging. The "Use original
segment" option allows user to switch back to the
original segment, which is loaded from the file.
0: System Menu
1: The Windows
2: About GAF System
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -