Development of a calculation tool to determine the shading tolerability of PV modules