A Spatial equilibrium perspective for planning the production of electrical energy