Any mathematicians here that can explain why this works?

adriandwor

New Member
Joined
Sep 7, 2021
Messages
19
Office Version
  1. 2016
Platform
  1. Windows
Hey guys,

I've about a week left to submit my final paper for my trade degree in transportation.

The paper is about an analysis of potential implementation of an electric car for direct deliveries in my area where I live.
In part of it, I try to analyze how many possible trips a car like that could have a day and from that deduce potential yearly earnings.
I have about 5000 data points of trips in the area that cover 1 year span.

Data looks something like this:

Cell Formulas
RangeFormula
A353,A331:A332,A327,A325,A269,A221:A223,A205,A178:A179,A160,A129,A87,A79,A55,A33,A2:A3A2=Table3[@Dag]
B353,B331:B332,B327,B325,B269,B221:B223,B205,B178:B179,B160,B129,B87,B79,B55,B33,B2:B3B2=Table3[@[Antal ture]]
C353,C332,C327,C325,C269,C221:C222,C205,C178:C179,C129,C87,C55,C33,C2:C3C2=Table3[@[Tid til rådighed]]*1440/Calculations!$N$7
E353,E331:E332,E327,E325,E269,E221:E223,E205,E178:E179,E160,E129,E87,E79,E55,E33,E2:E3E2=Table3[@[E2(tur)]]+Table3[@[Overlag faktor]]
F353,F331:F332,F327,F325,F269,F221:F223,F205,F178:F179,F160,F129,F87,F79,F55,F33,F2:F3F2=Table3[@[E2(tur)]]


g43gMWT.png


Experimental are trips that have been arranged manually according to the data. Calculated is where I used a formula:

Sqrt ((Available trips - Lowest_bound) +Overlap_Factor) + Lowest_bound

It seems to come very close to the actual number of trips an electric car can have on that day but I don't understand why it comes so close and I don't really understand why I used this formula. Maybe someone can explain if it's just luck or there is some reason for using a square root. I'll probably be asked why this formula at the presentation.

Available trips - Total of all available trips on that day in this area.
Lowest bound - Least amount of possible trips taken (I calculated it by having a total distance of driving all available chronologically trips one by one, the pure driving time by amount of trips and add 6 minutes for each trip for loading/unloading time. 6 minutes is the average load/unload for 5000 trips last year. It gives 39 minutes. Time a car is available on that day, divided by 39 minutes gives a lowest_bound number of trips.

Overlap factor - I've got help here on the forum to have excel count the number of overlapping trips on a particular day with the idea that more trips can be taken as coloads if they happen to be available for pickup within 30 minutes of each other and 15 min driving distance from one another. In that case trip counts as 1 extra in the same time as the other.

I figured some of the overlapping trips + some of the trips not taken in lowest_bound will also be driven. I used a square root for the calculation but I can't explain why other than I've seen an equation some time ago that uses a sqrt.

It seems to me like it works.

Can anyone explain why? I'm a bit worried I'll be asked at my presentation why I chose to do that.

I appreciate your time.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
It seems to me like it works.
what checks are you doing to prove that it works?? I downloaded your data and did a few correlations checks. The experimental figures have 90% correlation with the Available trips. Your calculated figures have 77% correlation with the Available trips. If you subtract the experimental figures from the available trips the minimum figures is 1, if you subtract your calculated figures from the available trips on three occaasions the difference is 0. this is assuming 100% efficiency in doing the available trips . is this realistic?? I think you should understand your calculation and the reasons for it. just adding a sqrt because you have seen one somewhere else is very dangerous. Statistical analysis is difficult and it is very easy to get it wrong. I would not like to go into a situation where I couldn't explain why I had done something.
Best of luck
 
Upvote 0

Forum statistics

Threads
1,223,990
Messages
6,175,817
Members
452,672
Latest member
missbanana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top