diff --git a/main.py b/main.py index 60638f7..c47503b 100644 --- a/main.py +++ b/main.py @@ -25,12 +25,10 @@ try: ConstructionFactory(construction_format, city).enrich() UsageFactory(usage_format, city).enrich() - # Matsim(city, 'output_files').export() - # MatSimEngine('output_files/Montreal_config.xml').run() - # MatSimEngine('equil/config.xml').run() + Matsim(city, 'output_files').export() + MatSimEngine('output_files/Montreal_config.xml').run() - visualizer = MatsimVisualizer('output_files/Montreal/output_network.xml.gz', 'output_files/Montreal/output_events.xml.gz', 'output_files') - # visualizer = MatsimVisualizer('output/output_network.xml.gz', 'output/output_events.xml.gz', 'output_files') + visualizer = MatsimVisualizer('output_files/Montreal/output_network.xml.gz', 'output_files/Montreal/output_events.xml.gz', 'output_files', (3827652.8297388176, 6039933.844748944, 3873591.6501221485, 6042487.096594835)) visualizer.visualize() except Exception as ex: