Skip to content

Commit

Permalink
Add inifile
Browse files Browse the repository at this point in the history
  • Loading branch information
chraibi committed Oct 10, 2024
1 parent e26af4c commit cfc95e3
Showing 1 changed file with 254 additions and 0 deletions.
254 changes: 254 additions & 0 deletions files/inifile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
{
"comments": [
"This file includes all important information",
"to start a jupedsim simulation with the motivation model"
],
"version": 0.1,
"velocity_init_parameters": {
"a_ped": 0.1,
"d_ped": 0.4,
"a_ped_min": 0.1,
"a_ped_max": 1.0,
"d_ped_min": 0.1,
"d_ped_max": 1.0,
"a_wall": 0.4,
"d_wall": 0.2,
"radius": 0.10
},
"simulation_parameters": {
"fps": 60,
"time_step": 0.001,
"number_agents": 50,
"simulation_time": 300
},
"measurement_line": {
"vertices": [
[
1.47,
19.57
],
[
-1.52,
19.57
]
]
},
"measurement_area": {
"vertices": [
[
3.57,
-0.89
],
[
3.64,
19.57
],
[
1.47,
19.57
],
[
-1.52,
19.57
],
[
-3.57,
19.57
],
[
-3.54,
-1.13
]
]
},
"motivation_parameters": {
"motivation_strategy": "EVC",
"normal_v_0": 1.2,
"normal_time_gap": 1.0,
"width": 2.0,
"height": 2.0,
"seed": 1.0,
"max_value_high": 1.0,
"min_value_high": 0.8,
"max_value_low": 0.5,
"min_value_low": 0.2,
"number_high_value": 1,
"competition_max": 1,
"competition_decay_reward": 5,
"percent": 0.8,
"motivation_doors": [
{
"id": 1,
"label": "door",
"vertices": [
[
-2.5,
18.0
],
[
2.5,
18.0
]
]
}
]
},
"accessible_areas": [
{
"id": 1,
"vertices": [
[
47.0,
100.0
],
[
60.0,
100.0
],
[
60.0,
104.0
],
[
47.0,
104.0
]
]
},
{
"id": 2,
"vertices": [
[
60.0,
101.7
],
[
62.0,
101.7
],
[
62.0,
102.3
],
[
60.0,
102.3
]
]
},
{
"id": 3,
"vertices": [
[
62.0,
100.0
],
[
65.0,
100.0
],
[
65.0,
104.0
],
[
62.0,
104.0
]
]
}
],
"destinations": [
{
"id": 1,
"label": "exit",
"vertices": [
[
-5.0,
23.0
],
[
-6,
23.0
],
[
-6,
22.0
],
[
-5,
22.0
]
]
}
,
{
"id": 2,
"label": "exit",
"vertices": [
[
5.0,
23.0
],
[
6.0,
23.0
],
[
6.0,
22.0
],
[
5.0,
22.0
]
]

},
{
"id": 3,
"label": "exit",
"vertices": [
[
-0.2,
23.0
],
[
0.2,
23.0
],
[
0.2,
22.0
],
[
-0.2,
22.0
]
]
}
],
"distribution_polygons": [
{
"id": 1,
"vertices": [
[
48.0,
100.0
],
[
55.0,
100.0
],
[
55.0,
104.0
],
[
48.0,
104.0
]
]
}
]
}

0 comments on commit cfc95e3

Please sign in to comment.