A disturbance emulation system for stability and recovery testing