Brijesh ,
You might succeed only by using VBA for the calculations. Or C# in a windows form, using Excel for input and output. And it is a monumental task. You would better spend your time with some more productive effort since you are a student.
Visit this site. https://jensapardi.w.../compressor/.  The site owner will send you an Excel workbook. But I wouldn't recommend that you use it because every calculation is in the spreadsheet, not VBA.
Visit this site. http://checalc.com/calc/compress.html. It doesn't answer you needs. But the calculations are done in javascript. Find them, unravel them, and use them as a guide.
You can download a program here. https://www.arielcorp.com/.
This should help you get started. http://www.ijceronli...AD022395402.pdf
You should chose a solution algorithm that matches the mass flow of all the cylinders. When you find the pressures where each stage mass flow is the same, then you can calculate power requirements, rod loads, etc. So, build your model for one cylinder, then connect them together in however many stages you have.
I have developed my own calculation for 3-stages. Believe me, it was quite an effort. I started in 1982 with a program already written in Visual Basic. It had bugs, and it took quite an effort to find and fix them. I later ported the code to Excel to eliminate all the input/output screen reading/writing.
Good luck, but reconsider taking on this task.
Bobby
Edited by Bobby Strain, 22 May 2016 - 03:07 PM.