Optimal operation of a PV based multi-source system and energy management for household application | Synapse