Optimising power management strategies for railway traction systems