licit-lab / MnMS

Agent-based Multimodal Urban Moblity Simulator resulting from the ERC MAGnUM project
GNU Lesser General Public License v3.0
9 stars 4 forks source link

Create a system to deal with all the parameters of the simulation #29

Open floriangc opened 2 years ago

floriangc commented 2 years ago
touf63 commented 2 years ago

JSON Formalism example (1st draft) :

{
  "INPUT": {
    "indir": "INPUTS",
    "network_file": "/Lyon_symuviainput_V2_monores.json",
    "demand_file": "/fichier_demandes.csv",
    "mfd_file": "/MFD_10_201802.csv"
  },
  "OUTPUT": {
    "outdir": "OUTPUTS",
    "log_file": "/simulation.log",
    "path_file": "/path.csv",
    "user_file": "/user.csv",
    "flow_file": "/flow.csv",
    "travel_time_file": "/travel_time_link.csv"
  },
  "SUPERVISOR": {
    "log_level": "LOGLEVEL.WARNING",
    "demand_type": "coordinate",
    "start_time": "06:30:00",
    "end_time": "14:00:00",
    "flow_dt": 1,
    "unit_flow_dt": "minutes",
    "affectation_factor": 10
  },
  "RESERVOIRS": [
    {
      "id": "RES1",
      "zone": "1",
      "function": ""
    },
    {
      "id": "RES2",
      "zone": "2",
      "function": ""
    }
  ],
  "TRAVEL_DECISION": {
    "n_shortest_path": 3,
    "radius_sp": 500.0,
    "radius_growth_sp": 50.0,
    "walk_speed": 1.4,
    "scale_factor_sp": 10,
    "algorithm": "astar",
    "decision_model": "LogitDecisionModel",
    "available_mobility_services": [
     "WALK",
     "PersonalCar"
    ]
  }
}
becarie commented 1 year ago

Updating with new parameters