Differentiable Agent-Based Simulation Forgradient-Guided Simulation

Total Page:16

File Type:pdf, Size:1020Kb

Differentiable Agent-Based Simulation Forgradient-Guided Simulation Differentiable Agent-Based Simulation for Gradient-Guided Simulation-Based Optimization Philipp Andelfinger University of Rostock Institute for Visual and Analytic Computing Rostock, Germany ABSTRACT Simulation Model X Per-Agent Update Logic f(X) Gradient-Free Simulation-based optimization using agent-based models is typi- Optimization cally carried out under the assumption that the gradient describing Method the sensitivity of the simulation output to the input cannot be eval- uated directly. To still apply gradient-based optimization methods, (a) Gradient-free simulation-based optimization. which efficiently steer the optimization towards a local optimum, gradient estimation methods can be employed. However, many Simulation Model simulation runs are needed to obtain accurate estimates if the input X Per-Agent Update Logic f(X) dimension is large. Automatic differentiation (AD) is a family of techniques to compute gradients of general programs directly. Here, Gradient-Based Recorded operations Optimization we explore the use of AD in the context of time-driven agent-based Method simulations. By substituting common discrete model elements such Automatic ∇f(X) as conditional branching with smooth approximations, we obtain Differentiation gradient information across discontinuities in the model logic. On the example of microscopic traffic models and an epidemics model, Non-differentiable model building block Differentiable model building block we study the fidelity and overhead of the differentiable models, as well as the convergence speed and solution quality achieved by (b) Gradient-based simulation-based optimization. gradient-based optimization compared to gradient-free methods. In traffic signal timing optimization problems with high inputdi- Figure 1: Our approach: by substituting agent model ele- mension, the gradient-based methods exhibit substantially superior ments with differentiable counterparts, automatic differen- performance. Finally, we demonstrate that the approach enables tiation can be used to enable gradient-based optimization. gradient-based training of neural network-controlled simulation entities embedded in the model logic. agent-based models. An existing method to obtain gradients is In- finitesimal Perturbation Analysis (IPA) [27], which the literature applies by determining derivative expressions by a manual model 1 INTRODUCTION analysis (e.g., [11, 20, 31]), limiting its applicability to relatively Simulation-based optimization comprises methods to determine a simple models. Alternatively, gradients can be estimated based on simulation input parameter combination that minimizes or maxi- finite differences. However, the number of required simulation runs mizes an output statistic [9, 30], with applications in a vast array grows linearly with the input dimension, rendering this approach of domains such as supply chain management [35], transporta- prohibitively expensive in non-trivial applications. tion [49], building planning [62], and health care [64]. The problem A similar problem, as well as an efficient solution, exists in the can be viewed as a special case of mathematical optimization in field of deep learning, where the ability to optimize neural networks which an evaluation of the objective function is reflected by the with millions of parameters within tolerable timeframes rests on arXiv:2103.12476v1 [cs.LG] 23 Mar 2021 execution of one or more simulation runs. Many mathematical gradient information determined using the backpropagation algo- optimization methods evaluate not only the objective function it- rithm [54]. Backpropagation is a special case of automatic differ- self but also its partial derivatives to inform the choice of the next entiation, a family of methods to compute derivatives of computer candidate solution. Given a suitable initial guess, gradient-based programs written in general-purpose programming languages [45]. methods efficiently steer the optimization towards a local optimum, In this paper, we explore the use of automatic differentiation with provable convergence under certain conditions [53]. for gradient-based optimization of agent-based simulations. The In contrast, simulation-based optimization using agent-based main obstacle towards this goal is given by discontinuous model models usually relies either on surrogate models, which typically elements, which are considered among the constituent features abandon the individual-based level of detail of the original model [2], of agent-based models [7]. To enable differentiation across such or on gradient-free methods such as genetic algorithms [8]. While elements, we propose substitutes constructed from known smooth gradient-free simulation-based optimization is a time-tested ap- approximations of basic operations (cf. Fig. 1). In contrast to classical proach, the hypothesis underlying the present paper is that the surrogate modeling approaches, our approach retains the per-agent targeted local search carried out by gradient-based methods may logic of the original model. The resulting agent-based models are achieve faster convergence or higher-quality solutions for certain differentiable regarding some or all model aspects, depending on Philipp Andelfinger the degree to which discontinuous elements are substituted. We E1 x ()2 E3 refer to this approach as differentiable agent-based simulation. E E To evaluate the approach, we implement models from the trans- 4 5 portation and epidemics domains in a differentiable fashion and E2 ~ × sin study 1. the fidelity of the results as compared to purely discrete reference models, 2. the overhead introduced by relying on smooth model building blocks, and 3. the relative convergence behavior and Figure 2: Simple example function sin (x2~). Automatic dif- solution quality in simulation-based optimization problems as com- ferentiation propagates values reflecting the sensitivities of pared to gradient-free methods. To further showcase the potential of the intermediate results w.r.t. the inputs along the nodes vi. the approach, we extend the traffic simulation model by embedding neural network-controlled traffic signals in the differentiable model required. Conversely, reverse-mode AD computes the derivatives of logic, which enables their training using gradient-based methods. one output variable w.r.t. arbitrarily many inputs in a single pass. Our main contributions are as follows: Given our use case of simulation-based optimization, where we • Differentiable agent-based simulation, i.e., the construc- expect the input dimension to be larger than the output dimension, tion of agent-based models from differentiable building blocks the remainder of the paper will rely on reverse-mode AD. to enable automatic differentiation and gradient-based opti- During the execution of the program, the computational oper- mization. An initial set of building blocks to construct differ- ations and intermediate results are recorded in a graph. At termi- entiable model implementations is presented. nation, the graph is traversed in reverse, starting from the output. • Differentiable model implementations based on well- The chain rule is applied at each operation to update the intermedi- known models from the literature to demonstrate the ap- ate derivative calculation. When arriving at an input variable, the proach. We measure the fidelity and performance compared computed value is the partial derivative of the simulation output w.r.t. the respective input. We give a brief example of reverse-mode to discrete reference implementations. 2 • Comparison of convergence and solution quality in a AD of a program implementing the function 5 (G,~) = sin(G ~) simulation-based traffic signal timing optimization using (cf. Figure 2). The intermediate results during execution (denoted gradient-free and gradient-based methods. by E8 ) and during reverse-mode AD (denoted by E¯8 ) are as follows: • Embedding and training of neural network-controlled E1 = G E¯5 = 1 E = ~ E¯ = mE5 E¯ = cos(E )1 = cos(G2~) entities, demonstrating their training based on simulation 2 4 mE4 5 4 gradient information on the example of dynamic traffic lights. E = E 2 = G2 E¯ = mE4 E¯ = E E¯ = ~ cos(G2~) 3 1 3 mE3 4 2 4 E = E E = G2~ E¯ = mE4 E¯ = E E¯ = G2 cos(G2~) The remainder of the paper is structured as follows: In Section 2, 4 3 2 2 mE2 4 3 4 E = sin(E ) = sin(G2~) E¯ = mE3 E¯ = 2E E¯ = 2G~ cos(G2~) we briefly introduce automatic differentiation, which forms the 5 4 1 mE1 3 1 3 basis for our approach. In Section 3, the concept of differentiable The partial derivatives of the function are m5 = E¯ = 2G~ cos(G2~) agent-based simulation is introduced and building blocks are pro- mG 1 m5 2 2 vided to construct differentiable models. In Section 4, we describe and m~ = E¯2 = G cos(G ~). the differentiable models we implemented to demonstrate the ap- Mature implementations of AD are available for programming proach. In Section 5, experiment results are presented to evaluate languages such as C and C++ [22, 29], Java [56], and Julia [34]. the performance and fidelity of the model implementations as well Modern AD tools rely on expression templates [29] or source-to- as the benefits of our approach in simulation-based optimization source transformation [34] to generate efficient differentiation code. problems. In Section 6, we discuss limitations of the approach and The backpropagation algorithm used to train neural networks is a various directions for future research. Section 7 describes related special case of AD [3], where the computation
Recommended publications
  • Postdoctoral Fellow and Research Engineer Positions
    Postdoctoral Fellow and Research Engineer Positions National University of Singapore Principal Investigator: Dr. Yang Liu Email: [email protected]; [email protected]; Homepage:https://www.eng.nus.edu.sg/cee/staff/liu-yang/ 1. Postdoctoral Fellow - 00CUR Description The research project is funded under Artificial Intelligent–Enterprise Digital Platform (AI-EDP) Programme in the areas of Smart City and Smart MRO. The postdoctoral researcher will work in ST Engineering & NUS Joint Lab and collaborate with the Transportation Group in the Department of Civil and Environmental Engineering, the Decision Analysis Group in the Department of Industrial System Engineering and Management, the AI Research group in the Department of Electrical and Computer Engineering at NUS and ST Engineering. The research project aims to develop a methodology framework to generate intelligent traffic diffusion plans and information dissemination strategies by analyzing historical traffic data. It is expected to deliver intelligent tools to access traffic accident impact and to generate traffic diffusion strategies by machine/deep learning, simulation, and optimization techniques. The postdoctoral researcher will lead the research project, supervise research students, and write research proposals and reports. This is a full-time position, and the duration of the first contract is one year. There is an opportunity to extend the position to multiple years, depending on the performance in the first year and the availability of funding. Qualifications • Ph.D. degree
    [Show full text]
  • Compiling Maplesim C Code for Simulation in Vissim
    Compiling MapleSim C Code for Simulation in VisSim 1 Introduction MapleSim generates ANSI C code from any model. The code contains the differential equations that describe the model dynamics, and a solver. Moreover, the code is royalty-free, and can be used in any simulation tool (or development project) that accepts external code. VisSim is a signal-flow simulation tool with strength in embedded systems programming, real-time data acquisition and OPC. This document will describe the steps required to • Generate C code from a MapleSim model of a DC Motor. The C code will contain a solver. • Implement the C code in a simulation DLL for VisSim. VisSim provides a DLL Wizard that sets up a Visual Studio C project for a simulation DLL. MapleSim code will be copied into this project. After a few modifications, the project will be compiled to a DLL. The DLL can then be used as a block in a VisSim simulation. The techniques demonstrated in this document can used to implement MapleSim code in any other environment. MapleSim’s royalty -free C code can be implemented in other modeling environment s, such as VisSim MapleSim’s C code can also be used in Mathcad 2 API for the Maplesim Code The C code generated by MapleSim contains four significant functions. • SolverSetup(t0, *ic, *u, *p, *y, h, *S) • SolverStep(*u, *S) where SolverStep is EulerStep, RK2Step, RK3Step or RK4Step • SolverUpdate(*u, *p, first, internal, *S) • SolverOutputs(*y, *S) u are the inputs, p are subsystem parameters (i.e. variables defined in a subsystem mask), ic are the initial conditions, y are the outputs, t0 is the initial time, and h is the time step.
    [Show full text]
  • Filename Extensions
    Filename Extensions Generated 22 February 1999 from Filex database with 3240 items. ! # $ & ) 0 1 2 3 4 6 7 8 9 @ S Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z ~ • ! .!!! Usually README file # .### Compressed volume file (DoubleSpace) .### Temp file (QTIC) .#24 Printer data file for 24 pin matrix printer (LocoScript) .#gf Font file (MetaFont) .#ib Printer data file (LocoScript) .#sc Printer data file (LocoScript) .#st Standard mode printer definitions (LocoScript) $ .$$$ Temporary file .$$f Database (OS/2) .$$p Notes (OS/2) .$$s Spreadsheet (OS/2) .$00 Pipe file (DOS) .$1 ZX Spectrum file in HOBETA format .$d$ Data (OS/2 Planner) .$db Temporary file (dBASE IV) .$ed Editor temporary file (MS C) .$ln TLink response file (Borland C++) .$o1 Pipe file (DOS) .$vm Virtual manager temporary file (Windows 3.x) & .&&& Temporary file ) .)2( LHA archiver temporary file (LHA) 0 .0 Compressed harddisk data (DoubleSpace) .000 Common filename extension (GEOS) .000 Compressed harddisk data (DoubleSpace) .001 Fax (Hayes JT FAX) (many) .075 75x75 dpi display font (Ventura Publisher) .085 85x85 dpi display font (Ventura Publisher) .091 91x91 dpi display font (Ventura Publisher) .096 96x96 dpi display font (Ventura Publisher) .0b Printer font with lineDraw extended character set (PageMaker) 1 .1 Unformatted manual page (Roff/nroff/troff/groff) .10x Bitmap graphics (Gemini 10x printer graphics file) .123 Data (Lotus123 97) .12m Smartmaster file (Lotus123 97) .15u Printer font with PI font set (PageMaker) .1st Usually README.1ST text 2 .24b Bitmap
    [Show full text]
  • A Comparison of Software Engines for Simulation of Closed-Loop Control Systems
    New Jersey Institute of Technology Digital Commons @ NJIT Theses Electronic Theses and Dissertations Spring 5-31-2010 A comparison of software engines for simulation of closed-loop control systems Sanket D. Nikam New Jersey Institute of Technology Follow this and additional works at: https://digitalcommons.njit.edu/theses Part of the Electrical and Electronics Commons Recommended Citation Nikam, Sanket D., "A comparison of software engines for simulation of closed-loop control systems" (2010). Theses. 68. https://digitalcommons.njit.edu/theses/68 This Thesis is brought to you for free and open access by the Electronic Theses and Dissertations at Digital Commons @ NJIT. It has been accepted for inclusion in Theses by an authorized administrator of Digital Commons @ NJIT. For more information, please contact [email protected]. Cprht Wrnn & trtn h prht l f th Untd Stt (tl , Untd Stt Cd vrn th n f phtp r thr rprdtn f prhtd trl. Undr rtn ndtn pfd n th l, lbrr nd rhv r thrzd t frnh phtp r thr rprdtn. On f th pfd ndtn tht th phtp r rprdtn nt t b “d fr n prp thr thn prvt td, hlrhp, r rrh. If , r rt fr, r ltr , phtp r rprdtn fr prp n x f “fr tht r b lbl fr prht nfrnnt, h ntttn rrv th rht t rf t pt pn rdr f, n t jdnt, flfllnt f th rdr ld nvlv vltn f prht l. l t: h thr rtn th prht hl th r Inttt f hnl rrv th rht t dtrbt th th r drttn rntn nt: If d nt h t prnt th p, thn lt “ fr: frt p t: lt p n th prnt dl rn h n tn lbrr h rvd f th prnl nfrtn nd ll ntr fr th pprvl p nd brphl th f th nd drttn n rdr t prtt th dntt f I rdt nd flt.
    [Show full text]
  • Methods and Software Tools for Estuary Behavioural System Simulation DRAFT V1.5
    FD2117 EstSim Project Report 3 Methods and software tools for estuary behavioural system simulation DRAFT v1.5 Methods and software tools for estuary behavioural system simulation Defra/Environment Agency Flood and Coastal defence R&D Programme-FD 2117 Project Report 4 Jon French Helene Burningham DRAFT August 2006 University College London 1 FD2117 EstSim Project Report 3 Methods and software tools for estuary behavioural system simulation DRAFT v1.5 CONTENTS 1. Introduction 2. Qualitative modelling of estuary system behaviour 3. Computational basis of qualitative behavioural system models 3.1 General issues 3.2 Boolean network formulation 4. Software platforms for behavioural estuary system modelling 4.1 Specialised system simulation packages 4.2 Numerical analysis and visualisation packages 5. Alternative architectures for an EstSim software tool 6. Boolean network based estuary behavioural system modelling 6.1 System diagram definition and specification of Boolean functions 6.2 Further development of Boolean network model 6.3 Simulation of generic estuary types 6.4 Statistical properties of generic estuary systems 6.5 EstSim Boolean model applied to historic change in the Ribble estuary 6.6 Towards the development of a GUI-based tool 7. Conclusions and recommendations References Appendix 1: GUI based dynamics system simulation software product overview Appendix 2: Numerical computation and visualisation software product overview Appendix 3: Geomorphological understanding incorporated into Boolean functions Appendix 4: Main morphological components for EstSim generic estuary types Appendix 5: Example of steering file format for prototype simulator 2 FD2117 EstSim Project Report 3 Methods and software tools for estuary behavioural system simulation DRAFT v1.5 1.
    [Show full text]
  • Optimisation of the Simulated Interaction Between Pedestrians and Vehicles
    Optimisation of the simulated interaction between pedestrians and vehicles A comparative study between using conflict areas and priority rule in Vissim Master’s thesis in the Master´s Programme Infrastructure and Environmental Engineering LINA DAHLBERG MATILDA SEGERNÄS Department of Civil and Environmental Engineering Division of GeoEngineering Research group Road and Traffic CHALMERS UNIVERSITY OF TECHNOLOGY Master´s Thesis BOMX02-17-5 Gothenburg, Sweden 2017 MASTER’S THESIS BOMX02-17-5 Optimisation of the simulated interaction between pedestrians and vehicles A comparative study between using conflict areas and priority rule in Vissim Master’s thesis in the Master´s Programme Infrastructure and Environmental Engineering LINA DAHLBERG MATILDA SEGERNÄS Department of Civil and Environmental Engineering Division of GeoEngineering Research Group Road and Traffic CHALMERS UNIVERSITY OF TECHNOLOGY Gothenburg, Sweden 2017 Optimisation of the simulated interaction between pedestrians and vehicles A comparative study between using conflict areas and priority rule in Vissim Master’s Thesis in the Master´s Programme Infrastructure and Environmental Engineering LINA DAHLBERG MATILDA SEGERNÄS © LINA DAHLBERG & MATILDA SEGERNÄS, 2017 Examensarbete BOMX02-17-5/ Institutionen för bygg- och miljöteknik, Chalmers tekniska högskola 2017 Department of Civil and Environmental Engineering Division of GeoEngineering Research Group Road and Traffic Chalmers University of Technology SE-412 96 Göteborg Sweden Telephone + 46 (0)31-772 1000 Department of Civil
    [Show full text]
  • BTS Technology Standards Directory
    BTS Technology Standards Directory Technology Standards Directory City of Portland, Oregon Bureau of Technology Services Summer 2021 Adopted September 14, 2021 Updated September 20, 2021 BTS Infrastructure Board Page 1 Summer 2021 Adopted 9/14/2021 V1.1 9/20/2021 BTS Technology Standards Directory Table of Contents 37. Operational Support Tools .................... 47 Introduction .............................................. 4 38. Project Management Tools ................... 49 Standards ...................................................... 4 39. Radio / Ham Radio ................................ 50 Security .......................................................... 4 40. Server Base Software ........................... 50 Exception to Standards.................................. 5 41. Source Code Control System ............... 51 Standard Classification .................................. 5 42. Telecommunications ............................. 51 Support Model ............................................... 6 43. Web Tools ............................................. 52 Energy Efficiency ........................................... 8 44. Workstation Software ............................ 53 BTS Standard Owner ..................................... 8 BTS Standards Setting Process .................... 9 Security Technology Standards ............56 ADA Assistive Technologies ........................ 10 45. Authentication ....................................... 56 46. Encryption ............................................. 56 Hardware Standards
    [Show full text]
  • Vissim User's Guide
    Version 8.0 VisSim User's Guide By Visual Solutions, Inc. Visual Solutions, Inc. VisSim User's Guide Version 8.0 Copyright © 2010 Visual Solutions, Inc. Visual Solutions, Inc. All rights reserved. 487 Groton Road Westford, MA 01886 Trademarks VisSim, VisSim/Analyze, VisSim/CAN, VisSim/C-Code, VisSim/C- Code Support Library source, VisSim/Comm, VisSim/Comm C-Code, VisSim/Comm Red Rapids, VisSim/Comm Turbo Codes, VisSim/Comm Wireless LAN, VisSim/Fixed-Point, VisSim/Knobs & Gauges, VisSim/Model-Wizard, VisSim/Motion, VisSim/Neural-Net, VisSim/OPC, VisSim/OptimzePRO, VisSim/Real-TimePRO, VisSim/State Charts, VisSim/Serial, VisSim/UDP, VisSim Viewer,and flexWires are trademarks of Visual Solutions. All other products mentioned in this manual are trademarks or registered trademarks of their respective manufacturers. Copyright and use The information in this manual is subject to change without notice and restrictions does not represent a commitment by Visual Solutions. Visual Solutions does not assume any responsibility for errors that may appear in this document. No part of this manual may be reprinted or reproduced or utilized in any form or by any electronic, mechanical, or other means without permission in writing from Visual Solutions. The Software may not be copied or reproduced in any form, except as stated in the terms of the Software License Agreement. Acknowledgements The following engineers contributed significantly to preparation of this manual: Mike Borrello, Allan Corbeil, and Richard Kolk. Contents Introduction 1 What is VisSim.........................................................................................................................
    [Show full text]
  • Msc Thesis Stefan Klomp
    SUMMARY !"#$%&'(#!%" Congestion numbers are rising in the Netherlands. This leads to more travel time losses, increased pollution and increased safety risks. Thus, increased congestion leads to more social costs. Therefore, reducing congestion is desirable from a policy perspective. Reducing congestion levels can be done in several ways. For example, efforts can be made to reduce road traffic demand. However, this proves to be difficult. Moreover, technology improvements in the connected and automatic vehicle sector might solve various congestion problems. Unfortunately, it is very questionable if and when these vehicles will have a high penetration rate on the roads. This could easily be decades from now. Therefore, this is not the solution to reduce congestion right now and any futuristic technologies are not considered in this research. Besides the solution directions mentioned above, dynamic traffic management systems try to mitigate congestion levels as well. There are several alternative dynamic traffic management solutions, but most of them rely heavily on the compliance of drivers on advisory messages, either en-route or before the route has been determined. A dynamic traffic management alternative that does not rely on the compliance rate as much, is the ramp metering installations alternative. Ramp metering installations try to prevent congestion on the main lane by controlling the flow of on-ramp vehicles merging onto the main lane. In various scientific studies, ramp metering installations have found to be effective. Mostly, the current ramp metering control concepts can delay congestion to emerge for approximately 15 minutes by cutting up platoons (groups) of merging vehicles into single merging vehicles.
    [Show full text]
  • Software Filter Your Category
    The Largest List Under One Roof Software Filter Your Category 3DM Export for SolidWorks 1.0 CAD & 3D CAD Drafting Softwares 3D-SHAPE.3DViewer.v1.50 CAD & 3D CAD Drafting Softwares ACAD MECHANICAL 2008 CAD & 3D CAD Drafting Softwares ANSYS PRODUCTS V11 SP1 WIN64 CAD & 3D CAD Drafting Softwares AutoDesk AutoCAD R14 2000 CAD & 3D CAD Drafting Softwares AutoDesk AutoCAD 2002 CAD & 3D CAD Drafting Softwares AutoDesk AutoCAD 2005 CAD & 3D CAD Drafting Softwares AutoDesk AutoCAD 2007 CAD & 3D CAD Drafting Softwares Autocad Structural Detailing CAD & 3D CAD Drafting Softwares AutoCad Symbols Library CAD & 3D CAD Drafting Softwares AutoDesk AutoCAD 2006 CAD & 3D CAD Drafting Softwares Autodesk Autocad Mechanical Desktop v2009 CAD & 3D CAD Drafting Softwares AUTODESK AUTOCAD RASTER DESIGN V2009 CAD & 3D CAD Drafting Softwares AUTODESK INVENTOR PRO V2008 CAD & 3D CAD Drafting Softwares Autodesk MapGuide Enterprise v2009 CAD & 3D CAD Drafting Softwares Autodesk MudBox 2009 32Bit CAD & 3D CAD Drafting Softwares Autodesk Productstream Professional v2009 CAD & 3D CAD Drafting Softwares Autodesk AutoCAD 2000i CAD & 3D CAD Drafting Softwares AutoDesk AutoCAD 2008 CAD & 3D CAD Drafting Softwares Autodesk AutoCAD LT 2009 CAD & 3D CAD Drafting Softwares Autodesk Autocad Mechanical 2009 CAD & 3D CAD Drafting Softwares Autodesk AutoSketch 2 CAD & 3D CAD Drafting Softwares Autodesk Impression R1 CAD & 3D CAD Drafting Softwares AutoDesk Inventor 7 CAD & 3D CAD Drafting Softwares Autodesk Inventor 10 CAD & 3D CAD Drafting Softwares AutoDesk Inventor 11 CAD &
    [Show full text]
  • A Review of Software for Crowd Simulation
    A REVIEW OF SOFTWARE FOR CROWD SIMULATION Author: Thomas Richards, Data Science Intern, Leeds Institute for Data Science (LIDA), University of Leeds. AIM To review a number of different software libraries and platforms that can be used to create agent- based pedestrian simulations, in particular to find a library that will allow us to use data assimilation to update the state of the model at runtime. METHOD Search Google, GitHub, SourceForge, Wikipedia etc, and personal suggestions/recommendations. Priorities are software which: 1. able to run agent-based pedestrian simulations; 2. is open source; 3. is modular/accessible; 4. Allows run-time intervention (e.g. to add, change, remove agents whilst simulation is running); 4. uses a language popular with the research team, namely Python and/or Java. Software that have not been updated or appear to be no longer supported, have no documentation, or are unsuitable have been included in the list so that there is a record they have been checked but may not include much detail. Sections for software which was not short listed may be incomplete. RESULTS Models are given a rating out of three *’s. Note that these ratings indicate the suitability of the software for the research project. They are not a general assessment of the quality of the software; we do not suggest that a library with a high rating is inherently better than one with a low rating, just that it may be more suitable for use in the DUST project. If the authors of the software would like us to amend any inaccuracies or errors with respect to their software we will be happy to.
    [Show full text]
  • A Practical Manual for Vissim COM Programming in Matlab
    If you find this manual useful, please, cite this paper: https://doi.org/10.3311/pp.ci.2012-1.05 A practical manual for Vissim COM programming in Matlab 3rd edition for Vissim version 9 and 10 Tamás Tettamanti, Márton Tamás Horváth Budapest University of Technology and Economics Dept. for Control of Transportation and Vehicle Systems www.traffic.bme.hu 2018 If you find this manual useful, please, cite this paper: https://doi.org/10.3311/pp.ci.2012-1.05 1. Vissim traffic simulation via COM interface programming 1.1. The purpose of Vissim-COM programming Vissim is a microscopic road traffic simulator based on the individual behavior of vehicles. The goal of the microscopic modeling approach is the accurate description of the traffic dynamics. Thus, the simulated traffic network may be analyzed in detail. The simulator uses the so-called psycho-physical driver behavior model developed originally by Wiedemann (1974). Vissim is widely used for diverse problems by traffic engineers in practice as well as by researchers for developments related to road traffic. Vissim offers a user friendly graphical interface (GUI) through of which one can design the geometry of any type of road networks and set up simulations in a simple way. However, for several problems the GUI is not satisfying. This is the case, for example, when the user aims to access and manipulate Vissim objects during the simulation dynamically. For this end, an additional interface is offered based on the COM which is a technology to enable interprocess communication between software (Box, 1998). The Vissim COM interface defines a hierarchical model in which the functions and parameters of the simulator originally provided by the GUI can be manipulated by programming.
    [Show full text]