-
Notifications
You must be signed in to change notification settings - Fork 7
Home
You don't need to write any line of code to be able to run the model (though your contribution is always welcome), here are the 3 mandatory steps in order to run the ABM Proxymix on your specific sites. If one of the 3 following step doesn't work please report an issue here
To be compatible with the ABM framework, ones needs to create a dxf file of the site that needs to respect the following items
-
Create the file
includes/MY_NEW_SITE/building.dxf
where MY_NEW_SITE is the name of your site (e.g MediaLab, UDG, Andorra, etc) -
A compatible dxf should specify at least the 4 following layers as closed polylines: "Walls";"Entrance";"Offices" or "Meeting rooms";
-
Make sure that units are in cm;
Note: Depending on your version of AutoCad it might work or not (the layer name might be store with Capital letter), we recommend to save it in a version lower than 2018.
- Open
models/ToolKit/DXF_Validator.gaml
- Specify your dataset in the
useCase
in theValidatedDXF
experiment
experiment ValidatedDXF type: gui
{
parameter 'fileName:' var: useCase category: 'file' <- "MY_NEW_SITE";
output
{
....
}
}
- Run the ValidatedDXF
- An error pop up wil show up if some elements are missing of if there are useless ones
- Press
Ok
- The dxf file is finally displayed in a
map
window
Ones your dxf file is ready its now time to run the ABM model.
- Open
generate_pedestrian_network.gaml
- Specify the right use case
string useCase <- "MY_USE_CASE";
- Run
generate_pedestrian_network
experiment. In case of succes it will automatically create the corresponding pedestrian_path.shp and walking_area.shp in the MY_USE_CASE folder.
Ones the pedestrian path has been generated the model is now ready to run
- Open
models/Current Models/DailyRoutine.gaml
- Specify your use case
parameter 'fileName:' var: useCase category: 'file' <- "MY_USE_CASE" among: ["MY_USE_CASE", "MediaLab",...];
- Run the
DailyRoutine
experiment - Press play to run the simulation