Skip to content
Arnaud Grignard edited this page Dec 22, 2020 · 20 revisions

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

1.DXF Production

To be compatible with the ABM framework, ones needs to create a dxf file of the site that needs to respect the following items

  1. 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)

  2. A compatible dxf should specify at least the 4 following layers as closed polylines: "Walls";"Entrance";"Offices" or "Meeting rooms";

  3. 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.

2. DXF Validation

  1. Open models/ToolKit/DXF_Validator.gaml
  2. Specify your dataset in the useCase in the ValidatedDXF experiment
experiment ValidatedDXF type: gui
{   
parameter 'fileName:' var: useCase category: 'file' <- "MY_NEW_SITE";
  output
  {	
  ....
  }
}
  1. Run the ValidatedDXF
  2. An error pop up wil show up if some elements are missing of if there are useless ones
  3. Press Ok
  4. The dxf file is finally displayed in a mapwindow

3. ABM Validation.

Ones your dxf file is ready its now time to run the ABM model.

Generate pedestrian path

  1. Open generate_pedestrian_network.gaml
  2. Specify the right use case string useCase <- "MY_USE_CASE";
  3. Run generate_pedestrian_networkexperiment. In case of succes it will automatically create the corresponding pedestrian_path.shp and walking_area.shp in the MY_USE_CASE folder.

Run the DailyRoutine model

Ones the pedestrian path has been generated the model is now ready to run

  1. Open models/Current Models/DailyRoutine.gaml
  2. Specify your use case parameter 'fileName:' var: useCase category: 'file' <- "MY_USE_CASE" among: ["MY_USE_CASE", "MediaLab",...];
  3. Run the DailyRoutineexperiment
  4. Press play to run the simulation
Clone this wiki locally