Diesel Work Cycle using MATLAB to plot P-v Diagram, Calculate work output, and Plot the work output when diameter of the piston is changed

I'm engineering student. I've got this project from my teacher.
The problem is I "never" use MATLAB before and I try to search some informations about Diesel Cycle for MATLAB many times on internet but I can't understand.
Please help me to solve this project, I really need some helps here.
Thank you very much.
PS. Sorry for my bad English

3 Comments

Do you have a formula for pressure? I know what constant means, but I don't know what "decreases isentropically" means. Do you have a formula for that?
As another hint, once the P-V curve is developed, trapz can be used to perfrom numerical integration.

Sign in to comment.

Answers (1)

Here's a start:
theta = (0:0.1:359.9)';
D = 15;
L = 12;
L_TDC = 1.5;
V_TDC = (pi/4)*D^2*L_TDC;

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!