An analysis of projection-based reduced order models and their application to supersonic flows