This raises questions.
What is the this desalination cost competing against, what's the alternative cost of importing water by tanker or pipeline?
Also, why do you want batteries, instead of just running the osmosis when there is sunlight? Maybe the osmosis equipment is expensive enough that it pays off to keep it 100% occupied with batteries?