Table of Contents

Back

Adaptive assistance

The script tag accepts an additional “adaptive” parameter. If set to true, adaptive control is enabled. There is also an “adaptiveparams” tag, where the adaptive behavior can be configured. The string value of adaptive params is in the form (no space between key=value pairs!):

Adaptive control based on stdev of baseline

The decision is made following this logic:

step 1. compute the stdev based on the user supplied baseline and the logged data step 2.

        if (stdev > baseLine * 2.0) {
        INCREASE;
                    } else if (stdev < baseLine / 2.0) {
                        DECREASE;
                    } else
                        MAINTAIN;

Valid parameters (to be supplied as adaptiveParams or command) are:

* reactionBaseLineTransmission=[baseline in ms]
* reactionBaseLineTransmissionDuringFault=[baseline in ms]	
* reactionBaseLineLogging=[baseline in ms]
* reactionBaseLineLoggingDuringFault=[baseline in ms]

Adaptive control with predefined intervals

Valid parameters are:

Adaptive control changes the level of assistance as follows:

Example:

adaptiveparams="adaptiveControl=transmission;"

To control the adaptive process during the simulation, the <adaptive/> command is used. The command accepts a “start” parameters (in seconds), to define when the command should be executed during the simulation. Several commands can be invoked at the same time, by separating them with “;”.

Valid commands are:

Example:

<adaptive start="20" command="reactionBaseLineTransmissionDuringFault=10;reactionBaseLineTransmission=10;onPast 10000"/>

Limiting the jump of level

A variable can be set in adaptive commands:

adaptiveControlMaxChange

which defines the maximum number of steps the adaptive control can change. For example:

<adaptive start="0" command="adaptiveControlMaxChange=1"/>

limits the change to at most 1 level of automation (up or down) from 0 seconds into simulation. This means that the adaptive change cannot jump more than 1 level when deciding.