Skip to content

Commit

Permalink
update branch to main, modify plan_handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
divyasharma-arup committed May 22, 2023
2 parents f62e8c6 + 2f6b320 commit 938ca87
Show file tree
Hide file tree
Showing 80 changed files with 1,702 additions and 836 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
export C_INCLUDE_PATH=/usr/include/gdal
sudo apt-get install ca-certificates
export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
pip install GDAL==3.0.2
pip install GDAL==3.4.1
pip install .
- name: Check install
run: |
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Inputs to Elara are MATSim format output files, eg:
* **plans** = "./tests/test_fixtures/output_plans.xml"
* **output_config_path** = "./tests/test_fixtures/output_config.xml"
* **road pricing config** = "./tests/test_fixtures/roadpricing.xml"
* **output_vehicles** = "./tests/test_fixtures/output_vehicles.xml"

Depending on what outputs you require from elara, some of these inputs may not be required, but it is often convenient to have them all available as a default. In most cases these Elara inputs may be compressed using gzip (`file.xml.gz`).

Expand Down Expand Up @@ -192,6 +193,7 @@ attributes = "./tests/test_fixtures/output_personAttributes.xml"
plans= "./tests/test_fixtures/output_plans.xml"
output_config_path = "./tests/test_fixtures/output_config.xml"
road_pricing = "./tests/test_fixtures/roadpricing.xml"
vehicles = "./tests/test_fixtures/output_vehicles.xml"
[outputs]
path = "./tests/test_outputs"
Expand Down
10 changes: 5 additions & 5 deletions benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,15 +641,15 @@ link_vehicle_speeds_comparison--am_freight = {modes = ["car"], benchmark_data_pa
csv formatted as follows:

```
id,8
link_id,8
1-5,9.5
5-1,9.8
```

or if `groupby_person_attributes` is being used:

```
id,class,8
link_id,class,8
1-5,freight,9.5
5-1,freight,9.8
```
Expand All @@ -659,7 +659,7 @@ Note that unrecognised or missing keys will be quietly ignored.
Also note that the csv can contain multiple time slices but that each benchmark will only use one as per the `time_slice` option:

```
id,class,8,17
link_id,class,8,17
1-5,freight,9.5,9.2
5-1,freight,9.8,9.3
```
Expand All @@ -686,7 +686,7 @@ trip_durations_comparison = {benchmark_data_path = "./PATH.csv", mode_consistent
csv formatted as follows:

```{csv}
agent,seq,duration_s
agent_id,seq,duration_s
chris,1,454.0
chris,2,463.0
nick,1,4.0
Expand All @@ -699,7 +699,7 @@ Where `agent` is the agent unique identifier (sometimes refered to as `pid`) and
If `mode_consistency` is set to `true` then a mode column should additionally be included:

```{csv}
agent,seq,mode,duration_s
agent_id,seq,mode,duration_s
chris,1,car,454.0
chris,2,car,463.0
nick,1,car,4.0
Expand Down
Loading

0 comments on commit 938ca87

Please sign in to comment.