#136 showed that the optimal segment_ratios that minimizes the error on the g-function is dependent on the number of segments (and potentially on the bore field configuration).
This issue is to find optimal parameters (end_length_ratio) for the borehole discretization. A solution would be to generate a table that gives the optimal parameter for each value of nSegments up to reasonable max value (e.g. nSegments=128). This could be accessed by setting end_length_ratio='optimal' as an input to utilities.segment_ratios().