During the working day, solar can power your equipment and charge the battery with any surplus. You can draw on that energy after solar output falls or during a scheduled period of high demand.
When the grid goes down, the backup arrangement can serve selected loads such as controls, lighting or refrigeration circuits. Compare the combined running load and any motor starting demand with the 50kW inverter rating. For sites with longer outages, include the generator and its controls in the backup design.
To estimate backup time, divide the usable energy available when the outage starts by the average load in kW. At a steady 25kW load, 111kWh of rated energy gives a theoretical runtime of about 4.4 hours. For a site estimate, account for the battery's starting charge, the reserve you keep, conversion losses and changes in load.
Existing rooftop PV needs a check of the inverter and electrical layout. See our guide to adding commercial solar battery storage to an existing PV system.