How to create a contour plot for bsfc using the data for rpm, torque and bsfc on matlab
Show older comments
I need to create a contour plot for the bsfc data of a test engine. The rpm, torque and bsfc data are mentioned below. Please guide me as to how I can create the same on Matlab.
RPM TORQUE (Nm) BSFC (gkWh) 1000 13.4 485.1
1000 2.8 1563.4
1000 12.9 470.4
1000 21.4 368.6
1000 25.8 331.5
1000 36.7 303.6
1000 43.5 216.4
1000 50 333.6
1200 8.6 570.6
1200 16.6 366.4
1200 24.6 329.3
1200 32.1 307.5
1200 37.8 298.4
1200 43.6 305
1200 50.3 336.7
1600 10.9 466
1600 18.2 371.4
1600 25.1 320
1600 33.6 268.5
1600 38.7 296.3
1600 44.2 300.5
1600 51.6 326.6
2000 11.3 467.2
2000 19.5 357.2
2000 27.8 314.3
2000 36 294.3
2000 43.1 278.5
2000 49 282.5
2000 56.4 315.5
2400 12.2 445.9
2400 19.6 345.9
2400 27.5 313.6
2400 35.5 288.8
2400 43.1 273.6
2400 50.1 274.5
2400 56.5 307.4
2800 12.4 445.7
2800 20.4 351.6
2800 26.7 312.7
2800 36.9 288.3
2800 44.9 275.2
2800 51.6 275.2
2800 57.6 311.2
3200 10.8 407.1
3200 19 367.9
3200 27.5 320.4
3200 35.7 294
3200 44.3 279.6
3200 52.7 277.2
3200 59.2 306.3
3601 9.3 564.7
3601 17.6 391.6
3601 25.7 332.4
3601 34 302.5
3601 42.6 287.2
3601 51.3 285.7
3601 58.3 309.1
4001 9.6 552.8
4001 17.9 391.5
4001 26.1 334.3
4001 34.4 306
4001 42.9 303.7
4001 51.4 296.8
4001 58.5 309.4
7 Comments
huynh duong
on 17 Nov 2011
Hi Avinash.
I have a problem the same you. How do you plot bsfc contour of engine. Could you help me. email: anhduong30@yahoo.com.vn
Thanks.
AMITABH gautam
on 22 Aug 2012
I have the same problem, if you found an answer could you please send me the solution? gautam.amitabh@gmail.com
Thanks
shreyash chandak
on 7 Aug 2013
Ewe Jin
on 27 Apr 2015
Busra Arikok
on 7 Nov 2018
Barbora Kolpaková
on 6 May 2024
Edited: Barbora Kolpaková
on 6 May 2024
I have a similar problem,no matter what i try it doesnt work. those are my numbers
1000 147.59895324707 247
1000 147.49836730957 247
1000 147.221221923828 247
1000 145.891250610351 247
1000 143.909286499023 248
1000 140.863586425781 249
1000 135.446151733398 250
1000 118.390319824218 422
1000 92.90771484375 445
1000 59.7416458129882 306
1500 158.051437377929 237
1500 157.951217651367 237
1500 157.566284179687 237
1500 154.905120849609 237
1500 150.820709228515 239
1500 147.491836547851 239
1500 128.411270141601 246
1500 110.416641235351 416
1500 75.2012023925781 458
1500 41.1206932067871 345
2000 164.128860473632 233
2000 163.73567199707 233
2000 162.747695922851 234
2000 157.799865722656 235
2000 152.328796386718 236
2000 145.13377380371 238
2000 121.688110351562 247
2000 86.7719039916992 440
2000 59.8161239624023 494
2000 27.303689956665 425
2500 169.641159057617 233
2500 168.634292602539 233
2500 166.082962036132 234
2500 157.312637329101 236
2500 149.279724121093 238
2500 131.901016235351 244
2500 108.934036254882 255
2500 82.1966552734375 451
2500 44.5346374511718 564
2500 15.0628404617309 637
3000 171.109588623046 235
3000 169.8037109375 236
3000 166.917495727539 236
3000 157.058837890625 239
3000 140.757522583007 244
3000 132.275466918945 247
3000 102.664627075195 262
3000 65.2174987792968 495
3000 32.6878204345703 672
3000 6.95230960845947 1218
3500 167.864456176757 239
3500 167.323410034179 239
3500 165.819580078125 240
3500 157.939697265625 242
3500 145.385452270507 246
3500 123.004837036132 255
3500 80.2925872802734 287
3500 47.0103607177734 579
3500 18.9694728851318 965
3500 1.41844093799591 5520
4000 170.854522705078 243
4000 169.65461730957 244
4000 166.132110595703 245
4000 152.501663208007 249
4000 140.088592529296 254
4000 111.992088317871 267
4000 72.1581344604492 306
4000 39.1304244995117 653
4000 11.1619758605957 1492
4500 173.895324707031 250
4500 171.416137695312 250
4500 166.354934692382 251
4500 146.819595336914 257
4500 122.202232360839 268
4500 96.5167083740234 285
4500 59.9062232971191 337
4500 30.1805992126464 778
4500 6.36304569244384 2498
5000 173.585800170898 257
5000 169.25894165039 257
5000 162.090850830078 258
5000 137.594635009765 266
5000 115.809295654296 277
5000 85.2705841064453 303
5000 49.8894805908203 375
5000 22.8565368652343 963
5500 168.05110168457 264
5500 162.948928833007 264
5500 153.40232849121 267
5500 129.344314575195 276
5500 108.045639038085 289
5500 71.5518951416015 332
5500 36.348388671875 460
5500 15.0586185455322 1363
6000 156.899932861328 272
6000 152.470123291015 273
6000 143.475753784179 276
6000 119.445098876953 288
6000 94.6066207885742 309
6000 62.4612579345703 363
6000 29.239574432373 545
6000 6.88392448425293 2740
6500 145.162063598632 283
6500 140.081802368164 285
6500 130.680343627929 290
6500 108.962089538574 304
6500 83.6306076049804 333
6500 49.9563484191894 417
6500 22.7222499847412 671
7000 135.508895874023 296
7000 131.184112548828 298
7000 123.733245849609 302
7000 96.9293975830078 326
7000 70.2859725952148 368
7000 43.4855995178222 465
7000 15.8871908187866 911
Answers (3)
Petar Pavic
on 24 Jul 2019
2 votes
Here is the .m file :)
1 Comment
Barbora Kolpaková
on 6 May 2024
Edited: Barbora Kolpaková
on 6 May 2024
hello i have a similar problem .i tried using this file and just changing my numbers but somehow i always get an error . Anz idea wha i could try? My numbers
1000 147.59895324707 247
1000 147.49836730957 247
1000 147.221221923828 247
1000 145.891250610351 247
1000 143.909286499023 248
1000 140.863586425781 249
1000 135.446151733398 250
1000 118.390319824218 422
1000 92.90771484375 445
1000 59.7416458129882 306
1500 158.051437377929 237
1500 157.951217651367 237
1500 157.566284179687 237
1500 154.905120849609 237
1500 150.820709228515 239
1500 147.491836547851 239
1500 128.411270141601 246
1500 110.416641235351 416
1500 75.2012023925781 458
1500 41.1206932067871 345
2000 164.128860473632 233
2000 163.73567199707 233
2000 162.747695922851 234
2000 157.799865722656 235
2000 152.328796386718 236
2000 145.13377380371 238
2000 121.688110351562 247
2000 86.7719039916992 440
2000 59.8161239624023 494
2000 27.303689956665 425
2500 169.641159057617 233
2500 168.634292602539 233
2500 166.082962036132 234
2500 157.312637329101 236
2500 149.279724121093 238
2500 131.901016235351 244
2500 108.934036254882 255
2500 82.1966552734375 451
2500 44.5346374511718 564
2500 15.0628404617309 637
3000 171.109588623046 235
3000 169.8037109375 236
3000 166.917495727539 236
3000 157.058837890625 239
3000 140.757522583007 244
3000 132.275466918945 247
3000 102.664627075195 262
3000 65.2174987792968 495
3000 32.6878204345703 672
3000 6.95230960845947 1218
3500 167.864456176757 239
3500 167.323410034179 239
3500 165.819580078125 240
3500 157.939697265625 242
3500 145.385452270507 246
3500 123.004837036132 255
3500 80.2925872802734 287
3500 47.0103607177734 579
3500 18.9694728851318 965
3500 1.41844093799591 5520
4000 170.854522705078 243
4000 169.65461730957 244
4000 166.132110595703 245
4000 152.501663208007 249
4000 140.088592529296 254
4000 111.992088317871 267
4000 72.1581344604492 306
4000 39.1304244995117 653
4000 11.1619758605957 1492
4500 173.895324707031 250
4500 171.416137695312 250
4500 166.354934692382 251
4500 146.819595336914 257
4500 122.202232360839 268
4500 96.5167083740234 285
4500 59.9062232971191 337
4500 30.1805992126464 778
4500 6.36304569244384 2498
5000 173.585800170898 257
5000 169.25894165039 257
5000 162.090850830078 258
5000 137.594635009765 266
5000 115.809295654296 277
5000 85.2705841064453 303
5000 49.8894805908203 375
5000 22.8565368652343 963
5500 168.05110168457 264
5500 162.948928833007 264
5500 153.40232849121 267
5500 129.344314575195 276
5500 108.045639038085 289
5500 71.5518951416015 332
5500 36.348388671875 460
5500 15.0586185455322 1363
6000 156.899932861328 272
6000 152.470123291015 273
6000 143.475753784179 276
6000 119.445098876953 288
6000 94.6066207885742 309
6000 62.4612579345703 363
6000 29.239574432373 545
6000 6.88392448425293 2740
6500 145.162063598632 283
6500 140.081802368164 285
6500 130.680343627929 290
6500 108.962089538574 304
6500 83.6306076049804 333
6500 49.9563484191894 417
6500 22.7222499847412 671
7000 135.508895874023 296
7000 131.184112548828 298
7000 123.733245849609 302
7000 96.9293975830078 326
7000 70.2859725952148 368
7000 43.4855995178222 465
7000 15.8871908187866 911
bym
on 23 Apr 2011
doc contour()
*edit*
you need to reshape your data before calling contour. Also the second data row (1000 2.8 1563.4) is an outlier, so I'd delete it. assuming d is your data in matrix form:
rpm = reshape(d(:,1),7,[])% do the same for torque & bsfc, then
contour(rpm,t,bsfc)
Stephen Jones
on 13 Feb 2017
0 votes
https://www.mathworks.com/matlabcentral/answers/195299-how-do-i-create-a-bsfc-contour-map
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!