Those batteries look neat, but they cost an arm and a leg, but anyway, using any type of battery for mining operations is a terrible idea, you can run the math and it looks ugly, batteries are just so expensive, despite all the new tech in the batteries industry, in respect to how powerful computers are and how much power they need, batteries are still in the realm of" a few hundred years late", in fact, anything except for large hydro power stations will not make sense when it comes to mining.
There is really no guarantee that this will be the case, I rather mine with expensive but stable power than free and unstable power, places that have power outages usually have more issues to deal with like voltages spikes and drops, besides the constant off-on on the miner can be bad, miners LOVE to run in a passive state, most of the issues will happen during the power-on/off phase.
Also, OP needs to know exactly how long those outages last, is it a few seconds a day? half the day without power? I mean let's just assume it's 12 hours a day, that means your ROI time is 2x, and given that we all are in a race against difficulty, you may never ROI before the gear becomes completely worthless.
The issues I explained earlier can be solved, you can protect your gears from spikes and drops using some tools that are not very expensive, so the real question boils down
(How many hours in a day do the power outage last and how much do you pay per Kwh for when the power is back) without knowing these exact two answers, it's just a shot in the dark.