Dear abador
The easiest thing you can do:
get an used UPS of appropriate power with good batteries.
Then connect your solar panels over an appropriate controller, or step down converter directly to the batteries....
N.B. Are you sure, the main voltage is 240 VAC, as South America mostly runs on...