function x=PI_controler(eps,system,co) switch(co) case 'i_q' S=system.S; x=P*eps+I*(S+eps); system.S=S+eps; end