Air Standard Cycle
Objective: #otto cycle simulator #by Rajeeh Rasheed import math import matplotlib.pyplot as plt def engine_kinematics(bore,stroke,con_rod,cr,start_crank,end_crank): #engine kinematics a = stroke/2 R = con_rod/a #volume computation v_s = (math.pi/4)*pow(bore,2)*stroke v_c = v_s/(cr-1) sc = math.radians(start_crank) ec = math.radians(end_crank)…