Go Back   EcoModder Forum > Forum News & Feedback
Register Now
 Register Now
 

Reply  Post New Thread
 
LinkBack Thread Tools
Old 08-11-2009, 11:17 PM   #11 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 124 Times in 91 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
I'll check out the issue with the savings, but here's the actual thing the site is using:

Quote:
$saved_indy = round((($total_indy_gallons * ((100 + $epa)/100)) - $total_indy_gallons), 2);

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 08-11-2009, 11:47 PM   #12 (permalink)
Pokémoderator
 
cfg83's Avatar
 
Join Date: Dec 2007
Location: Southern California
Posts: 5,864

1999 Saturn SW2 - '99 Saturn SW2 Wagon
Team Saturn
90 day: 40.49 mpg (US)
Thanks: 439
Thanked 532 Times in 358 Posts
SVOboy -

Ok. I don't think that equation is right. Here's what happens to me :

Code:
( $total_indy_gallons * ((100 + $epa)/100)) - $total_indy_gallons
=>
( $[827.08] * ((100 + $[27])/100)) - $[827.08]
=>
( $[827.08] * ((127/100)) - $[827.08]
=>
( $[827.08] * (1.27) - $[827.08]
=>
1050 - 827 
=>>>>>>>>>> 223
Now, assuming that "$total_indy_miles" exists as a variable *AND* $epa is not zero, I wrote this :

Code:
$saved_indy = 
round
( 
  (
   ( $total_indy_miles / $epa) - $total_indy_gallons
  ), 2
);
CarloSW2
__________________

What's your EPA MPG? Go Here and find out!
American Solar Energy Society
  Reply With Quote
Old 08-11-2009, 11:49 PM   #13 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 124 Times in 91 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Woops. I wasn't thinking! So many things broke on the site today...

I'll go in and fix tonight!
  Reply With Quote
Old 08-11-2009, 11:55 PM   #14 (permalink)
Master EcoModder
 
McTimson's Avatar
 
Join Date: Sep 2008
Location: Nyack, NY
Posts: 310

Maverick - '22 Ford Maverick XLT
90 day: 40.31 mpg (US)
Thanks: 1
Thanked 5 Times in 5 Posts
Code:
[ (Total Miles / EPA Rating) - Gallons Used] * Avg cost per gallon
is what I was thinking
__________________
  Reply With Quote
Old 08-12-2009, 12:12 AM   #15 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 124 Times in 91 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Tell me if the current results look good to ya'll
  Reply With Quote
The Following User Says Thank You to SVOboy For This Useful Post:
TomO (08-12-2009)
Old 08-12-2009, 01:29 AM   #16 (permalink)
Master EcoModder
 
Matt Herring's Avatar
 
Join Date: Jun 2008
Location: North Andover, MA
Posts: 857

Bone's 2010 Prius - '10 Toyota Prius Black
90 day: 56.78 mpg (US)
Thanks: 5
Thanked 23 Times in 19 Posts
Everything looks tight on the fuel logs...the stats are great...nice work bro!

My $ saved is a little disappointing though. I thought 13 mpg over EPA would save me more than $66. But, I've only spent $233+ in gas over those 4+ months so I guess it makes sense. Although over the course of a year I might have a tough time persuading a non-hypermiler Prius driver to follow my lead if I'm only saving a couple hundred bucks a year by getting 60 mpg vs. getting their 46 mpg...just a thought.

Compared to my former 4runner over the past 4+ months I have saved more than $500 on gas though so the switch to the Prius feels alot better thinking that way.
  Reply With Quote
Old 08-12-2009, 01:34 AM   #17 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 124 Times in 91 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
We could probably have a calculator for former vehicles, as well More on the to do list!
  Reply With Quote
Old 08-12-2009, 01:58 AM   #18 (permalink)
Master EcoModder
 
Matt Herring's Avatar
 
Join Date: Jun 2008
Location: North Andover, MA
Posts: 857

Bone's 2010 Prius - '10 Toyota Prius Black
90 day: 56.78 mpg (US)
Thanks: 5
Thanked 23 Times in 19 Posts
Maybe some type of worksheet similar to the one that is on the site to calculate cd would work where you could use your current vehicle stats to compare them to "x" car. Thinking something simple where you could enter a random combined epa in a box, miles driven, cost per gallon, etc. and it would formulate how much gallons, fuel, etc. you can save/have saved vs. the "x" car.

This would be a good tool for the prospective car buyer also to figure out how much money/fuel they would save if they were driving a 20, 30, 40, 50 mpg vehicle vs. their current car. Might be a good calculator to bring non-ecomodders to the site as well if they picked it up on a google search. While calculating their possible mpg in the worksheet they might join ecomodder too!

All of these things you are working on are great SVO! A few of the items (overall ecomodder garage stats, top 10 lists, etc.) might be good to add as links on the front page of the site for easy access. I find myself going to my subscriptions page or the garage to find the threads that have those links. Would be quick if I could go to the homepage and find all of the links for this great info...more work...sorry!
  Reply With Quote
Old 08-12-2009, 02:12 AM   #19 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 124 Times in 91 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Yeah, I've been lax on linking since it's all beta right now. I'll try to get on it soon, but right now I'm putting my plans on hold to fix the mysql error issue
  Reply With Quote
Old 08-12-2009, 03:02 AM   #20 (permalink)
Pokémoderator
 
cfg83's Avatar
 
Join Date: Dec 2007
Location: Southern California
Posts: 5,864

1999 Saturn SW2 - '99 Saturn SW2 Wagon
Team Saturn
90 day: 40.49 mpg (US)
Thanks: 439
Thanked 532 Times in 358 Posts
SVOboy -

Great Job!

CarloSW2

__________________

What's your EPA MPG? Go Here and find out!
American Solar Energy Society
  Reply With Quote
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
Fuel Economy related papers tasdrouille General Efficiency Discussion 41 03-19-2021 07:31 PM
Hydrogen Generator Experiment willy57 DIY / How-to 601 08-23-2016 06:53 AM
mileage computer for a carbureted engine diesel_john Instrumentation 221 05-01-2014 11:38 PM
Project: Rebuilding an '01 Honda Insight as a nonhybrid Fabio Hybrids 158 01-12-2013 12:59 PM
ElmScan + Customized Scantool Software = data logging! cfg83 Instrumentation 19 08-08-2010 10:24 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com