In select_cable function only the apparent power over a line is considered. However, voltage drop should be considered as well, as small, long cables can lead to infeasibilities in the power flow. Voltage drop could be estimated as done in ding0. It needs to be checked if this is applicable for the MV as well.
In select_cable function only the apparent power over a line is considered. However, voltage drop should be considered as well, as small, long cables can lead to infeasibilities in the power flow. Voltage drop could be estimated as done in ding0. It needs to be checked if this is applicable for the MV as well.