I have a set of values in excel indicating suction and discharge conditions of a compressors (P, T, gas composition). I have to calculate the adiabatic and polytropic efficiency of this compressor. For a single point I can manage everything with the std DWSIM program with the Adjust controller block imposing a discharge temperature and asking the program to match the efficiency. When I have hundreds of point I think it's more convenient the use of excel with the add-ins. Is there a command or a formula that I can use to calculate the efficiency?
thanks a lot
fernando
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a set of values in excel indicating suction and discharge conditions of a compressors (P, T, gas composition). I have to calculate the adiabatic and polytropic efficiency of this compressor. For a single point I can manage everything with the std DWSIM program with the Adjust controller block imposing a discharge temperature and asking the program to match the efficiency. When I have hundreds of point I think it's more convenient the use of excel with the add-ins. Is there a command or a formula that I can use to calculate the efficiency?
thanks a lot
fernando
Yes, you'll have to combine PH, PS flash calls and Excel solver to achieve this. Take a look at the compressor code and you'll get the idea: https://github.com/DanWBR/dwsim5/blob/master/DWSIM.UnitOperations/Unit%20Operations/Compressor.vb#L284