Skip to content

Commit

Permalink
Merge pull request #105 from matsim-vsp/addParcelDemandInput
Browse files Browse the repository at this point in the history
add input data from Anas Master Thesis: Data for parcel demand generation
  • Loading branch information
kt86 authored Jan 20, 2025
2 parents c3ef3ce + 7a916f2 commit 6feb7d7
Show file tree
Hide file tree
Showing 23 changed files with 312 additions and 0 deletions.
Empty file modified scenarios/equil/config.xml
100755 → 100644
Empty file.
Empty file modified scenarios/equil/network.xml
100755 → 100644
Empty file.
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/DHL_CarrierCSV_Berlin_Koepenick.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName vehicleTypes numberOfDepots selectedVehicleDepots areaOfAdditionalDepots fixedNumberOfVehiclePerTypeAndLocation fleetSize vehicleStartTime vehicleEndTime jspritIterations
dhl_Koepenick dhl_vehicle 1 141317924 infinite 28800 57600 2
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/DHL_CarrierCSV_Berlin_small.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName vehicleTypes numberOfDepots selectedVehicleDepots areaOfAdditionalDepots fixedNumberOfVehiclePerTypeAndLocation fleetSize vehicleStartTime vehicleEndTime jspritIterations
dhl dhl_vehicle 1 -338691004 infinite 28800 57600 3
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/DHL_CarrierCSV_Lausitz.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName vehicleTypes numberOfDepots selectedVehicleDepots areaOfAdditionalDepots fixedNumberOfVehiclePerTypeAndLocation fleetSize vehicleStartTime vehicleEndTime jspritIterations
dhl_Lausitz dhl_vehicle 1 -13807094#0 infinite 28800 57600 3
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/DHL_DemandCSV_Berlin_10pc.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName demandToDistribute numberOfJobs shareOfPopulationWithFirstJobElement areasFirstJobElement numberOfFirstJobElementLocations locationsOfFirstJobElement firstJobElementTimePerUnit firstJobElementStartTime firstJobElementEndTime shareOfPopulationWithSecondJobElement areasSecondJobElement numberOfSecondJobElementLocations locationsOfSecondJobElement secondJobElementTimePerUnit secondJobElementStartTime secondJobElementEndTime
dhl 147000 1 -338691004 0 28800 57600 1 10555;10587 1200 28800 57600
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/DHL_DemandCSV_Berlin_Koepenick.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName demandToDistribute numberOfJobs shareOfPopulationWithFirstJobElement areasFirstJobElement numberOfFirstJobElementLocations locationsOfFirstJobElement firstJobElementTimePerUnit firstJobElementStartTime firstJobElementEndTime shareOfPopulationWithSecondJobElement areasSecondJobElement numberOfSecondJobElementLocations locationsOfSecondJobElement secondJobElementTimePerUnit secondJobElementStartTime secondJobElementEndTime
dhl_Koepenick 440000 1 141317924 0 28000 57600 1 LG_1 180 28800 57600
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/DHL_DemandCSV_Berlin_big.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName demandToDistribute numberOfJobs shareOfPopulationWithFirstJobElement areasFirstJobElement numberOfFirstJobElementLocations locationsOfFirstJobElement firstJobElementTimePerUnit firstJobElementStartTime firstJobElementEndTime shareOfPopulationWithSecondJobElement areasSecondJobElement numberOfSecondJobElementLocations locationsOfSecondJobElement secondJobElementTimePerUnit secondJobElementStartTime secondJobElementEndTime
dhl 510000 1 -338691004 0 28800 57600 1 10553;10555;10585;10587;10589;10623;10625;10627;10629;10711;13581;13583;13585;13589;13591;13593;13595;13597;13599;13627;13629;14050;14052;14053;14055;14057;14059 120 28800 57600
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/DHL_DemandCSV_Berlin_small.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName demandToDistribute numberOfJobs shareOfPopulationWithFirstJobElement areasFirstJobElement numberOfFirstJobElementLocations locationsOfFirstJobElement firstJobElementTimePerUnit firstJobElementStartTime firstJobElementEndTime shareOfPopulationWithSecondJobElement areasSecondJobElement numberOfSecondJobElementLocations locationsOfSecondJobElement secondJobElementTimePerUnit secondJobElementStartTime secondJobElementEndTime
dhl 147000 1 -338691004 0 28800 57600 1 10555;10587 120 28800 57600
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/DHL_DemandCSV_Lausitz.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName demandToDistribute numberOfJobs shareOfPopulationWithFirstJobElement areasFirstJobElement numberOfFirstJobElementLocations locationsOfFirstJobElement firstJobElementTimePerUnit firstJobElementStartTime firstJobElementEndTime shareOfPopulationWithSecondJobElement areasSecondJobElement numberOfSecondJobElementLocations locationsOfSecondJobElement secondJobElementTimePerUnit secondJobElementStartTime secondJobElementEndTime
dhl_Lausitz 14210 1 -13807094#0 0 28800 57600 1 02894;02829;02827 120 28800 57600
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/DHL_DemandCSV_Lausitz_10pc.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName demandToDistribute numberOfJobs shareOfPopulationWithFirstJobElement areasFirstJobElement numberOfFirstJobElementLocations locationsOfFirstJobElement firstJobElementTimePerUnit firstJobElementStartTime firstJobElementEndTime shareOfPopulationWithSecondJobElement areasSecondJobElement numberOfSecondJobElementLocations locationsOfSecondJobElement secondJobElementTimePerUnit secondJobElementStartTime secondJobElementEndTime
dhl_Lausitz 14210 1 -13807094#0 0 28800 57600 1 02894;02829;02827 1200 28800 57600
18 changes: 18 additions & 0 deletions scenarios/parcelDemand/DHL_vehicleTypes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<vehicleTypes>
<vehicleType id="dhl_vehicle">
<description>null</description>
<capacity>230</capacity>
<engineInformation fuelType="diesel" gasConsumption="0.000112"/> <!-- gasConsumption in liter per meter -->
<costInformation fix="48.78688752" perMeter="0.000370807" perSecond="0.00627778" maxSpeed="42"/>
</vehicleType>

