Skip to content

Commit

Permalink
finalize emission analysis WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
simei94 committed Sep 9, 2024
1 parent c9bdfca commit 73d7766
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/org/matsim/run/EmissionAnalysisOutputTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import org.matsim.core.population.PersonUtils;
import org.matsim.core.population.PopulationUtils;
import org.matsim.core.utils.io.IOUtils;
import org.matsim.simwrapper.SimWrapperConfigGroup;
import org.matsim.testcases.MatsimTestUtils;

import java.io.BufferedReader;
Expand All @@ -37,6 +38,10 @@ class EmissionAnalysisOutputTest {
@Test
void runEmissionAnalysisOutputTest() throws IOException {
Config config = ConfigUtils.loadConfig(String.format("input/v%s/lausitz-v%s-10pct.config.xml", LausitzScenario.VERSION, LausitzScenario.VERSION));
ConfigUtils.addOrGetModule(config, SimWrapperConfigGroup.class).defaultDashboards = SimWrapperConfigGroup.Mode.disabled;

// TODO rather define to exclude for every single standard dashboard via config group exclude parameter than disabling all dashbaords.
// like this no emission dashboard will be created..

Path inputPath = p.resolve("emissions-test-population.xml.gz");

Expand Down

0 comments on commit 73d7766

Please sign in to comment.