Closed vmeatsbread closed 1 month ago
Dear @vmeatsbread ,
You need to check the RunUAMScenario
class to see how to run UAM. You need to use this code or copy it to your main method. You can not just simply use the RunMatsim
class for matsim-example-project.
Hi @balacm
Firstly, thank you for your help. This was a great pointer for me to head to the right direction. Before I close this issue I wanted to leave a few of my discoveries in case someone else also is in my spot.
Firstly, this thesis that I tracked down online was immensely useful: https://mediatum.ub.tum.de/doc/1596358/1596358.pdf Second: I had to revert to Java 11 to have this run.
Thanks again for your help.
Thank you, @vmeatsbread . This reminds me that I should probably make a new release of the repo, so that we can have it compatible with newest MATSim release.
Hello! I'm new to simulating with MATSim and was interested in this UAM plugin. After installing the plugin by updating the pom.xml and rebuilding the MATSim Package, I'm unable to run the
uam-test-scenario
example. Getting an error aroundswissRailRaptor
.2024-09-11T10:01:27,545 ERROR MatsimRuntimeModifications:76 Getting uncaught Exception in Thread main java.lang.RuntimeException: Unmaterialized config group: swissRailRaptor at org.matsim.core.config.consistency.UnmaterializedConfigGroupChecker.checkConsistency(UnmaterializedConfigGroupChecker.java:32) ~[matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.matsim.core.config.Config.checkConsistency(Config.java:188) ~[matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.matsim.core.controler.ControlerUtils.checkConfigConsistencyAndWriteToLog(ControlerUtils.java:86) ~[matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.matsim.core.controler.AbstractController$1.run(AbstractController.java:82) ~[matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.matsim.core.controler.MatsimRuntimeModifications.run(MatsimRuntimeModifications.java:70) [matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.matsim.core.controler.MatsimRuntimeModifications.run(MatsimRuntimeModifications.java:53) [matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.matsim.core.controler.AbstractController.run(AbstractController.java:92) [matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.matsim.core.controler.NewControler.run(NewControler.java:83) [matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.matsim.core.controler.Controler.run(Controler.java:259) [matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.matsim.project.RunMatsim.main(RunMatsim.java:65) [matsim-example-project-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
Any guidance would be greatly appreciated as I learn how to best use MATSim. Thank you!