calculation of protection relay excel spreadsheets