MHD control system optimization to RFX-mod real passive boundary