Having learned its lessons years ago that it is best to lay out just how much money trouble it faces, the city of San Diego is warning investors it will have to come up with nearly $4 billion over two decades to comply with regulations on how it handles stormwater runoff.