Good afternoon,
Yes, offgrid, you can switch UPS on, but really, you only have your battery then, so no use, unless you have a generator of course which then starts on low SOC.
And again yes, ESS, UPS on of course, battery is then always full, or at a maintain SOC (80% for example) to save money and with solar priority to charge.
Regards, Jeroen.