Dynamic modeling of transport and positional control of tokamaks