Such hybrid solar system can work as both solar on grid system and solar off grid system. It can utilize electricity price difference, charge battery at low price and discharge at high price to maximize system profit, compensate local transformer limit. It can provide back-up power supply for unstable grid, during grid failure, seamless switches to off-grid mode within 20ms to realize uninterruptable supply