Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MoST scenario #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gen/MoSTScenario/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.log
out/*
5 changes: 5 additions & 0 deletions gen/MoSTScenario/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contributors

- Lara CODECA:
- EURECOM: from June 2017 until May 2019 this project was partially funded by the French Government (National Research Agency, ANR) through the 'Investments for the Future', ref. #ANR-11-LABX-0031-01
- Trinity College Dublin: from July 2019 this project was partially funded by the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No. 713567, and ENABLE, which is funded under Science Foundation Ireland (16/SP/3804) and is co-funded under the European Regional Development Fund.
674 changes: 674 additions & 0 deletions gen/MoSTScenario/LICENSE.md

Large diffs are not rendered by default.

Binary file added gen/MoSTScenario/MoSTScenario.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
183 changes: 183 additions & 0 deletions gen/MoSTScenario/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
# Monaco SUMO Traffic (MoST) Scenario

Contacts: Lara CODECA [[email protected]], Jerome HAERRI [[email protected]]

This project is licensed under the terms of the GPLv3 license.

MoST Scenario is meant to be used with SUMO (Simulator of Urban MObility).

* The master is tested with the development version of [SUMO](https://github.com/eclipse/sumo)
* The released versions have been tested with [SUMO 1.0.1](https://github.com/eclipse/sumo/tree/v1_0_1), [SUMO 1.1.0](https://github.com/eclipse/sumo/tree/v1_1_0), and [SUMO 1.2.0](https://github.com/eclipse/sumo/tree/v1_2_0).
* In case there are problems with multi-threading, check that [Issue #4518](https://github.com/eclipse/sumo/issues/4518) has been solved in your target version.

Please refer to the [SUMO wiki](http://sumo.dlr.de/wiki/Simulation_of_Urban_MObility_-_Wiki) for further information on the simulator itself.

## How to cite it: [BibTeX](cite.bib)

L. Codeca, J. Härri,
*"Towards Multimodal Mobility Simulation of C-ITS: The Monaco SUMO Traffic Scenario"*
VNC 2017, IEEE Vehicular Networking Conference
November 27-29, 2017, Torino, Italy.

or

L. Codeca, J. Härri,
*"Monaco SUMO Traffic (MoST) Scenario: A 3D Mobility Scenario for Cooperative ITS"*
SUMO 2018, SUMO User Conference, Simulating Autonomous and Intermodal Transport Systems
May 14-16, 2018, Berlin, Germany

## How To

MoST Scenario can be lunched directly with its configuration file.

* `sumo -c most.sumocfg` or `run.sh` from the _scenario_ folder.

See [tools HOWTO](tools/HOWTO.md) for further details on how to chance and rebuild the scenario.

### Overview

![MoST Scenario Overview](MoSTScenario.png)

### Mobility Example

[![Mobility Example](https://img.youtube.com/vi/nFVhodnJKws/0.jpg)](https://www.youtube.com/watch?v=nFVhodnJKws)
(click on the image for the video)

### Traffic Light Example

[![Traffic Light Example](https://img.youtube.com/vi/Wwp_riSsLAs/0.jpg)](https://www.youtube.com/watch?v=Wwp_riSsLAs)
(click on the image for the video)

### Public Transportation Example

[![Public Transportation Example](https://img.youtube.com/vi/r7iE3LRiSNA/0.jpg)](https://www.youtube.com/watch?v=r7iE3LRiSNA)
(click on the image for the video)

## The master is tested with

### Eclipse SUMO Version 1.3.1

(Build features: Linux-5.0.0-25-generic x86_64 GNU 8.3.0 Release Proj GUI GDAL FFmpeg GL2PS SWIG)

```
Performance:
Duration: 3614643ms
Real time factor: 9.95949
UPS: 335528.498942
Vehicles:
Inserted: 46842
Running: 31
Waiting: 0
Teleports: 733 (Jam: 322, Yield: 286, Wrong Lane: 125)
Emergency Stops: 11
Persons:
Inserted: 45000
Running: 25
Jammed: 1378
Statistics (avg):
RouteLength: 6962.24
Duration: 6476.63
WaitingTime: 101.71
TimeLoss: 232.06
DepartDelay: 0.81
Pedestrian Statistics (avg of 31422 walks):
RouteLength: 452.56
Duration: 384.19
TimeLoss: 54.32
Ride Statistics (avg of 45217 rides):
WaitingTime: 45.33
RouteLength: 6184.19
Duration: 709.95
Bus: 5967
Train: 0
Bike: 3455
Aborted: 0
```

### [Release v0.6](https://github.com/lcodeca/MoSTScenario/releases/tag/v0.6) is tested with:

#### Eclipse SUMO Version 1.2.0

(Build features: Linux-4.19.0-4-amd64 x86_64 GNU 8.3.0 Release Proj GUI GDAL FFmpeg OSG GL2PS SWIG)

```
Performance:
Duration: 8071937ms
Real time factor: 4.4599
UPS: 151124.323691
Vehicles:
Inserted: 46809 (Loaded: 46810)
Running: 31
Waiting: 0
Teleports: 1151 (Jam: 462, Yield: 504, Wrong Lane: 185)
Emergency Stops: 6
Persons:
Inserted: 45000
Running: 0
Jammed: 1260
Statistics (avg):
RouteLength: ... TBD
Duration: 6518.88
WaitingTime: 130.35
TimeLoss: 268.94
DepartDelay: 0.83
Pedestrian Statistics (avg of 31495 walks):
RouteLength: 447.76
Duration: 381.52
TimeLoss: 54.46
Ride Statistics (avg of 45362 rides):
WaitingTime: 50.99
RouteLength: 6237.22
Duration: 750.87
Bus: 6131
Train: 1
Bike: 3395
Aborted: 0
```

#### Eclipse SUMO Version 1.1.0

(Build features: Linux-4.19.0-4-amd64 x86_64 GNU 8.3.0 Release Proj GUI GDAL FFmpeg OSG GL2PS SWIG)

```
Performance:
Duration: 7509321ms
Real time factor: 4.79404
UPS: 162345.771475
Vehicles:
Inserted: 46810
Running: 31
Waiting: 0
Teleports: 566 (Jam: 182, Yield: 275, Wrong Lane: 109)
Emergency Stops: 12
Persons:
Inserted: 45000
Running: 0
Jammed: 793
Statistics (avg):
RouteLength: 7474.31
Duration: 6514.68
WaitingTime: 85.81
TimeLoss: 217.45
DepartDelay: 0.57
Pedestrian Statistics (avg of 31495 walks):
RouteLength: 342.99
Duration: 292.18
TimeLoss: 41.27
Ride Statistics (avg of 45362 rides):
WaitingTime: 48.07
RouteLength: 6640.66
Duration: 735.61
Bus: 6131
Train: 1
Bike: 3395
Aborted: 0
```

### Users

* Vincent Terrier, Aerospace System Design Laboratory, Georgia Institute of Technology, Atlanta, GA 30332-0105
* Tianshu Chu, Civil and Environmental Engineering, Stanford University

If you are using MoST Scenario, or its tools to generate a new one, we would gladly add you to the list.
You can send an e-mail to [email protected] with your name and affiliation (if any).
18 changes: 18 additions & 0 deletions gen/MoSTScenario/cite.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@inproceedings{MoSTCodeca2017,
doi = {http://dx.doi.org/10.1109/VNC.2017.8275627},
year = {2017},
title = {{T}owards multimodal mobility simulation of {C}-{ITS}: {T}he {M}onaco {SUMO} traffic scenario},
author = {{C}odeca, {L}ara and {H}{\"a}rri, {J}{\'e}r{\^o}me},
booktitle = {{VNC} 2017, {IEEE} {V}ehicular {N}etworking {C}onference, {N}ovember 27-29, 2017, {T}orino, {I}taly },
address = {{T}orino, {ITALY}},
month = {11}
}

@inproceedings{MoSTCodeca2018,
year = {2018},
title = {{M}onaco {SUMO} {T}raffic ({M}o{ST}) {S}cenario: {A} 3{D} {M}obility {S}cenario for {C}ooperative {ITS}},
author = {{C}odeca, {L}ara and {H}{\"a}rri, {J}{\'e}r{\^o}me},
booktitle = {{SUMO} 2018, {SUMO} {U}ser {C}onference, {S}imulating {A}utonomous and {I}ntermodal {T}ransport {S}ystems, {M}ay 14-16, 2018, {B}erlin, {G}ermany},
address = {{B}erlin, {GERMANY}},
month = {05}
}
75 changes: 75 additions & 0 deletions gen/MoSTScenario/scenario/in/add/basic.vType.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!--
Monaco SUMO Traffic (MoST) Scenario
Copyright (C) 2019
Lara CODECA
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<routes>
<!-- Public Transports -->
<vType vClass="bus" id="bus" personCapacity="50" latAlignment="center" tau="0.5" speedDev="0.1" lcCooperative="0.0">
<param key="has.rerouting.device" value="false"/>
</vType>
<vType vClass="rail" id="train" personCapacity="500">
<param key="has.rerouting.device" value="false"/>
</vType>

<vTypeDistribution id="on-demand">
<vType vClass="taxi" id="taxi" personCapacity="4" latAlignment="center" probability=".50" tau="0.5" speedDev="0.1"/>
<vType vClass="passenger" id="uber" personCapacity="8" latAlignment="center" probability=".50" tau="0.5" speedDev="0.1"/>
</vTypeDistribution>

<!-- Vulnerable Road Users -->
<vTypeDistribution id="pedestrian">
<vType vClass="pedestrian" id="slowpedestrian" maxSpeed="1.0" latAlignment="compact" probability=".33"/>
<vType vClass="pedestrian" id="avgpedestrian" maxSpeed="1.5" latAlignment="compact" probability=".33"/>
<vType vClass="pedestrian" id="fastpedestrian" maxSpeed="2.0" latAlignment="compact" probability=".33"/>
</vTypeDistribution>
<vTypeDistribution id="bicycle">
<vType vClass="bicycle" id="slowbicycle" maxSpeed="4.2" latAlignment="compact" probability=".33"/>
<vType vClass="bicycle" id="avgbicycle" maxSpeed="5.5" latAlignment="compact" probability=".33"/>
<vType vClass="bicycle" id="fastbicycle" maxSpeed="6.9" latAlignment="compact" probability=".33"/>
</vTypeDistribution>

<!-- Normal vehicles -->
<vTypeDistribution id="ptw">
<vType vClass="motorcycle" id="motorcycle" personCapacity="2" latAlignment="arbitrary" lcPushy="1.0" minGapLat="0.5" probability=".70" tau="0.5" speedDev="0.1"/>
<vType vClass="moped" id="moped" personCapacity="1" latAlignment="arbitrary" lcPushy="1.0" minGapLat="0.5" probability=".30" tau="0.5" speedDev="0.1"/>
</vTypeDistribution>
<vTypeDistribution id="passenger">
<vType vClass="passenger" id="passenger1" personCapacity="4" latAlignment="center" sigma="0.25" probability=".20" tau="0.5" speedDev="0.1" guiShape="passenger"/>
<vType vClass="passenger" id="passenger2a" personCapacity="4" latAlignment="center" sigma="0.30" probability=".20" tau="0.5" speedDev="0.1" guiShape="passenger/sedan"/>
<vType vClass="passenger" id="passenger2b" personCapacity="4" latAlignment="center" sigma="0.35" probability=".20" tau="0.5" speedDev="0.1" guiShape="passenger/hatchback"/>
<vType vClass="passenger" id="passenger3" personCapacity="6" latAlignment="center" sigma="0.40" probability=".20" tau="0.5" speedDev="0.1" guiShape="passenger/wagon"/>
<vType vClass="passenger" id="passenger4" personCapacity="6" latAlignment="center" sigma="0.50" probability=".20" tau="0.5" speedDev="0.1" guiShape="passenger/van"/>
</vTypeDistribution>

<!-- Special vehicles -->
<vTypeDistribution id="special">
<vType vClass="emergency" id="emergency" latAlignment="center" probability=".60" tau="0.5" speedDev="0.1"/>
<vType vClass="authority" id="authority" latAlignment="center" probability=".39" tau="0.5" speedDev="0.1"/>
<vType vClass="army" id="army" latAlignment="center" probability=".01" tau="0.5" speedDev="0.1"/>
</vTypeDistribution>

<!-- Other vehicles -->
<vTypeDistribution id="commercial">
<vType vClass="delivery" id="delivery" containerCapacity="15" latAlignment="center" probability=".75" tau="0.5" speedDev="0.1" lcCooperative="0.0"/>
<vType vClass="truck" id="truck" containerCapacity="5" latAlignment="center" probability=".05" tau="0.5" speedDev="0.1" lcCooperative="0.0"/>
<vType vClass="trailer" id="trailer" containerCapacity="5" latAlignment="center" probability=".10" tau="0.5" speedDev="0.1" lcCooperative="0.0"/>
<vType vClass="coach" id="coach" containerCapacity="50" latAlignment="center" probability=".10" tau="0.5" speedDev="0.1" lcCooperative="0.0"/>
</vTypeDistribution>

<vType vClass="evehicle" id="evehicle" personCapacity="4" latAlignment="center" tau="0.5" speedDev="0.1"/>
</routes>
Loading