Rule-Based Peak Shaving Using Master-Slave Level Optimization in a Diesel Generator Supplied Microgrid | Synapse