You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agent based simulation of ship movements between ports, using dynamic window routing path finding, with support for speed restrictions.
4
+
5
+

6
+
7
+
## Installation
8
+
9
+
10
+
```bash
11
+
pip install mesa==2.4.0 shapely movingpandas
12
+
```
13
+
14
+
## Components
15
+
16
+
### Agents
17
+
18
+
* Ports (`agents/port.py`) ... Fixed locations in the simulation space that serve as start and end points for ship trips
19
+
* Ships (`agents/ship.py`) ... Ships travel from an origin port to a destination port using their desired speed. They use path finding based on dynamic window routing(`dynamic_window_approach.py`) and A* routing (`a_star.py`).
20
+
* Obstacle (`agents/obstacle.py`) ... Areas that ships avoid.
21
+
22
+
### Model
23
+
24
+
* The ShipModel (`model.py`) initializes the simulation based on the configuration (`config/config.json`) and runs it.
25
+
26
+
## Documentation
27
+
28
+
Usage examples are provided in the `ships.ipynb` notebook, including simulation of vessel movements and generation of synthetic movement anomalies.
29
+
30
+
## Acknowledgements
31
+
32
+
This work was supported in part by the Horizon Framework Programme of the European Union under grant agreement No. 101070279 ([MobiSpaces](https://mobispaces.eu)).
0 commit comments