Adaptive VAR Control for 3-Phase Distribution Systems With Solar and Battery Renewable Resources