Energy Management in Multi-Source Power System Based on PV /Wind /Batteries / Diesel Generator Connected with the Grid | Synapse