<vehicleType id="dhl_bicycle">
<description>null</description>
<capacity>23</capacity>
<engineInformation fuelType="diesel" gasConsumption="0"/>
<costInformation fix="3.26732673" perMeter="0.000103" perSecond="0.003352" maxSpeed="6.94"/>
</vehicleType>

</vehicleTypes>

18 changes: 18 additions & 0 deletions scenarios/parcelDemand/DHL_vehicleTypes_10pc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<vehicleTypes>
<vehicleType id="dhl_vehicle">
<description>null</description>
<capacity>23</capacity>
<engineInformation fuelType="diesel" gasConsumption="0.000112"/> <!-- gasConsumption in liter per meter -->
<costInformation fix="48.78688752" perMeter="0.000370807" perSecond="0.00627778" maxSpeed="42"/>
</vehicleType>

<vehicleType id="dhl_bicycle">
<description>null</description>
<capacity>3</capacity>
<engineInformation fuelType="diesel" gasConsumption="0"/>
<costInformation fix="3.26732673" perMeter="0.000103" perSecond="0.003352" maxSpeed="6.94"/>
</vehicleType>

</vehicleTypes>

3 changes: 3 additions & 0 deletions scenarios/parcelDemand/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This input data came from the Master Thesis of Ana Ueberhorst.
It is for creating the parcel demand in Berlin and the Lausitz region.

