Learn about using the Traffic Simulation black box to analyze traffic flow through intersections and display color-coded traffic analysis results. Find out how to generate traffic simulation animations to play in the model.
- [Instructor] Now let's have a look at the magic which is traffic simulation within InfraWorks. So, let's head over to bookmark 12, traffic analysis A. And this is the road that we're going to be looking at for a more comprehensive a little bit later on. But for right now, just to start us off, go to number 13, traffic analysis B, which is basically just north of the area that we're looking at.
You can see here is our road, and here are some other, more simple roads. Now, InfraWorks allows you to analyze traffic through intersections display the results as happy, color-coded pictures and traffic simulation videos. You can use very complex parameters, or you can use very simple parameters. There are a few things that you have to remember though before we get started. First of all, it only works on design or component roads. So, if you have planning roads, you will be prompted to change those into design roads before you start.
The second thing is that this takes cloud credits, and you have to be aware that it takes more credits depending on whether your area of interest is large or small, how long you want to run a simulation for, all those types of things. But we will get to that a little bit later. So, the first thing that you're going to do, is you're going to head over to the roads button, and the little scale, review and modify button, we have a traffic simulation tool.
So, click on that, and it's going to tell you that you need to publish your model to InfraWorks. Now, this is something that you probably haven't done yet during this course, because we haven't had the need to, but it only works on published models. So, you do want to do that. Hit publish model. It will check the model, and then it will send it off to the cloud and be published on InfraWorks. One of the things that I have found, is that if you happen to be working on a VPN, a Virtual Private Network, this fails every single time.
So, make sure that you're not working through VPN, you're working just through the internet. And here we have our published model dialog. We're going to call it Lynda Road Design. We want to publish the master and the common resources. If you need to you could put in some notes over here. Let's do that. So, "Lynda Road Design Course." and hit publish. This is going to take a little while. It'll compact your model, and then what it will do, is it will send you an email to your InfraWorks account telling you when the model has been published and is ready for use.
So, we'll let this run, and we'll come right back to it in a second. Now that your model has been published properly, you'll get this message saying it's been published successfully. As I mentioned, try, if it doesn't work, to check out your VPN settings, that type of thing. Sometimes if you have too many proposals in a particular model it might give you some trouble. You could go back, you could uncheck some of the things that get published. But this is usually a very straightforward process.
So, hit close. And you shouldn't have had to open your model again, it should've just reopened it for you, but what we are going to have to do is go back to the bookmark where we were. So, we were at traffic analysis B. We'll let that regenerate. And we can get on with our traffic analysis. So, on our roads button, as I mentioned, we have our little scales and then we have traffic simulation. So, if we select traffic simulation, you'll notice now that some of the roads tend to change colors.
See this blueish color down at the bottom over here? That means that these are already design roads. The plain ones are planning roads. But we'll get to that in a second. You'll notice that it says clicking canvas to define a new traffic study area boundary, and that's what we're going to do. So, just grab an area. As you click and drag, you'll see that you a message saying you've got your physical area and how much of that area is chargeable. And then just double click to finish the traffic simulation study area.
Now, you'll get a message saying there are planning roads inside the study area, "Do you want to convert them to design roads?" Now, this all depends on how large your area is. If you're planning a very large and very complex traffic simulation, then I'd suggest going no, and going back and changing those roads manually. Since we are just using a quick simulation, and this is just one-off, we're going to hit yes. So, it's going to change those automatically for us, which, I think, is terribly nice of it, because it means less work for us.
So, as these change, when you notice that all of these roads are converted to design roads, you will see blue roads and red roads, and that is the way to tell what roads within your traffic study area will be available for study and which ones aren't. So, you see these red ones? Those are plans. These ones are available for traffic study. So, we got our traffic zone. If you right click, you'll see a context menu. Now, here you can exit the traffic simulation, you can add vertices, you can put in new traffic study areas.
You may have noticed this little asset card over here, the traffic study area panel. Now, if that has not shown up, so, let's close it, and go back and right click. If it doesn't show up, that is the asset card. So, here we can see that we have traffic study area one, and then we have three little panels: analysis display, simulation, and results. So, here you'll see the analysis display, the simulation results, and the study area panel.
More about these later. But we're just going to run a quick simulation, so, make sure that quick simulation is selected in the simulation dropdown. This is a very short run, 10 minutes in the morning, using default values. So, note here that it'll tell you how many cloud credits you need for the simulation. And this is one of the analyses within InfraWorks that requires cloud credits. So, this is a small area, you can see over here, running over a 10 minute period during the morning, so it costs one cloud credit.
And these things are kind of difficult to figure out, but it's hard to get hold of concrete numbers, but last I heard, as a guide, a five square kilometer area with a 2 hour runtime costs 10 cloud credits. So, I'm using a trial version of InfraWorks here. This is because when you're doing these types of things, either your testing out the software before you buy it, or you're learning something new and you don't really want to burn through all of your organization's cloud credits.
So, you can do this on the trial. You have about 100 cloud credits per trial, and you can quite easily do some traffic study with that. Now, hit the run simulation button, and wait for the simulation to finish. So, it's asking us and telling us that we need an internet connection and a 360 account. We want to say okay, let's do that. And it's going to put all those parameters into the cloud server and run our simulation.
Now, whilst we're waiting for that, let's talk about some of the terms and nomenclature that you'll find you encounter when working with traffic cameras. These blue boxes over here are what we call demand zone. So, if you mouse over one, you can see that it says zone one, demand in, demand out. Now, what zone one is, obviously, the name of the zone, demand in is the number of trips going to that node, and demand out is the number of trips coming out of that.
And what these do, is they help us to figure out the origin destination matrix. And the origin destination matrix is determined by the number of demand zones. So, let's have a look. If you had four demand zones, you would have four times four, equals 16, cells in your origin demand matrix. We have one, two, three, four, five, six, seven, so, we'll have seven times seven, 49 cells, within our origin destination matrix.
And these demand in and demand out, you may have noticed, for the quick simulation, because we're using default numbers, the demand in and the demand out is exactly the same. Now, this is highly unlikely in a real world situation. It's far more likely that trips will be staggered over a period of time. So, for example, if we look at this zone two over here, demand in, demand out is 10. But let's say that this leads to a school, it may be quite likely that you have a balanced demand, so, you drive in, you offload the kid, you drive back out again, so, in, out, 10 in, 10 out.
Rinse and repeat at home time. But let's have a look at this node over here. This might lead to an office park. So, it's far more likely to have a much more skewed demand. So, you might have 90 cars going in in the morning, at half-past 8:00, and only 10 coming out. Whereas at 5:31 in the afternoon there will 97 trips out and zero trips in, because three people skived off at lunch time or whatever it is.
But the point I'm making here, is that demand in and demand out, and the origin demand matrix, is a very nuanced thing and quite difficult to predict. That's why some of this costs so much money. It's difficult to figure out when people are going to be going where, if they change lane, if they go one route versus another route. But that is information for another part of the course. So, let's go back to our quick simulation, and we notice in the result panel here, we have our quick simulation.
You'll see here that you have a little report that you can get. We'll talk about that later. But just hit play animation. And you've got the time, so you can see actual speed, double speed, 10 times speed, and 30 times speed, and you'll see here that the quick simulation runs from 8:00 in the morning to 8:10 in the morning. That's what we mean by 10 minute period. So, hit the play button, and you'll see, up in the top over here, and it's quite difficult to see so let's just zoom in to a particular junction or two, and you'll see that we have our cars and trucks, and how they're actually moving.
Now, this is just the cars zooming around. What we can also do, is we can go up to the result volume panel, and we have a couple of options here; we have a per lane approach or a per approach bar. Per lane, just switch that one on, and you'll notice that we have bars on the roads. So, we've got these red ones, and we've got these blues ones.
And these show us, if you mouse over them, the average delay, so, this one is 59 seconds, and the queue is likely to be 12.3 meters. If we go on a blue one, we'll see that the average delay is 35 seconds, and the queue is 21.9 meters. Now, you can play around with this delay threshold here. So, if you decide that a delay is 35 seconds, notice how this blue one has all of sudden turned to red. That is because we have decided that 35 seconds is too long to wait, and we'd need to do something about it.
Equally, if we said that 65 seconds was what we were willing to let people wait for, this red bar turns to blue. And these bars are, the way they work, is they're colored based on the US Highway's Level of Service descriptions. So, if you go and look that up, you'll notice that you'll get A, B, C, D, E, F. So, A, B, C, and D, if it falls within that, you get a blue bar. If it falls within E and F, you get a red bar.
But, remember, if you start playing around with this delay threshold, and take it away from the default, that's no longer in play. But anyway, so, once we've done that, you can also go and try changing per approach. That doesn't really make a difference here, because all of these roads are only one lane in each way. However, if you had double lane roads, or triple lane roads, or turning lanes, and things like that, you could get one of these bars for each of those particular lanes.
When you have finished and you've created your results, you can fetch a report and save it your computer. So, now that we've had a look at quick simulation, let's go and take a little bit of a deeper dive, and do something a little bit more complex with traffic simulation.
- Working with design roads
- Creating and editing component roads
- Enhancing your road designs
- Converting an intersection into a roundabout
- Analyzing and optimizing roads
- Viewing and exporting earthwork and material quantities