Flexible Operation of Batteries in Power System Scheduling With Renewable Energy | Synapse