Element 'calculation of maximum allowable active power flows'