generated from matsim-scenarios/matsim-scenario-template
-
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.
added calibration class, update makefile
- Loading branch information
Showing
6 changed files
with
299 additions
and
129 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,135 @@ | ||
{ | ||
"building": { | ||
"hotel": ["work"], | ||
"commercial": ["shop", "work", "delivery"], | ||
"retail": ["shop", "work", "delivery"], | ||
"supermarket": ["shop", "shop_daily", "dining", "work", "delivery"], | ||
"industrial": ["work", "delivery"], | ||
"office": ["work"], | ||
"warehouse": ["work", "depot", "delivery"], | ||
"bakehouse": ["work", "depot", "delivery"], | ||
"firestation": ["work"], | ||
"government": ["work"], | ||
"cathedral": ["religious"], | ||
"chapel": ["religious"], | ||
"church": ["religious"], | ||
"mosque": ["religious"], | ||
"religious": ["religious"], | ||
"shrine": ["religious"], | ||
"synagogue": ["religious"], | ||
"temple": ["religious"], | ||
"hospital": ["medical", "work"], | ||
"veterinary": ["p_business", "work"], | ||
"kindergarden": ["edu_kiga", "work"], | ||
"school": ["edu_prim", "work"], | ||
"university": ["edu_higher", "work"], | ||
"college": ["edu_higher", "work"], | ||
"sports_hall": ["leisure", "work"], | ||
"stadium": ["leisure", "work"], | ||
"apartments": ["resident"], | ||
"yes": ["resident"] | ||
}, | ||
"amenity": { | ||
"bar": ["leisure", "work", "delivery", "dining"], | ||
"pub": ["leisure", "work", "delivery", "dining"], | ||
"cafe": ["leisure", "work", "delivery", "dining"], | ||
"fast_food": ["work", "delivery", "dining"], | ||
"food_court": ["work", "delivery", "dining"], | ||
"ice_cream": ["work", "delivery", "dining"], | ||
"restaurant": ["work", "delivery", "dining"], | ||
"college": ["edu_higher", "work"], | ||
"kindergarten": ["edu_kiga", "work"], | ||
"language_school": ["edu_other", "work"], | ||
"library": ["leisure", "work"], | ||
"music_school": ["edu_other", "work"], | ||
"school": ["edu_prim", "leisure", "work"], | ||
"university": ["edu_higher", "work"], | ||
"bank": ["p_business", "work"], | ||
"clinic": ["medical", "work"], | ||
"dentist": ["medical", "work"], | ||
"doctors": ["medical", "work"], | ||
"hospital": ["medical", "work"], | ||
"pharmacy": ["shop", "work"], | ||
"social_facility": ["medical", "work"], | ||
"vetinary": ["p_business", "work"], | ||
"arts_centre": ["leisure", "work"], | ||
"casino": ["leisure", "work"], | ||
"cinema": ["leisure", "work"], | ||
"community_centre": ["leisure", "work"], | ||
"gambling": ["leisure", "work"], | ||
"studio": ["leisure", "work"], | ||
"theatre": ["leisure", "work"], | ||
"courthouse": ["p_business", "work"], | ||
"crematorium": ["p_business", "work"], | ||
"embassy": ["p_business", "work"], | ||
"fire_station": ["work"], | ||
"funeral_hall": ["p_business", "work"], | ||
"internet_cafe": ["leisure", "work"], | ||
"marketplace": ["shop", "shop_daily", "work", "dining", "delivery"], | ||
"place_of_worship": ["religious"], | ||
"police": ["p_business", "work"], | ||
"post_box": ["p_business", "work"], | ||
"post_depot": ["p_business", "work"], | ||
"post_office": ["p_business", "work"], | ||
"prison": ["p_business", "work"], | ||
"townhall": ["p_business", "work"] | ||
}, | ||
"landuse": { | ||
"commercial": ["shop", "work", "delivery"], | ||
"industrial": ["shop", "work", "delivery", "depot"], | ||
"retail": ["shop", "work", "delivery"], | ||
"depot": ["depot"], | ||
"port": ["depot"], | ||
"quary": ["depot"], | ||
"religious": ["religious"], | ||
"residential": ["resident"] | ||
}, | ||
"leisure": { | ||
"adult_gaming_centre": ["leisure", "work"], | ||
"amusement_arcade": ["leisure", "work"], | ||
"beach_resort": ["leisure"], | ||
"dance": ["leisure", "work"], | ||
"escape_game": ["leisure", "work"], | ||
"fishing": ["leisure"], | ||
"fitness_centre": ["leisure", "work"], | ||
"fitness_station": ["leisure"], | ||
"garden": ["leisure"], | ||
"horse_riding": ["leisure", "work"], | ||
"ice_rink": ["leisure", "work"], | ||
"marina": ["leisure", "work"], | ||
"miniature_golf": ["leisure"], | ||
"nature_reserve": ["leisure"], | ||
"park": ["leisure"], | ||
"pitch": ["leisure"], | ||
"playground": ["leisure"], | ||
"sports_centre": ["leisure", "work"], | ||
"stadium": ["leisure", "work"], | ||
"swimming_pool": ["leisure", "work"], | ||
"track": ["leisure"], | ||
"water_park": ["leisure", "work"] | ||
}, | ||
"medicalcare": { | ||
"*": ["medical", "work"] | ||
}, | ||
"healthcare": { | ||
"*": ["medical", "work"] | ||
}, | ||
"office": { | ||
"*": ["work"], | ||
"tax_advisor": ["p_business", "work"], | ||
"insurance": ["p_business", "work"] | ||
}, | ||
"government": { | ||
"*": ["work"], | ||
"tax": ["p_business","work"], | ||
"register_office": ["p_business","work"] | ||
}, | ||
"shop": { | ||
"*": ["shop", "work"], | ||
"supermarket": ["shop_daily", "work"], | ||
"convenience": ["shop_daily", "work"], | ||
"chemist": ["shop_daily", "work"], | ||
"bakery": ["shop_daily", "work"], | ||
"deli": ["shop_daily", "work"] | ||
} | ||
} |
File renamed without changes.
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
41 changes: 41 additions & 0 deletions
41
src/main/java/org/matsim/prepare/RunOpenKyotoCalibration.java
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,41 @@ | ||
package org.matsim.prepare; | ||
|
||
import org.matsim.application.MATSimApplication; | ||
import org.matsim.application.prepare.freight.tripExtraction.ExtractRelevantFreightTrips; | ||
import org.matsim.application.prepare.network.CleanNetwork; | ||
import org.matsim.application.prepare.network.CreateNetworkFromSumo; | ||
import org.matsim.application.prepare.network.params.ApplyNetworkParams; | ||
import org.matsim.application.prepare.population.*; | ||
import org.matsim.application.prepare.pt.CreateTransitScheduleFromGtfs; | ||
import org.matsim.prepare.choices.ComputePlanChoices; | ||
import org.matsim.prepare.choices.ComputeTripChoices; | ||
import org.matsim.prepare.facilities.CreateMATSimFacilities; | ||
import org.matsim.prepare.facilities.ExtractFacilityGeoPkg; | ||
import org.matsim.prepare.opt.ExtractPlanIndexFromType; | ||
import org.matsim.prepare.opt.RunCountOptimization; | ||
import org.matsim.prepare.opt.SelectPlansFromIndex; | ||
import org.matsim.prepare.population.AssignReferencePopulation; | ||
import org.matsim.prepare.population.CreateFixedPopulation; | ||
import org.matsim.prepare.population.InitLocationChoice; | ||
import org.matsim.prepare.population.RunActivitySampling; | ||
import org.matsim.run.OpenKyotoScenario; | ||
import picocli.CommandLine; | ||
|
||
@CommandLine.Command(header = ":: Open Kyoto Calibration ::", version = OpenKyotoScenario.VERSION, mixinStandardHelpOptions = true) | ||
@MATSimApplication.Prepare({ | ||
MergePopulations.class, CreateFixedPopulation.class, | ||
ExtractFacilityGeoPkg.class, DownSamplePopulation.class, | ||
CreateNetworkFromSumo.class, CreateTransitScheduleFromGtfs.class, | ||
CleanNetwork.class, CreateMATSimFacilities.class, InitLocationChoice.class, FilterRelevantAgents.class, | ||
RunActivitySampling.class, MergePlans.class, SplitActivityTypesDuration.class, CleanPopulation.class, CleanAttributes.class, | ||
RunCountOptimization.class, SelectPlansFromIndex.class, ExtractPlanIndexFromType.class, AssignReferencePopulation.class, | ||
ExtractRelevantFreightTrips.class, CheckCarAvailability.class, FixSubtourModes.class, ComputeTripChoices.class, ComputePlanChoices.class, | ||
ApplyNetworkParams.class, SetCarAvailabilityByAge.class | ||
}) | ||
public class RunOpenKyotoCalibration extends MATSimApplication { | ||
|
||
public static void main(String[] args) { | ||
MATSimApplication.run(RunOpenKyotoCalibration.class, args); | ||
} | ||
|
||
} |
Oops, something went wrong.