simulate a transmission and distribution grid