First Law Analysis of a Compressar Using a Computer Simulation Model