Comments (7)
---------- Forwarded message ----------
From: Nagel Kai
Date: 12 December 2017 at 10:45
Subject: Bradford
To: Dhirendra Singh
Dear Dhirendra,
I should have sent this email before the other one.
They are always taking the "long" route, even before the fire is there. See below.
Reason is that your "secondary" road have speed 16.66 (=60km/h), while your tertiary roads have speed 27.77 (=100km/h). (The "unclassified" roads, which again one level below that, have 12.5 (=45km/h).)
We had originally not really defined the base road characteristics of our OSM reader, assuming that they would vary from region to region anyways. As is typical, everybody was and is just using the default values. Some of us have now tried to put in some more reasonable default values. Maybe you want to re-import your networks at some point, with the newest MATSim OSMReader.
I have actually seen more weirdnesses in your network, such as links with speed infinity (am setting those to a speed of 9999999999. in MATSimModel to make the router work).
Am "correcting" it in various ways inside matsimmodel, but maybe at some point you may want to clean up your input data.
Best wishes
Kai
from bdi-abm-integration.
Should also change the scenarios/tests to link to a single network file so that it is then easier to update it in the one place. Right now each scenario saves its own copy. Raised #9 for this.
from bdi-abm-integration.
Commit b9cc923 contains the updated network file mount_alexander_shire_network_20180206.xml.gz, that was created as follows:
osmosis --rb file=AU.pbf --bounding-box top=-36.8758 left=143.8344 bottom=-37.2762 right=144.5533 completeWays=true --used-node --wb mas-allroads.osm.pbf
osmosis --rb file=AU.pbf --bounding-box top=-33.184 left=138.208 bottom=-39.215 right=151.776 --tf accept-ways highway=motorway,motorway_link,trunk,trunk_link,primary,primary_link --used-node --wb mas-bigroads.osm.pbf
osmosis --rb file=mas-allroads.osm.pbf --rb file=mas-bigroads.osm.pbf --merge --wx mas-merged-network.osm
mvn exec:java -Dexec.mainClass="io.github.agentsoz.util.NetworkGenerator" -Dexec.args="-i ./scenarios/mount-alexander-shire/mas-merged-network.osm -o ./scenarios/mount-alexander-shire/mount_alexander_shire_network_20180206.xml"
Tests have not been updated to use this yet, as the link IDs have all changed and the network change event files used by tests will no longer work. Probably easiest is to just remove the network change event files, and after visual inspection, accept the new results one by one.
from bdi-abm-integration.
Commit 91ed456 contains as updated file mount_alexander_shire_network_2018.xml.gz with the Mount Alexander Shire MATSim network. There is also a new script create-mas-network.sh that automates the process.
from bdi-abm-integration.
Note the OpenStreetMap recommendation for tagging in Australia.
Also, the current recommended maxspeed
defaults for Australia are reproduced below.
highway=motorway - 100 km/h usually, 110 km/h only where sign-posted
highway=primary - 80 to 90 km/h
highway=secondary - 50 to 70 km/h
highway=tertiary - 50 km/h
highway=residential - 50 km/h, usually 40 km/h in school zones
These should be reflected in NetworkGenerator
that currently has:
from bdi-abm-integration.
Since 2804a23 Maldon100WithEmergencyVehiclesTest
uses the new network. Will raise a separate issue for updating other tests as needed.
from bdi-abm-integration.
Attached are some views of the final network. Colours represent freespeed:
110 km/h
is dark blue90-100 km/h
is light blue60-80 km/hr
is yellow50 km/h
and lower is red
Here is the full extent of the new network:
Here is the same network zoomed into the area of detail:
Some issues in the underlying OSM network are evident. In the zoomed view, the patch of blue roads in the top left (west of Bendigo), suggests inconsistencies in mapping data--those roads have been tagged with a speed limit of ``100 km/h` whereas other likely similar nearby roads are not. The extent of the problems is not clear and requires further investigation.
Mount Alexander Shire Municipal Fire Management Planning Committee is aware of the OSM issues, and till such that that we can commit resources to investigating these further, we will accept this network for ongoing work.
from bdi-abm-integration.
Related Issues (20)
- Allow committed BDI driveTo actions to be aborted HOT 1
- Improve destination choice for leave now behaviour HOT 2
- Set attributes for each agent during initialisation (plan algorithm) HOT 2
- Fix location choice to be based on localities, not distances HOT 2
- Select dependent location based on locality HOT 2
- Update BDI agent attributes HOT 5
- Include fire front in disruption model HOT 1
- Awareness of distance from fire HOT 1
- Time buffer before acting HOT 1
- Create new staged evacuation test for Anglesea HOT 2
- SurfCoastShirePopulationSubgroupsTest does not run to completion HOT 1
- Agents skipping initial response HOT 7
- Double evacuations HOT 1
- Move evacuation code from BDI-MATSim integration to EES application HOT 1
- How to modify MATSim plans HOT 3
- How are the new routers set up? HOT 1
- Migrate to AgentDataContainer V2
- Update bdi-matsim to use MATSim 12.0
- abm-jadex layer compile failure HOT 4
- Getting the total distance of a trip from Matsim
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bdi-abm-integration.