Macroscopic-microscopic coupled water-energy nexus simulation and behavior optimization under uncertainty