How to calculate and choose the right power cable