Text this: Optimal power scheduling in real-time distribution systems using crow search algorithm for enhanced microgrid performance