Author Topic: Muscle Car Modeler...a free little project for you  (Read 1528 times)

Offline zerfetzen

  • Jr. Member
  • **
  • Posts: 393
  • 'Cuda, should'a, would'a...you lost.
Muscle Car Modeler...a free little project for you
« on: October 21, 2006 - 09:10:20 AM »
Hi all,
You can go here (http://www.savefile.com/files/181071) and download an Excel file I'm creating called Muscle Car Modeler, and of course all data pertains to my 74 Barracuda, but I welcome you to input data for yours, run the program, and see how well (or poorly) it models your car.  It uses VBA and (numerous) inputs about your car to do many general calculations.

To run the program, go to the Muscle Car Modeler worksheet.  Input any value in column A that is required (noted in column B).  If your head isn't hurting after figuring out all the inputs, scroll to the bottom and click the Calculate button.  Make sure your Excel is set up to allow VBA to run.  If not, go to Tools, Macros, Security, and Low Security (which will allow VBA to run automatically).

These calculations cannot give you exact, final outputs of your car, of course, but hopefully the math is good enough to get you close.  In fact, the math is available for all to inspect.  To see exactly how it calculates things, go to View, Toolbars, Visual Basic.  When the toolbar pops up (assuming that it isn't already), click on the button that says Visual Basic Editor when you hover over it.  In the left window, double click the Muscle Car Modeler worksheet, and all VB code associated with that worksheet (the whole program) will appear in the right window.

If you aren't familar with VB code, don't worry, it should be obvious what it's doing (VB is the simplest language I've ever seen), with a couple of pointers.  First, variables are declared (such as Dim Torque as Double), don't worry about this.  Second, variables are entered into VBA, such as Torque = Range("A65"), meaning only that it reads the value from cell A65 of that worksheet.  From there, calculations are made, and finally, variables are output back on the worksheet.

If you inspect the math, you will find many familiar calculations, and many that I have adjusted.  When I have adjusted them, I have noted the changes (notes appear in green as comments).

Please let me know how well or poorly it models your car.  Most importantly, if you have any suggestions or corrections, I'm very curious, and will probably put them in the code, provided it doesn't become a nightmare to program. I have continuosly added more variables and figured this was a good stopping point to see what you think.  This isn't a serious project, but just for fun and curiosity.




Offline zerfetzen

  • Jr. Member
  • **
  • Posts: 393
  • 'Cuda, should'a, would'a...you lost.
Re: Muscle Car Modeler...a free little project for you
« Reply #1 on: October 21, 2006 - 09:52:17 AM »
PS
I live in CT, and there are no drag strips in the state, can you believe it?  There are some in nearby New York, but I'm not driving my Barracuda that far.  So my buddy at work laughs, saying I guess this car will be a spreadsheet warrior for now.

My biggest complaints at the moment with the model are:
1. I can't find a way to estimate torque, other than the observation that it's usually 1.2 times horsepower
2. The same goes for Peak Torque RPM.
3. Peak HP RPM took quite a bit of tweaking from the Mopar Performance book, which seems WAY off
4. Volumetric efficiency could be more scientific...the way that temperatures affect density, affecting VE are suspect
5. The 60 foot time calculation I found somewhere is linear and too simple, and I'm sure it's neither
6. Insufficient air filter size or head flow, how does it really mathematically affect power?

Limitations (things not included)
Intake flow
Nitrous
Superchargers

That's all I can think of at the moment.  Cheers.

PSS:
Maybe if the board thinks it's worthy, after some modifications and disclaimers, it could be posted in the Tools section of this site to help people learn about their cars?  Mods?  But only if and when the majority agree it does a decent job.  What say you?
« Last Edit: October 21, 2006 - 11:11:23 AM by zerfetzen »

Offline 4Cruizn

  • Administrator
  • C-C.com Expert
  • *****
  • Posts: 18521
  • HEMI FISH
Re: Muscle Car Modeler...a free little project for you
« Reply #2 on: October 21, 2006 - 11:24:32 AM »
WOW I made it through the first 3 paragraphs but I think my eyes glazed over on that forth one . . .  :faint:



Offline 422STROKER

  • Sr. Resident
  • ******
  • Posts: 5386
  • Member Since 6/3/06
Re: Muscle Car Modeler...a free little project for you
« Reply #3 on: October 21, 2006 - 11:43:22 AM »
 :iagree:

Tom :dunno:
Tom
12.77 @ 108.87 15" Street Drag radial tires 3.23 gear

Offline Total BS

  • Full Member
  • ***
  • Posts: 742
  • '71 Carrabuda Baby!
Re: Muscle Car Modeler...a free little project for you
« Reply #4 on: October 21, 2006 - 07:19:29 PM »
I don't do math on Saturdays...lol
1971 'Cuda 383
1970 Chevelle SS LS6
1999 Durango
-New Joisey-

Offline JCWCuda

  • Jr. Member
  • **
  • Posts: 478
Re: Muscle Car Modeler...a free little project for you
« Reply #5 on: October 21, 2006 - 07:37:27 PM »
I'll just run over to Lebanon Valley Speedway , That is just to much Thinking for this guy :crazy:

1974 Barracuda 360
2008 Ram 1500 Quad Cab 5.7l Hemi
1990 Jeep Cherokee 4.0l
Gone but not forgotten
1967 Barracuda 273
1976 Charger 318
2003 Dakota Quad Cab 4.7l
1988 Jeep Cherokee 4.0l