4 changes: 4 additions & 0 deletions scenarios/parcelDemand/testCarrierCSV.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
carrierName vehicleTypes numberOfDepots selectedVehicleDepots areaOfAdditionalDepots fixedNumberOfVehiclePerTypeAndLocation fleetSize vehicleStartTime vehicleEndTime jspritIterations
testCarrier1 testVehicle1;testVehicle2 2 i(2,0);j(2,4)R infinite 3600 50000 10
testCarrier3 testVehicle1 2 j(2,6)R area1 infinite 50000 80000
testCarrier2 testVehicle2 3 j(4,3)R 3 finite 3600 50000 15
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/testCarrierCSV_1.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName vehicleTypes numberOfDepots selectedVehicleDepots areaOfAdditionalDepots fixedNumberOfVehiclePerTypeAndLocation fleetSize vehicleStartTime vehicleEndTime jspritIterations
testCarrier1 testVehicle1 1 i(2,0) infinite 27000 55800 5
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/testCarrierCSV_2.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName vehicleTypes numberOfDepots selectedVehicleDepots areaOfAdditionalDepots fixedNumberOfVehiclePerTypeAndLocation fleetSize vehicleStartTime vehicleEndTime jspritIterations
testCarrier1 testVehicle1 2 124263300;404565187#0 infinite 27000 55800 5
6 changes: 6 additions & 0 deletions scenarios/parcelDemand/testDemandCSV.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
carrierName demandToDistribute numberOfJobs shareOfPopulationWithFirstJobElement areasFirstJobElement numberOfFirstJobElementLocations locationsOfFirstJobElement firstJobElementTimePerUnit firstJobElementStartTime firstJobElementEndTime shareOfPopulationWithSecondJobElement areasSecondJobElement numberOfSecondJobElementLocations locationsOfSecondJobElement secondJobElementTimePerUnit secondJobElementStartTime secondJobElementEndTime
testCarrier1 0 4 area2 180 3000 13000
testCarrier1 12 10 4 i(2,0) 100 5000 20000
testCarrier2 0 4 300 10000 45000 1 i(2,0) 350 11000 44000
testCarrier2 15 7 1 200 11000 44000 2 200 20000 40000
testCarrier3 20 0.125 400 8000 50000 0.4 area1 250 10000 60000
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/testDemandCSV_1.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName demandToDistribute numberOfJobs shareOfPopulationWithFirstJobElement areasFirstJobElement numberOfFirstJobElementLocations locationsOfFirstJobElement firstJobElementTimePerUnit firstJobElementStartTime firstJobElementEndTime shareOfPopulationWithSecondJobElement areasSecondJobElement numberOfSecondJobElementLocations locationsOfSecondJobElement secondJobElementTimePerUnit secondJobElementStartTime secondJobElementEndTime
testCarrier1 199 1 i(2,0) 0 25200 64800 1 180 25200 64800
2 changes: 2 additions & 0 deletions scenarios/parcelDemand/testDemandCSV_2.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
carrierName demandToDistribute numberOfJobs shareOfPopulationWithFirstJobElement areasFirstJobElement numberOfFirstJobElementLocations locationsOfFirstJobElement firstJobElementTimePerUnit firstJobElementStartTime firstJobElementEndTime shareOfPopulationWithSecondJobElement areasSecondJobElement numberOfSecondJobElementLocations locationsOfSecondJobElement secondJobElementTimePerUnit secondJobElementStartTime secondJobElementEndTime
testCarrier1 10 1 24214089#2 0 25200 64800 1 LG_1 180 25200 64800
141 changes: 141 additions & 0 deletions scenarios/parcelDemand/testPopulation.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plans SYSTEM "http://www.matsim.org/files/dtd/plans_v4.dtd">

<plans>

<!-- ====================================================================== -->

<person id="person1" sex="m" age="40" employed="no">
<plan selected="yes">
<act type="home" x="1200.0" y="7700.0" start_time="00:00:00" dur="08:06:25" end_time="08:06:25" />
<leg mode="car" dep_time="08:06:25" trav_time="00:10:00" arr_time="08:16:25">
</leg>
<act type="work" x="577.0" y="174.0" start_time="08:16:25" end_time="16:31:47" />
<leg mode="car" dep_time="16:31:47" trav_time="00:10:00" arr_time="16:41:47">
</leg>
<act type="home" x="1200.0" y="7700.0" start_time="16:41:47" />
</plan>

</person>

<!-- ====================================================================== -->

