Tools for Calculating Line Loss