Description
The PowerSystemDataModel holds two information about a line length: The one is a line string of geographical locations, the other is a plain information about the line length, as there might be lines, that don't have any geographical references. However, it might occur, that both information are available, but differ from another.
Therefore, it would be great, if NetPadPlusPlus can be used to manually adjust the line string, in order to meet the line length, that is used as electrical attribute to the model. This raises the necessity to show both the line length and the length of the geographic edges of the line (utilizing GeoUtils#calcHaversine(double, double, double, double)
. As this would impose a high computational burden for huge grid models, please also introduce a preferences function, where the user may toggle if (s)he would like to see the distances or not.