A method for enabling the determining of resistances of cable segments of a power segment, the power segment comprising at least two devices coupled to a power source by means of the cable segments, wherein each device comprises: - a switch arranged in series with a load, the switch being configured to open and close upon receipt of a command signal, wherein when the switch is open, the load is decoupled and the device is unloaded, and when the switch is closed, the load is coupled and the device is loaded, and - communication means for communicating data to the other at least one device,the method comprising the following steps performed by at least one device: - measuring a first voltage during a first time period to obtain a first voltage result, wherein during the first time period all loads of all devices of the power segment are uncoupled so as to obtain unloaded electrical measurements for all devices of the power segment; - measuring a second voltage during a second time period to obtain a second voltage result, wherein during the second time period load adaptation is performed by: coupling the load of at least one device of the power segment so as to obtain a local loaded electrical measurement for the device having the coupled load, and uncoupling the load of at least the one other device of the power segment so as to obtain a remote loaded electrical measurement for the device having the uncoupled load; and - communicating the first voltage result and the second voltage result to a processing unit using the communication means, thereby for the processing unit to compute the resistances of the cable segments to which the devices are coupled. - a switch arranged in series with a load, the switch being configured to open and close upon receipt of a command signal, wherein when the switch is open, the load is decoupled and the device is unloaded, and when the switch is closed, the load is coupled and the device is loaded, and - communication means for communicating data to the other at least one device,the method comprising the following steps performed by at least one device: - measuring a first voltage during a first time period to obtain a first voltage result, wherein during the first time period all loads of all devices of the power segment are uncoupled so as to obtain unloaded electrical measurements for all devices of the power segment; - measuring a second voltage during a second time period to obtain a second voltage result, wherein during the second time period load adaptation is performed by: coupling the load of at least one device of the power segment so as to obtain a local loaded electrical measurement for the device having the coupled load, and uncoupling the load of at least the one other device of the power segment so as to obtain a remote loaded electrical measurement for the device having the uncoupled load; and coupling the load of at least one device of the power segment so as to obtain a local loaded electrical measurement for the device having the coupled load, and uncoupling the load of at least the one other device of the power segment so as to obtain a remote loaded electrical measurement for the device having the uncoupled load; and - communicating the first voltage result and the second voltage result to a processing unit using the communication means, thereby for the processing unit to compute the resistances of the cable segments to which the devices are coupled.