Optimal Design of an Islanded Microgrid With Load Shifting Mechanism Between Electrical and Thermal Energy Storage Systems | Synapse