development.gif
Address

Passeig de Gràcia 12
08007 Barcelona (Spain)
Tel. (+34) 933 171 693
Fax. (+34) 933 171 716

API, Scripting and SDK

AIMSUN NG is, from the user point of view, a collection of tools offered under a single, consistent, application. From the programmer point of view, it is an extensible environment in where any kind of new functionalities can be added.

AIMSUN NG Programming Possibilities

AIMSUN NG offers two general mechanisms to do so (SDK and Scripting) and a particular one (AIMSUN API) just for the AIMSUN Simulator.

AIMSUN API

The first option is a particular offer of the AIMSUN Simulator. It allows the coding of AIMSUN Extensions accessing the exposed simulator API.

An AIMSUN Extension can be coded in either C++ or Python and can be combined with the SDK and the Scripting.

These extensions are used to dynamically modify the current simulation by changing, for instance, driver parameters, control timing, implementing powerful traffic management actions…

Scripting

The second possibility is the use of AIMSUN NG Scripting, this time writing the extensions in Python. The main differences, apart from the use of Python, is that only a subset of what is offered in the SDK is available for scripting programmers.

The nature of Python makes scripting ideal for writing small utilities either to extend the AIMSUN NG capabilities or to automate any operation.

Software Development Kit

The last possibility is the Software Development Kit or SDK, aimed to C++ programmers. The SDK is a collection of user interface widgets, libraries and documentation that allows the inclusion in AIMSUN NG of any kind of new application. The use of C++ guarantees that these new components will be as fast as required.

The SDK offers access both the Kernel and the Graphical User Interface allowing the inclusion of new functionalities at both levels. The developer can add new models, new graphical elements, new editors and dialogs…

In fact TSS uses the same version of the SDK offered to our users to develop its own tools.

Examples of SDK usage are: filters to import or export data in other formats, simulation models, planning tools, environmental applications, urban planning…


Thematic Map

The use of modes of visualisation is ideal for the presentation of results. A battery of predefined modes is available by default. In the image, the mode Density is used, and so the sections are coloured during a simulation, depending on their density. The legend gives the relation between the colours and the numerical density.


© 1998-2008 TSS-Transport Simulation Systems