Skip to content

Commit

Permalink
add 6.1 config and vehicle types
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Dec 13, 2023
1 parent af4555e commit 87291eb
Show file tree
Hide file tree
Showing 6 changed files with 406 additions and 10 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,14 @@ $p/berlin-longHaulFreight-$V-25pct.plans.xml.gz: $p/berlin-$V-network.xml.gz
--cut-on-boundary\
--output $@

# TODO: commercial traffic needs to be updated, and network mode correctly mapped

$p/berlin-small-scale-commercialTraffic-$V-25pct.plans.xml.gz:
$p/berlin-small-scale-commercialTraffic-$V-25pct.plans.xml.gz: $p/berlin-$V-network.xml.gz
$(sc) prepare generate-small-scale-commercial-traffic\
input/commercialTraffic/config_demand.xml\
input/$V/berlin-$V.config.xml\
--sample 0.25\
--jspritIterations 1\
--creationOption createNewCarrierFile\
--landuseConfiguration useOSMBuildingsAndLanduse\
--network $(notdir $<)\
--smallScaleCommercialTrafficType completeSmallScaleCommercialTraffic\
--zoneShapeFileName $(berlin)/input/shp/berlinBrandenburg_Zones_VKZ_4326.shp\
--buildingsShapeFileName $(berlin)/input/shp/buildings_BerlinBrandenburg_4326.shp\
Expand All @@ -221,7 +220,6 @@ $p/berlin-small-scale-commercialTraffic-$V-25pct.plans.xml.gz:
mv output/commercialPersonTraffic/$(notdir $@) $@



$p/berlin-cadyts-input-$V-25pct.plans.xml.gz: $p/berlin-initial-$V-25pct.plans.xml.gz $p/berlin-small-scale-commercialTraffic-$V-25pct.plans.xml.gz
$(sc) prepare merge-populations $^\
--output $@
Expand Down
197 changes: 197 additions & 0 deletions input/v6.1/berlin-v6.1-vehicleTypes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
<?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">

<!-- Mode types -->

<vehicleType id="car">
<attributes>
<attribute name="accessTimeInSecondsPerPerson" class="java.lang.Double">1</attribute>
<attribute name="doorOperationMode" class="org.matsim.vehicles.VehicleType$DoorOperationMode">serial</attribute>
<attribute name="egressTimeInSecondsPerPerson" class="java.lang.Double">1</attribute>
</attributes>
<length meter="7.5"/>
<width meter="1.0"/>
<passengerCarEquivalents pce="1.0"/>
</vehicleType>

<vehicleType id="ride">
<attributes>
<attribute name="accessTimeInSecondsPerPerson" class="java.lang.Double">1</attribute>
<attribute name="doorOperationMode" class="org.matsim.vehicles.VehicleType$DoorOperationMode">serial</attribute>
<attribute name="egressTimeInSecondsPerPerson" class="java.lang.Double">1</attribute>
</attributes>
<length meter="7.5"/>
<width meter="1.0"/>
<passengerCarEquivalents pce="1.0"/>
</vehicleType>

<vehicleType id="freight">
<attributes>
<attribute name="accessTimeInSecondsPerPerson" class="java.lang.Double">1</attribute>
<attribute name="doorOperationMode" class="org.matsim.vehicles.VehicleType$DoorOperationMode">serial</attribute>
<attribute name="egressTimeInSecondsPerPerson" class="java.lang.Double">1</attribute>
</attributes>
<length meter="15.0"/>
<width meter="1.0"/>
<passengerCarEquivalents pce="3.5"/>
<networkMode networkMode="truck"/>
</vehicleType>

<!-- Specific types for commercial traffic -->

<vehicleType id="golf1.4">

<description>Golf 1.4 Trendline</description>
<capacity seats="4" standingRoomInPersons="0" other="0"/>
<length meter="7.5"/>
<width meter="1.0"/>
<maximumVelocity meterPerSecond="38.89"/>
<engineInformation>
<attributes>
<attribute name="HbefaVehicleCategory" class="java.lang.String">PASSENGER_CAR</attribute>
<attribute name="HbefaTechnology" class="java.lang.String">average</attribute>
<attribute name="HbefaSizeClass" class="java.lang.String">average</attribute>
<attribute name="HbefaEmissionsConcept" class="java.lang.String">petrol (4S)</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="31.07" costsPerMeter="1.5E-4" costsPerSecond="0.0049">
<attributes>
<attribute name="costsPerSecondInService" class="java.lang.Double">0.0049</attribute>
<attribute name="costsPerSecondWaiting" class="java.lang.Double">0.0049</attribute>
</attributes>
</costInformation>
<passengerCarEquivalents pce="1.0"/>
<networkMode networkMode="car"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>

<vehicleType id="vwCaddy">

