Modeling and Performance Analysis of a Hybrid System for a Residential Application