An Algorithm and Criteria for Compressor Characteristics Real Time Modeling and Approximation