<description>VW Caddy 2.0 Maxi TDI</description>
<capacity seats="4" standingRoomInPersons="0" other="0"/>
<length meter="7.5"/>
<width meter="1.0"/>
<maximumVelocity meterPerSecond="38.89"/>
<engineInformation>
<attributes>
<attribute name="HbefaVehicleCategory" class="java.lang.String">PASSENGER_CAR</attribute>
<attribute name="HbefaTechnology" class="java.lang.String">average</attribute>
<attribute name="HbefaSizeClass" class="java.lang.String">average</attribute>
<attribute name="HbefaEmissionsConcept" class="java.lang.String">diesel</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="27.27" costsPerMeter="1.7E-4" costsPerSecond="0.0049">
<attributes>
<attribute name="costsPerSecondInService" class="java.lang.Double">0.0049</attribute>
<attribute name="costsPerSecondWaiting" class="java.lang.Double">0.0049</attribute>
</attributes>
</costInformation>
<passengerCarEquivalents pce="1.0"/>
<networkMode networkMode="car"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>

<vehicleType id="mercedes313">

<description>Mercedes 313 CDI</description>
<capacity seats="1" standingRoomInPersons="0" other="0"/>
<length meter="7.5"/>
<width meter="1.0"/>
<maximumVelocity meterPerSecond="38.89"/>
<engineInformation>
<attributes>
<attribute name="HbefaVehicleCategory" class="java.lang.String">LIGHT_COMMERCIAL_VEHICLE</attribute>
<attribute name="HbefaTechnology" class="java.lang.String">average</attribute>
<attribute name="HbefaSizeClass" class="java.lang.String">average</attribute>
<attribute name="HbefaEmissionsConcept" class="java.lang.String">diesel</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="36.42" costsPerMeter="2.6E-4" costsPerSecond="0.0049">
<attributes>
<attribute name="costsPerSecondInService" class="java.lang.Double">0.0049</attribute>
<attribute name="costsPerSecondWaiting" class="java.lang.Double">0.0049</attribute>
</attributes>
</costInformation>
<passengerCarEquivalents pce="1.0"/>
<networkMode networkMode="car"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>

<vehicleType id="light8t">

<description>Light Vehicle 7.5t</description>
<capacity seats="1" standingRoomInPersons="0" other="10.0"/>
<length meter="7.5"/>
<width meter="1.0"/>
<maximumVelocity meterPerSecond="22.22"/>
<engineInformation>
<attributes>
<attribute name="HbefaVehicleCategory" class="java.lang.String">LIGHT_COMMERCIAL_VEHICLE</attribute>
<attribute name="HbefaTechnology" class="java.lang.String">average</attribute>
<attribute name="HbefaSizeClass" class="java.lang.String">average</attribute>
<attribute name="HbefaEmissionsConcept" class="java.lang.String">diesel</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="63.49" costsPerMeter="4.0E-4" costsPerSecond="0.0049">
<attributes>
<attribute name="costsPerSecondInService" class="java.lang.Double">0.0049</attribute>
<attribute name="costsPerSecondWaiting" class="java.lang.Double">0.0049</attribute>
</attributes>
</costInformation>
<passengerCarEquivalents pce="2.0"/>
<networkMode networkMode="truck"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>

<vehicleType id="medium18t">

<description>Medium Vehicle 18t</description>
<capacity seats="1" standingRoomInPersons="0" other="16.0"/>
<length meter="7.5"/>
<width meter="1.0"/>
<maximumVelocity meterPerSecond="22.22"/>
<engineInformation>
<attributes>
<attribute name="HbefaVehicleCategory" class="java.lang.String">HEAVY_GOODS_VEHICLE</attribute>
<attribute name="HbefaTechnology" class="java.lang.String">average</attribute>
<attribute name="HbefaSizeClass" class="java.lang.String">average</attribute>
<attribute name="HbefaEmissionsConcept" class="java.lang.String">diesel</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="80.47" costsPerMeter="5.3E-4" costsPerSecond="0.0049">
<attributes>
<attribute name="costsPerSecondInService" class="java.lang.Double">0.0049</attribute>
<attribute name="costsPerSecondWaiting" class="java.lang.Double">0.0049</attribute>
</attributes>
</costInformation>
<passengerCarEquivalents pce="3.0"/>
<networkMode networkMode="truck"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>
<vehicleType id="heavy40t">

<description>Heavy Vehicle 40t</description>
<capacity seats="1" standingRoomInPersons="0" other="33.0"/>
<length meter="15"/>
<width meter="1.0"/>
<maximumVelocity meterPerSecond="22.22"/>
<engineInformation>
<attributes>
<attribute name="HbefaVehicleCategory" class="java.lang.String">HEAVY_GOODS_VEHICLE</attribute>
<attribute name="HbefaTechnology" class="java.lang.String">average</attribute>
<attribute name="HbefaSizeClass" class="java.lang.String">average</attribute>
<attribute name="HbefaEmissionsConcept" class="java.lang.String">diesel</attribute>
</attributes>
</engineInformation>
<costInformation fixedCostsPerDay="126.58" costsPerMeter="6.9E-4" costsPerSecond="0.00559">
<attributes>
<attribute name="costsPerSecondInService" class="java.lang.Double">0.00559</attribute>
<attribute name="costsPerSecondWaiting" class="java.lang.Double">0.00559</attribute>
</attributes>
</costInformation>
<passengerCarEquivalents pce="4.0"/>
<networkMode networkMode="truck"/>
<flowEfficiencyFactor factor="1.0"/>
</vehicleType>
</vehicleDefinitions>
Loading

0 comments on commit 87291eb

Please sign in to comment.