Skip to content

Commit

Permalink
set correct streets that were closed
Browse files Browse the repository at this point in the history
  • Loading branch information
GregorRyb committed Jun 7, 2024
1 parent 87207eb commit bd16358
Showing 1 changed file with 7 additions and 22 deletions.
29 changes: 7 additions & 22 deletions src/main/java/org/matsim/run/RunGladbeckScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,28 +133,13 @@ protected void prepareScenario(Scenario scenario) {

if (schoolClosure) {
List<Id<Link>> listOfSchoolLinks = new ArrayList<>();
//TODO switch to shp file
// Mosaikschule
listOfSchoolLinks.add(Id.createLinkId("5156341260014r"));
listOfSchoolLinks.add(Id.createLinkId("5156341260014f"));
listOfSchoolLinks.add(Id.createLinkId("380432140001r"));
listOfSchoolLinks.add(Id.createLinkId("380432140001f"));
listOfSchoolLinks.add(Id.createLinkId("381870670005f"));
listOfSchoolLinks.add(Id.createLinkId("381870670005r"));
listOfSchoolLinks.add(Id.createLinkId("353353090002f"));
listOfSchoolLinks.add(Id.createLinkId("353353090002r"));
// werner von siemens schule gladbeck
listOfSchoolLinks.add(Id.createLinkId("358770500002f"));
listOfSchoolLinks.add(Id.createLinkId("358770500002r"));
listOfSchoolLinks.add(Id.createLinkId("358770510002r"));
listOfSchoolLinks.add(Id.createLinkId("358770510002r"));
listOfSchoolLinks.add(Id.createLinkId("358770510002f"));
listOfSchoolLinks.add(Id.createLinkId("1157881300007f"));
listOfSchoolLinks.add(Id.createLinkId("1157881300007r"));
listOfSchoolLinks.add(Id.createLinkId("1157881300007r"));
listOfSchoolLinks.add(Id.createLinkId("1157881300007r"));
listOfSchoolLinks.add(Id.createLinkId("481471120002f"));
listOfSchoolLinks.add(Id.createLinkId("481471120002r"));

// street in front of Mosaikschule
listOfSchoolLinks.add(Id.createLinkId("353353080004r"));
listOfSchoolLinks.add(Id.createLinkId("353353080004f"));



new SchoolRoadsClosure().closeSchoolLinks(listOfSchoolLinks, scenario.getNetwork(), 800, 1700);
}

Expand Down

0 comments on commit bd16358

Please sign in to comment.