Modeling of the ECCD injection effect on the Heliotron J and LHD plasma stability