Text this: Loss reduction optimization strategies for medium and low-voltage distribution networks based on Intelligent optimization algorithms