Text this: Evaluation of the impact of the distance determination function on the results of optimization of the geographical placement of renewable energy sources-based generation using a metaheuristic algorithm