Question about a monte carlo simulation of car travel patterns

In summary, a Monte Carlo simulation is a mathematical technique used to model and simulate complex systems or processes. Specifically, a Monte Carlo simulation of car travel patterns creates a model of a transportation network using random numbers and probability distributions. This is useful for studying car travel patterns as it allows researchers to investigate various scenarios and assess the likelihood of different outcomes, which can inform decision-making for urban planning and transportation policy. However, there are limitations to this type of simulation, such as simplifying reality and relying on assumptions and data. The results of a Monte Carlo simulation can be applied in real-world situations to improve transportation systems and identify areas for further research and development.
  • #1
bradyj7
122
0
Hi there,

I have a question about probability, conditional expectations, copula functions and their use in a Monte carlo simulation. I'd appreciate any help or comments that you can offer.

I'll describe briefly what I am trying to simulate and I'll ask the specific question at the end.

I am trying to create a Monte Carlo simulation of the travel patterns of electric vehicles for a electricity grid impact analysis.

I have recorded the following variables for a fleet of cars over 6 months.

1. Journey Start Time
2. Journey End time
3. Journey Time
4. Journey Distance
5. The parking time between journeys

From the data above, I have extracted the following variables.

1. Departure time from Home (the first journey of the day)
2. Arrival Time Home (the last journey of the day)
3. The number of journeys made during the day (sum of the journeys)
4. The total distance traveled (sum of the individual journeys)

I found that these variables were correlated. I modeled the distributions of the variables and the dependence structure between them using a normal copula function. http://en.wikipedia.org/wiki/Copula_(probability_theory)

So the simulation begins by generating the 4 random variables above.

I also want to simulate the journeys during the day (this simulation above only generates the first and last journey time).

So in order to do this, I created two tables using all the data in the database as follows:

1. The Expected journey time given journey start time and journey distance. E(Journey Time | Start Time, Distance)

2. The Expected Parking time given journey stop time and the time already already parked during the day. E(Parking Time | Stop Time, Time already parked during the day)

The reason why I am using the "time already parked during the day" is because this prevents the parking time going over 24 hours.

This is a lot to take in, so I have made picture illustrating an example of the entire process.

https://dl.dropbox.com/u/54057365/All/pic%20sim.JPG

I've put my question in the green box. The question is theoretically speaking should the simulated arrival time home equal the arrival time home that is got by summing the expected journey times and parking time throughout the day with the simulated departure time in the morning?

I am finding that they are not equalling - I don't know if they should? My initial thoughts are that they probably won't because of the expected journey time and parking time tables.

I hope that I have explained this well enough.

I'd appreciate any help and comments.

Thanks

John
 
Physics news on Phys.org
  • #2


Dear John,

Thank you for your question regarding probability, conditional expectations, copula functions, and their use in a Monte Carlo simulation. It sounds like you are working on a very interesting project related to the travel patterns of electric vehicles and their impact on electricity grids. I'd be happy to offer some help and comments based on my understanding of your project.

Firstly, it's great that you have collected data on the variables you mentioned and have extracted some useful variables from them. It's also good that you have identified the correlations between these variables and have used a normal copula function to model the dependence structure between them. This will help in generating the random variables needed for your simulation.

From your description, it seems like you have a good grasp of the process for generating the first and last journey times, as well as the number of journeys and total distance traveled during the day. However, it seems like you are having some trouble with simulating the journeys during the day and specifically with the arrival time home not matching the expected arrival time home.

In theory, the simulated arrival time home should equal the arrival time home that is calculated by summing the expected journey times and parking time throughout the day with the simulated departure time in the morning. However, as you mentioned, this may not always be the case due to the expected journey time and parking time tables.

One possible reason for the discrepancy could be that the expected journey time and parking time tables are based on average values and may not accurately reflect the variability in these times. Another reason could be that the copula function used to model the dependence structure between the variables may not be a perfect fit for your data.

I would suggest checking the accuracy of your expected journey time and parking time tables and possibly considering using a different copula function to see if it improves the accuracy of your simulation results. Additionally, you may want to consider incorporating some variability into your simulation by using a distribution instead of a fixed expected value for the journey and parking times.

I hope this helps and I wish you all the best with your project.
 

1. What is a Monte Carlo simulation?

A Monte Carlo simulation is a mathematical technique used to model and simulate complex systems or processes. It involves using random numbers and probability distributions to generate multiple possible outcomes and analyze the behavior of a system.

2. How does a Monte Carlo simulation of car travel patterns work?

A Monte Carlo simulation of car travel patterns involves creating a model of a transportation network, including factors such as road types, traffic patterns, and population density. Random numbers and probability distributions are then used to simulate the movement of cars through this network, taking into account factors such as start and end points, speed, and route choices.

3. Why is a Monte Carlo simulation useful for studying car travel patterns?

A Monte Carlo simulation allows researchers to investigate various scenarios and assess the likelihood of different outcomes. This can help identify patterns and trends in car travel behavior and inform decision-making for urban planning, transportation policy, and other relevant areas.

4. What are the limitations of a Monte Carlo simulation of car travel patterns?

Like any model, a Monte Carlo simulation is a simplification of reality and may not capture all the complexities and nuances of car travel patterns. Additionally, the accuracy of the simulation relies on the assumptions and data used to create the model, so it is important to carefully consider these factors when interpreting results.

5. How can the results of a Monte Carlo simulation of car travel patterns be applied in real-world situations?

The insights gained from a Monte Carlo simulation can be used to inform policies and strategies for improving transportation systems, reducing traffic congestion, and promoting sustainable modes of transportation. The results can also help identify areas for further research and development in the field of transportation planning and management.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
12
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • Programming and Computer Science
Replies
3
Views
1K
Replies
67
Views
5K
  • Programming and Computer Science
Replies
4
Views
971
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
11
Views
2K
  • Special and General Relativity
2
Replies
65
Views
4K
  • High Energy, Nuclear, Particle Physics
Replies
4
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
3K
Back
Top