Documente Academic
Documente Profesional
Documente Cultură
=
duration scheduled natural
duration scheduled optimized
MUG
A 25% reduction in the scheduled portion of the macrocycle would be considered good. A 40%
reduction would be great! A 100% reduction, of course, would not be possible.
Latency Improvement Factor (LIF) Another goal was to reduce scheduled latencies, unneeded
delays occurring between the input processing and the output processing of a control sequence. If one
takes the ratio of the optimized control sequence duration to the natural control sequence duration and
subtracts that from unity, the difference is the fraction of the original sequence duration that has been
recovered. Multiplying by 100% converts that to a percentage gain. So Latency Improvement Factor
can be computed as:
Copyright 2005 by ISA.
Presented at ISA EXPO 2005, 25-27 October 2005
McCormick Place Lakeside Center, Chicago, Illinois, www.isa.org
% 100
_ _
_ _
1
=
duration sequence natural
duration sequence optimized
LIF
A 20% reduction in the sequence length of thee macrocycle would be good. A 100% reduction, of
course, would not be possible.
An alternate method of computation would be to determine the non-essential portions of latency and
then calculate what percentage of that number can be eliminated by optimization. That would result in
higher numbers and directly indicate the effectiveness of the algorithm to eliminate the non-essential
portions. However, the above suggested measure is more indicative of the gain to the control loop
itself, retaining the essential execution and publication times as part of the calculation.
Publication Gap Availability Improvement (PGAI) The third goal was to locate publications in
the schedule to increase the gaps between publications so that larger gaps are available for unscheduled
communications to support other needs such as display service and downloads. This is not a simple
metric to determine, because it is not linear. For example, the sum of gap times before and after the
optimization is usually identical, because the publications have only been moved by optimization, not
eliminated (except for certain back-calculation publications in multi-period schedules). Gaps of less
than 20 milliseconds are unlikely to be used. Gaps of more than 50 milliseconds are quite likely to be
used. In between 20 and 50 milliseconds, the probability of usage is dependent on the length of the
client-server message at the top of the queue. A reasonable approximation to the gain can be attained
by taking the ratio of the sum of the squares of the natural qualifying publication gaps to the sum of
the squares of the optimized qualifying publication gaps. (Qualifying means the publication gaps
of greater than 20 millisecond duration because small gaps are unusable.) Subtract that from unity and
multiply by 100% to estimate the Publication Gap Availability Improvement:
( )
( )
% 100
_ _ _
_ _ _
1
2
2