Simulation of Otto Cycle Using Python
Objective: Intoduction: To simulate an P-V diagram of an otto cycle and to find the thermal efficiency of the cycle.I have considered the problem where the initial pressure is given to be 1 bar and temperature at 373K. The compression ratio is 10 and mass is 1kg. Equations used: PV = mRT & `PV^gamma = c` """Program…