Dynamic modelling and simulation of a multiport DC hub with closed-loop control