medium term power system planning