Plasma equilibrium in toroidal stellarators