<person id="person2" sex="m" age="19" employed="no">
<plan selected="yes">
<act type="home" x="2900.0" y="2800.0" start_time="00:00:00" dur="10:09:48" end_time="10:09:48" />
<leg mode="car" dep_time="10:09:48" trav_time="00:20:00" arr_time="10:29:48">
</leg>
<act type="work" x="51.0" y="338.0" start_time="10:29:48" end_time="11:13:55" />
<leg mode="car" dep_time="11:13:55" trav_time="00:30:00" arr_time="11:43:55">
</leg>
<act type="home" x="2900.0" y="2800.0" start_time="11:43:55" end_time="11:48:53" />
<leg mode="car" dep_time="11:48:53" trav_time="00:15:00" arr_time="12:03:53">
</leg>
<act type="work" x="797.0" y="213.0" start_time="12:03:53" end_time="12:29:00" />
<leg mode="car" dep_time="12:29:00" trav_time="00:20:00" arr_time="12:49:00">
</leg>
<act type="home" x="2900.0" y="2800.0" start_time="12:49:00" />
</plan>

</person>

<!-- ====================================================================== -->

<person id="person3" sex="m" age="60" employed="no">
<plan selected="yes">
<act type="home" x="4200.0" y="4400.0" start_time="00:00:00" dur="10:12:09" end_time="10:12:09" />
<leg mode="car" dep_time="10:12:09" trav_time="00:20:00" arr_time="10:32:09">
</leg>
<act type="work" x="188.0" y="388.0" start_time="10:32:09" end_time="11:17:19" />
<leg mode="car" dep_time="11:17:19" trav_time="00:30:00" arr_time="11:47:19">
</leg>
<act type="home" x="4200.0" y="4400.0" start_time="11:47:19" end_time="12:14:55" />
<leg mode="car" dep_time="12:14:55" trav_time="00:15:00" arr_time="12:29:55">
</leg>
<act type="work" x="81.0" y="275.0" start_time="12:29:55" end_time="12:37:07" />
<leg mode="car" dep_time="12:37:07" trav_time="00:20:00" arr_time="12:57:07">
</leg>
<act type="home" x="4200.0" y="4400.0" start_time="12:57:07" />
</plan>

</person>

<!-- ====================================================================== -->

<person id="person4" sex="m" age="80" employed="no">
<plan selected="yes">
<act type="home" x="5200.0" y="2600.0" start_time="00:00:00" dur="10:08:45" end_time="10:08:45" />
<leg mode="car" dep_time="10:08:45" trav_time="00:20:00" arr_time="10:28:45">
</leg>
<act type="work" x="211.0" y="445.0" start_time="10:28:45" end_time="11:03:40" />
<leg mode="car" dep_time="11:03:40" trav_time="00:30:00" arr_time="11:33:40">
</leg>
<act type="home" x="5200.0" y="2600.0" start_time="11:33:40" end_time="11:55:44" />
<leg mode="car" dep_time="11:55:44" trav_time="00:15:00" arr_time="12:10:44">
</leg>
<act type="work" x="422.0" y="304.0" start_time="12:10:44" end_time="12:46:54" />
<leg mode="car" dep_time="12:46:54" trav_time="00:20:00" arr_time="13:06:54">
</leg>
<act type="home" x="5200.0" y="2600.0" start_time="13:06:54" />
</plan>

</person>

<!-- ====================================================================== -->

<person id="person5" employed="no" age="20">
<plan selected="yes">
<act type="home" x="5200.0" y="5500.0" end_time="06:54:37" />
<leg mode="car">
</leg>
<act type="work" x="33.0" y="262.0" end_time="19:12:45" />
<leg mode="car">
</leg>
<act type="home" x="5200.0" y="5500.0" end_time="06:54:37" />
</plan>

</person>

<!-- ====================================================================== -->


<person id="person6" employed="no" age="50">
<plan selected="yes">
<act type="home" x="7900.0" y="7500.0" end_time="03:03:18" />
<leg mode="car">
</leg>
<act type="work" x="232.0" y="159.0" end_time="16:08:15" />
<leg mode="car">
</leg>
<act type="home" x="7900.0" y="7500.0" end_time="03:03:18" />
</plan>

