Modeling of plasma rotation control for NSTX and NSTX-U