Model-based design of distributed urban energy systems under uncertainty