RESIDENTIAL SYSTEM WITH LITHIUM BATTERIES