PV Visualizer for Air Standard Cycle with Thermal Efficiency
Objective: clear all close all clc %OTTO CYCLE PLOT %state variables p1=100000; t1=293; t3=2000; %Engine geometric parameters bore=0.1; stroke=0.1; con_rod=0.15; cr=12; gamma=1.4; v_swept=(pi/4)*bore^2*stroke; v_clearance= v_swept/(cr-1); v1=v_swept+v_clearance; v2=v_clearance; function [V]= engine_kinematics(bore, stroke, con_rod,…