smart energy system planning and operation