</person>

<!-- ====================================================================== -->

<person id="person7" employed="no" age="30">
<plan selected="yes">
<act type="home" x="4900.0" y="8900.0" end_time="06:33:01" />
<leg mode="car">
</leg>
<act type="home" x="5000.0" y="9000.0" />
</plan>

</person>

<!-- ====================================================================== -->

<person id="person8" employed="no" age="70">
<plan selected="yes">
<act type="home" x="8400.0" y="5200.0" end_time="23:38:10" />
<leg mode="car">
</leg>
<act type="home" x="8400.0" y="5200.0" />
</plan>

</person>

<!-- ====================================================================== -->

</plans>
48 changes: 48 additions & 0 deletions scenarios/parcelDemand/testVehicleTypes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>

<vehicleDefinitions xmlns="http://www.matsim.org/files/dtd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.matsim.org/files/dtd http://www.matsim.org/files/dtd/vehicleDefinitions_v2.0.xsd">

<vehicleType id="testVehicle1">

<description>testVehicle1</description>
<capacity seats="1" standingRoomInPersons="0" other="24.0">

</capacity>
<length meter="7.5"/>
<width meter="1.0"/>
<engineInformation>
<attributes>
<attribute name="HbefaTechnology" class="java.lang.String">diesel</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="82.6" costsPerMeter="6.7E-4" costsPerSecond="0.0049">

</costInformation>
<passengerCarEquivalents pce="1.0"/>
<networkMode networkMode="car"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>

<vehicleType id="testVehicle2">

<description>testVehicle2</description>
<capacity seats="1" standingRoomInPersons="0" other="24.0">

</capacity>
<length meter="7.5"/>
<width meter="1.0"/>
<engineInformation>
<attributes>
<attribute name="energyCapacityInKWhOrLiters" class="java.lang.Double">200.2</attribute>
<attribute name="energyConsumptionKWhPerMeter" class="java.lang.Double">0.00150</attribute>
<attribute name="HbefaTechnology" class="java.lang.String">electricity</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="119.6" costsPerMeter="7.2E-4" costsPerSecond="0.0049">

</costInformation>
<passengerCarEquivalents pce="1.0"/>
<networkMode networkMode="car"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>
</vehicleDefinitions>
48 changes: 48 additions & 0 deletions scenarios/parcelDemand/testVehicleTypes_1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>

<vehicleDefinitions xmlns="http://www.matsim.org/files/dtd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.matsim.org/files/dtd http://www.matsim.org/files/dtd/vehicleDefinitions_v2.0.xsd">

<vehicleType id="testVehicle1">

<description>testVehicle1</description>
<capacity seats="1" standingRoomInPersons="0" other="300.0">

</capacity>
<length meter="7.5"/>
<width meter="1.0"/>
<engineInformation>
<attributes>
<attribute name="HbefaTechnology" class="java.lang.String">diesel</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="82.6" costsPerMeter="6.7E-4" costsPerSecond="0.0049">

</costInformation>
<passengerCarEquivalents pce="1.0"/>
<networkMode networkMode="car"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>

<vehicleType id="testVehicle2">

<description>testVehicle2</description>
<capacity seats="1" standingRoomInPersons="0" other="180.0">

</capacity>
<length meter="7.5"/>
<width meter="1.0"/>
<engineInformation>
<attributes>
<attribute name="energyCapacityInKWhOrLiters" class="java.lang.Double">200.2</attribute>
<attribute name="energyConsumptionKWhPerMeter" class="java.lang.Double">0.00150</attribute>
<attribute name="HbefaTechnology" class="java.lang.String">electricity</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="119.6" costsPerMeter="7.2E-4" costsPerSecond="0.0049">

</costInformation>
<passengerCarEquivalents pce="1.0"/>
<networkMode networkMode="car"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>
</vehicleDefinitions>

0 comments on commit 6feb7d7

Please sign in to comment.