-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from arup-group/add-more-kpis
Add more kpis
- Loading branch information
Showing
44 changed files
with
1,650 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# KPI Data Requirements and Expectations | ||
|
||
Below you can find additional information about data set-up for MATSim models in relation to each of the KPIs produced | ||
by Gelato. | ||
In general the following outputs from a MATSim model are expected on top of the MATSim config: | ||
|
||
- `output_network.xml.gz` | ||
- `output_transitSchedule.xml.gz` | ||
- `output_transitVehicles.xml.gz` | ||
- `output_households.xml.gz` (can be empty) | ||
- `output_facilities.xml.gz` (can be empty) | ||
- `output_vehicles.xml.gz` | ||
- `soutput_persons.csv.gz` | ||
- `soutput_legs.xml.gz` | ||
- `soutput_trips.xml.gz` | ||
- `drt_vehicles.xml.gz` (for simulations with DRT mode) | ||
|
||
## Affordability | ||
|
||
### Cost of Travel | ||
This metric relies on `modeParams` being set correctly in the MATSim config and `PersonMoneyEvent`s in the output | ||
events file. | ||
|
||
For `modeParams`, make sure you set the `dailyMonetaryConstant` and/or `monetaryDistanceRate` to non-zero values, | ||
for the modes that make sense (i.e. walking will not actually cost any money to perform) | ||
```xml | ||
<parameterset type="modeParams" > | ||
<param name="constant" value="0.0" /> | ||
<param name="dailyMonetaryConstant" value="-1.0" /> <!--here--> | ||
<param name="dailyUtilityConstant" value="0.0" /> | ||
<param name="marginalUtilityOfDistance_util_m" value="0.0" /> | ||
<param name="marginalUtilityOfTraveling_util_hr" value="0.0" /> | ||
<param name="mode" value="car" /> | ||
<param name="monetaryDistanceRate" value="-1.0" /> <!--here--> | ||
</parameterset> | ||
``` | ||
|
||
If `PersonMoneyEvent`s are present in the events file, they will contribute to the cost of the relevant trip performed | ||
by an agent. | ||
|
||
### Income Information | ||
This metric is strongly dependent on the income information set for agents. | ||
It is expected that your persons data has an `income` column with numeric values or | ||
a `subpopulation` column with string values, where one of the categories is `low income` | ||
|
||
## GHG Emissions | ||
|
||
You can set your own emissions factors and fuel types for vehicles in the model to be used in the calculation. | ||
You provide them in the MATSim xml files `output_vehicles.xml.gz` or `output_transitVehicles.xml.gz` in the following | ||
way: | ||
(This requires [v2 vehicle file](https://www.matsim.org/files/dtd/vehicleDefinitions_v2.0.xsd)) | ||
|
||
```xml | ||
<vehicleType id="defaultVehicleType"> | ||
<capacity seats="4" standingRoomInPersons="0"> | ||
</capacity> | ||
<length meter="7.5"/> | ||
<width meter="1.0"/> | ||
<engineInformation> | ||
<attributes> | ||
<attribute name="emissionsFactor" class="java.lang.Double">0.222</attribute> | ||
<attribute name="fuelType" class="java.lang.String">petrol</attribute> | ||
</attributes> | ||
</engineInformation> | ||
<costInformation> | ||
</costInformation> | ||
<passengerCarEquivalents pce="1.0"/> | ||
<networkMode networkMode="car"/> | ||
<flowEfficiencyFactor factor="1.0"/> | ||
</vehicleType> | ||
``` | ||
|
||
Otherwise, the factors will default to `"fuelType"="petrol"` and `"emissionsFactor"=0.222` for personal agent's cars and | ||
drt vehicles, and `"fuelType"="cng"` and `"emissionsFactor"=1.372` for buses. | ||
Other PT vehicles are not defaulted and do not contribute to emission calculations. | ||
|
||
We recommend setting fuel types and emission factors for LGVs and HGVs, otherwise they may will regarded as personal cars. | ||
The defaults we use are: | ||
|
||
- LGV: `"fuelType"="petrol"`, `"emissionsFactor"=0.317` | ||
- HGV: `"fuelType"="diesel"`, `"emissionsFactor"=0.761` | ||
|
||
# Access to Mobility Services | ||
|
||
The $(x, y)$ spatial coordinates are assumed to be in metre-based, distance-preserving projection. |
Oops, something went wrong.