Skip to content

pszufe/OpenStreetMapXDES.jl

Repository files navigation

OpenStreetMapXDES.jl

Discrite event simulator for OpenStreetMapX.jl

The goal of this package is to provide a mechanism for multi-agent simulation of cities.

Documentation Build Status
Build Status Coverage Status
Linux and macOS

Documentation

  • DEVdocumentation of the development version.

Installation

The current version uses Julia 1.0

using Pkg
Pkg.add("OpenStreetMapX")
Pkg.add(PackageSpec(url="https://github.com/pszufe/OpenStreetMapXDES.jl"))

Note that on Linux platform you need to separately install libexpat used by OpenStreetMapX.

Usage

N = 100;
iter = 1;
λ_ind = 0.4;
λ_soc = 0.2;
l = 5.0;

map_data = OpenStreetMapX.get_map_data(datapath, mapfile);
sim_data = get_sim_data(map_data,N,l);
					
@time run_simulation!(sim_data, 
                λ_ind,
                λ_soc,
                iter)

About

Discrete event simulation for spatial data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published