The numbers in the OP show that the RO equipment is by far the largest cost so you need to maximize its utilization. The energy is used to pump water through the RO at high pressure so another alternative would be to use solar to pump water uphill so you could run the RO at night. The design using batteries is easier to price.