Average determination using the Method of Successive Averages (MSA)

Using MSA (method of successive averages), you can calculate the mean value of two matrices (demand or skim matrices) or attributes.

This function is meant to improve convergence in demand models used for feedback. You can add it prior to the Go to procedure if you want to use an averaged matrix of all iterations / averaged attribute value of all iterations instead of a matrix of the current iteration / of attribute values of the current iteration . Average determination is available as an MSA function in formulas. The iteration counter is not implicitly specified, but determined dynamically within the MSA function.

The operation calculates

where

A

Output / newly calculated attribute value

B

Matrix / attribute value of current iteration

C

Matrix average of all previous iterations / averaged attribute value

i

iteration counter

Notes: The iteration counter starts counting from iteration 0 and when Go to procedures are triggered it always uses the innermost loop as point of reference.