Clear Filters
Clear Filters

Area of A PV Otto Cycle

4 views (last 30 days)
Hope Wilson
Hope Wilson on 1 Dec 2020
Commented: Hope Wilson on 1 Dec 2020
So I'm working with a set of engine data and I'm trying to find the IMEPn, IMEPg, and PMEP of the graph attached. I was able to get the plot, but I'm unsure of how to get the area of each individual section i.e the "boomerang" and the little slivver of enclosed area below to calculate the values I need. Any advice on how to go about calculating these areas separately? I've tried using trapz and cumtrapz, but I'm not getting the correct area. If it's needed I can attached the code for those that want to run it themselves otherwise I'll just post the graph for a visual. As a reference, if you do use the code, the values should be IMEPn=4.08 bar, IMEPg=4.6 bar, PMEP=-0.51 bar.
All help is appreciated!
  3 Comments
Hope Wilson
Hope Wilson on 1 Dec 2020
I'll check that out and get back to you!
Hope Wilson
Hope Wilson on 1 Dec 2020
That worked after some finicking with the X and Y values. Thank you so much!

Sign in to comment.

Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!