Pareto principle - optimize for 80% of the load and you probably can get by with 20% of the effort.
Connect a few V2G cars to the apartment building as well to soak up the excess supply in the daytime and demand at night, and pretty soon we have a robust solution.