RESIDENTIAL SYSTEM WITH BATTERIES