3rd Generation Specific (1993-2002) 1993-2002 Discussion including performance modifications and Technical Support Sections.
Sponsored by:

Made a lambda calculator for meth/gasoline

Thread Tools
 
Search this Thread
 
Old Jan 18, 2010 | 02:00 AM
  #1  
Dudemaaanownsanrx7's Avatar
Thread Starter
wannaspeed.com
Tenured Member 20 Years
iTrader: (23)
 
Joined: Feb 2003
Posts: 2,802
Likes: 5
From: Texas
Made a lambda calculator for meth/gasoline

Not that its really high demand, especially since the best way it to just tune using gasoline rich/lean AFRs, but I've been fascinated and frustrated with learning web programming lately.

I'm also posting because I'm hoping those smarter with java scripting can help me here. The calculator can be found at www.wannaspeed.com/lambda.html. It works well with lambda, gasoline afr, and meth, but I wanted to add more fuels to the calculator. As you can see if you go to www.wannaspeed.com/afrcalc2.html the calculator stops working when I add more components. Been working on this all day and still can't figure out what I'm doing wrong.

Any help would be appreciated.
Reply
Old Jan 18, 2010 | 02:15 AM
  #2  
grimple1's Avatar
Turd Ferguson
Tenured Member 05 Years
iTrader: (1)
 
Joined: Jul 2006
Posts: 2,047
Likes: 2
From: Sherman Oaks, California
now that is cool. Thanks for working on it!

Unfortunately, my skills at Java or lamda end at just pronouncing them.
Reply
Old Jan 18, 2010 | 02:30 AM
  #3  
Dudemaaanownsanrx7's Avatar
Thread Starter
wannaspeed.com
Tenured Member 20 Years
iTrader: (23)
 
Joined: Feb 2003
Posts: 2,802
Likes: 5
From: Texas
Lol thanks for the compliment and the bump anyway
Reply
Old Jan 18, 2010 | 10:21 AM
  #4  
joff's Avatar
Junior Member
iTrader: (1)
 
Joined: Mar 2009
Posts: 24
Likes: 0
From: Arizona
http://oz.embeddedarm.com/~joff/x.html

You don't need the with (document.cminch) { ... }

By the javascript function names, it looks like you tweaked a feet/inch converter calculator. :-)
Reply
Old Jan 18, 2010 | 11:01 AM
  #5  
Dudemaaanownsanrx7's Avatar
Thread Starter
wannaspeed.com
Tenured Member 20 Years
iTrader: (23)
 
Joined: Feb 2003
Posts: 2,802
Likes: 5
From: Texas
Lol you are absolutely correct. I tried starting from scratch and I could barely get a box built. Couldn't get it to do anything. So then I converted a Celsius Farenheit calculator and added an additional meth cell. Got that to work, except when entering into the new meth cell the rest wouldn't calculate. Then I did the ft converter, that worked the best, and I thought I could just add more functions to the javascript, but no matter what I did it wouldn't work when I added new things. I even tried to change the names of inch, foot, cm and it stopped working... for whatever reason I have no idea. Maybe a typo.

Thanks for the info about the document.cminch, I thought that looked rather strange, and I couldn't figure out where this magical document even was.

I went to the calculator on your link, but it doesnt work either?
Reply
Old Jan 18, 2010 | 04:44 PM
  #6  
twinturborx7pete's Avatar
Juris Doctor
Tenured Member: 20 Years
Liked
Loved
Community Favorite
iTrader: (3)
 
Joined: Mar 2002
Posts: 2,229
Likes: 230
From: Panama City Beach, Florida
Sweet
Reply
Old Jan 22, 2010 | 10:43 PM
  #7  
Dudemaaanownsanrx7's Avatar
Thread Starter
wannaspeed.com
Tenured Member 20 Years
iTrader: (23)
 
Joined: Feb 2003
Posts: 2,802
Likes: 5
From: Texas
Well I took a break from it for a week or so and started working on it again today. Got it all simplified and added another formula. It now does e85 as well. going to add a few more fuels if all this math doesn't make my head spin off my body. here's the link for this one www.wannaspeed.com/lambda4.html

EDIT added E100 too
EDIT again added propane. I'm improving
Reply
Old Jan 22, 2010 | 11:28 PM
  #8  
Dudemaaanownsanrx7's Avatar
Thread Starter
wannaspeed.com
Tenured Member 20 Years
iTrader: (23)
 
Joined: Feb 2003
Posts: 2,802
Likes: 5
From: Texas
And added diesel. I'll leave it at that for now
Reply
Old Jan 23, 2010 | 03:17 PM
  #9  
RIX-7's Avatar
Senior Member
Tenured Member 05 Years
iTrader: (2)
 
Joined: Mar 2008
Posts: 314
Likes: 0
From: rotorland
Nice work Brent, Hope your getting some wannaspeed stickers made up.
Reply
Old Jan 23, 2010 | 03:39 PM
  #10  
Dudemaaanownsanrx7's Avatar
Thread Starter
wannaspeed.com
Tenured Member 20 Years
iTrader: (23)
 
Joined: Feb 2003
Posts: 2,802
Likes: 5
From: Texas
Yeah I was thinking about at least making one for my car at some point. I added another calculator that calculates HP/ or turbo size requirements. I plan on adding some more based on some data howard posted.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
zyph3r
Canadian Forum
10
Sep 16, 2018 07:14 PM
Sh00bs
1st Generation Specific (1979-1985)
3
Oct 1, 2015 11:57 PM




All times are GMT -5. The time now is 01:40 AM.