There is an interesting, but non-technical, article in the Arizona Republic about batteries in PV systems.

Most of the major Phoenix area cities have documents that detail the requirements for new solar systems and it is likely that the cities will be updating their documents soon with battery requirements.

After APS explosion injures 4 firefighters, Arizona cities enact battery storage laws for utilities, homeowners