Skip to content

leodido/tsis-corsim-sensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SENSORS Analytics

This is a TSIS-CORSIM™ (Traffic Software Integrated System - Corridor Simulation) RTE (run-time extension).

This repository contains code to compile a DLL that extends, at runtime, TSIS-CORSIM™ (version >= 6.2).

TSIS-CORSIM™

TSIS™ is an IDE that enables users to conduct traffic operations analysis. Built using a component architecture, TSIS™ is a toolbox that contains tools that allow the user to define and manage traffic analysis projects, define traffic networks and create inputs for traffic simulation analysis, execute traffic simulation models, and interpret the results of those models.

CORSIM™ is a comprehensive microscopic traffic simulation, applicable to surface streets, freeways, and integrated networks with a complete selection of control devices. It simulates traffic and traffic control systems using commonly accepted vehicle and driver behavior models. CORSIM™ combines and extends two of the most widely used traffic simulation models, NETSIM for surface streets, and FRESIM for freeways.

GOAL

To extend TSIS-CORSIM™ in order to provide the tracking and the logging of fine-grained data of the detectors of a simulation model created and simulated with the aforementioned toolbox.

NOTES

To generate the (correct) temporal log of all the transitions of the vehicles on the detectors of the road network it is necessary that the detectors are of the type "presence".

DEPENDENCIES

This code depends on, as well as corsim.dll and corwin.lib (included in the source), from the MFC and ATL libraries (because most of classes inherit from its CObject class).

MS VISUAL STUDIO C++ 2010

This project is written in Visual C++ and contained in a Microsoft Visual Studio C++ 2010 solution project.

CONFIGURATION

To install and use MFC classes adapt this guide. Futher informations are available here.

Then in the project general settings:

  • set Use of MFC to Use MFC in a shared DLL
  • set Use of ATL to Dynamic linking to ATL

While in the project VC++ directory settings:

  • add to Inclusion directories this paths:

    $(DDK_directory)\inc\atl71

    $(DDK_directory)\inc\mfc42

and

  • add to Library directories this paths:

    $(DDK_directory)\lib\ATL\i386

    $(DDK_directory)\lib\Mfc\i386

Finally in the linker input settings:

  • add to Additional dependecies one row for corsim.lib and one for corwin.lib

Note that $(DDK_directory) is the path of your local WinDDK installation, i.e. C:\WinDDK\7600.16385.1.

About

Run-time extension to trace the passage of vehicles on the detectors of a TSIS-CORSIM™ traffic network

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages