Week 2 Air standard Cycle
objective : write code that can solve an otto cycle and make plots for it.
problem statement : Here are the reguirements
1. your code should create a PV diagram
2.you should output the thermal efficiency of the engine.
solution procedure:
it is thermodynamic cycle which is used in internal combustion engine to produce work.
There are different type of processes in otto cycle
1. Adiabatic compression (1-2)-air and fuel mixture is compressed isentropically inside the cylinder.
2. Constant volume heat addition (2-3)- Combustion take place inside the cylinder due to external source.
3. Adiabatic expansion (3-4)-high pressure and high temperature gases expand isentropically inside the cylinder.
4. Constant volume heat rejection (4-1)-gases come out from the cylinder and cycle is completed.
we have to give required input and by using basic thermodynamic formulas type in the code and save the required output. and to make a adiabatic curve by using the calling the function.