How to Use Hybrid Macro-Meso Simulation in Aimsun Next 20

Technical Note #50
August 2020

By Tessa Hayman

Tessa Hayman explains hybrid macro-meso simulation in Aimsun Next 20 and how it can unite the best of macro and meso to enable regional-scale modeling.

Traditionally, the strategic and operational impacts of a transportation scheme or future plan are analyzed by building two separate models: one dealing with planning, and the other with operations. The hybrid macro-meso adopts the innovative approach of fusing both in a single model.



How does it work?

Unlike traditional macroscopic modeling, the hybrid macro-meso simulator is a dynamic model that simulates individual vehicles. The paths of each vehicle are determined by a dynamic assignment. The main difference between the macroscopic and mesoscopic levels is in the way that a vehicle’s travel time is calculated: network loading.


The network loading and path assignment within Aimsun Next are treated separately, which allows for hybrid modeling.


Hybrid modeling

 
 

  Network loading Routes
Macroscopic area Capacity is an input and there is no capacity constraint.
Travel time is calculated using the delay functions evaluated using the assigned volume for each interval.
Cost is the sum of the volume delay, turn penalty and junction delay functions, which depend on volume and capacity.
Mesoscopic area Maximum throughput and travel time depend on the behavioral models (car-following, lane-changing and gap-acceptance). Cost is evaluated from the experienced travel time with dynamic cost functions.
 

The network loading gives the travel time and number of vehicles assigned on a section to the route calculation every route choice interval.


The cost of a path is: Macro cost + Meso cost



Simulating individual vehicles

We can split the simulation of a vehicle into 3 main steps:


  1. Generating a vehicle
  2. Calculating a route
  3. Simulating the route

The vehicle generation is the same as in mesoscopic simulation: the modeler chooses an arrivals model.


The route calculation is the same as in mesoscopic simulation. The modeler chooses either stochastic route choice or dynamic user equilibrium and the cost of each path is the macro cost + the meso cost.


Simulating individual vehicles



The route is then simulated as follows:

1. If the origin is in the macro area, calculate the delay functions to give a macro travel time.


2. Move the vehicle to the turn that enters the meso area (either instantaneously or with a delay from the functions).


3. Add one vehicle to the volume of the sections traversed.

 

4. Can the vehicle safely enter the meso section?

Yes – simulate as a mesoscopic vehicle;

Add to the virtual queue.

 

If the destination is in the macro area

    1. At the vehicle’s exit time from the meso area, calculate travel time using the delay functions;
    2. Add one vehicle to the volume of the sections traversed;
    3. Move vehicle to destination OR to next mesoscopic area.


How to create a hybrid macro-meso experiment

Within a dynamic scenario, you can create a hybrid macro-meso experiment in a similar way to creating a hybrid meso-micro experiment.


  1. Draw a polygon around each area that you would like to simulate at a mesoscopic level
  2. Convert the polygon to a simulation area
  3. Create a new hybrid macro-meso experiment within an existing dynamic scenario
  4. In the Hybrid tab of the new experiment, add your polygon(s) to specify the mesoscopic areas

Draw a polygon, right click and click convert to simulation area
Draw a polygon, right click and click convert to simulation area


The polygon will then go green to show it is a simulation area
The polygon will then go green to show it is a simulation area


Cost alignment

As the path cost is the sum of the macro cost and the meso cost, it is essential that the units of the macro and meso cost functions are aligned. The default macroscopic cost is expressed in minutes, whereas the default mesoscopic cost is expressed in seconds. To align the cost, you can specify the conversion in the hybrid macro/meso experiment, using the VDF/TPF/JDF Unit Conversion Factor.


It is a good idea to check that the functions that you have used are the same format as the generalized cost function. For example, you may need to add in toll costs, value of time and vehicle operating costs with the same coefficients.


If you want to get skim matrices with any function components, you’ll also need to ensure that they are defined both in your macroscopic functions and in your mesoscopic functions.



Cost alignment



Travel time in the macro area

The travel time in the macro area specifies how long it takes for a vehicle generated in the macroscopic area to reach the boundary of a mesoscopic area. The default is Total VDF/TPF/JDF cost, which interprets the overall output of those functions as a pure travel time; if you have added other terms and computed a generalized cost, you should define and choose a function component that provides the travel time only.


