Feedback-controlled gas mixing system for the ram accelerator