Systems simulation for regional analysis: an application to river-basin planning.