Smart Microgrids: Optimal Joint Scheduling for Electric Vehicles and Home Appliances | Synapse