If you developed your demand by using a cordon around the mesoscopic area, you should choose instantaneous time for the first and last segment. This is because the time of each demand slice represents the time at which incoming trips cross the boundary of the mesoscopic area rather than the time when they departed from their origin.

Más notas técnicas

Cómo codificar glorietas: parte 1

Noviembre 2019: Tessa Hayman explica los diferentes métodos para codificar glorietas y obtener distintos diseños de glorietas, de forma que se garantiza el uso correcto del carril y el comportamiento de cambio de carril desde la entrada hasta la salida.

Cómo modelar ciclistas en Aimsun Next

Julio de 2020: En Aimsun Next ahora puedes añadir a tu modelo vehículos no basados en carriles, como las bicicletas. En esta nota técnica, exploraremos cómo crear ciclistas en tu modelo y veremos algunos escenarios posibles.

  • ¿Tienes alguna pregunta? Ponte en contacto.

    ¡Estamos aquí para ayudarte!

  • ¿Tienes alguna pregunta? Ponte en contacto.

    ¡Estamos aquí para ayudarte!

SHARE

Citar Aimsun Next

Aimsun Next 23

Aimsun (2023). Aimsun Next 23 Manual del usuario, Aimsun Next Versión 23.0.0, Barcelona, España. Acceso: 19, 2023. [Online].
Disponible en: https://docs.aimsun.com/next/23.0.0/


Aimsun Next 20.0.5

Aimsun (2021). Aimsun Next 20.0.5 Manual del usuario, Aimsun Next Versión 20.0.3, Barcelona, España. Acceso: May. 1, 2021. [En software].
Disponible: qthelp://aimsun.com.aimsun.20.0/doc/UsersManual/Intro.html

Aimsun Next 23

@manual {​​​​​​​​AimsunManual,

título = {​​​​​​​​Aimsun Next 23 User's Manual}​​​​​,
autor = {​​​​​​​​Aimsun}​​​​​​​​,
edición = {​​​​​​​​​​​​​​​Aimsun Next 23.0.0}​​​​​​​​​​​​​​​,
domicilio = {​​​​​​​​​​​​​​​Barcelona, Spain}​​​​​​​​​​​​​​​,
año = {​​​​​​​​​​​​​​​2023. [Online]}​​​​​​​​​​​​​​​,
mes = {​​​​​​​​​​​​​​​Accessed on: Month, Day, Year}​​​​​​​​​​​​​​​,
url = {​​​​​​​​​​​​​​​https://docs.aimsun.com/next/23.0.0/}​​​​​​​​​​​​​​​,
}​​​​​​​​​​​​​​​


Aimsun Next 20.0.5

@manual {​​​​​​​​AimsunManual,

título = {​​​​​​​​Aimsun Next 20.0.5 User's Manual}​​​​​​​​,
autor = {​​​​​​​​Aimsun}​​​​​​​​,
edición = {​​​​​​​​​​​​​​​Aimsun Next 20.0.5}​​​​​​​​​​​​​​​,
domicilio = {​​​​​​​​​​​​​​​Barcelona, Spain}​​​​​​​​​​​​​​​,
año = {​​​​​​​​​​​​​​​2021. [En software]}​​​​​​​​​​​​​​​,
mes = {​​​​​​​​​​​​​​​Accessed on: Month, Day, Year}​​​​​​​​​​​​​​​,
url = {​​​​​​​​​​​​​​​qthelp://aimsun.com.aimsun.20.0/doc/UsersManual/Intro.html}​​​​​​​​​​​​​​​,
}​​​​​​​​​​​​​​​

Aimsun Next 23

TY - COMP
T1 - Manual del usuario de Aimsun Next 23
A1 - Aimsun
ET - Aimsun Next Version 23.0.0
Y1 - 2023
Y2 - Acceso: Mes, Día, Año
CY - Barcelona, España
PB - Aimsun
UR - [En software]. Disponible en: https://docs.aimsun.com/next/23.0.0/


Aimsun Next 20.0.5

TY - COMP
T1 - Manual del usuario de Aimsun Next 20.0.5
A1 - Aimsun
ET - Aimsun Next Version 20.0.5
Y1 - 2021
Y2 - Acceso: Mes, Día, Año
CY - Barcelona, España
PB - Aimsun
UR - [In software]. Available: qthelp://aimsun.com.aimsun.20.0/doc/UsersManual/Intro.html