Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation stopping over a parameter that doesn't exist anymore. #1194

Open
cnabu opened this issue Dec 31, 2024 · 0 comments
Open

Simulation stopping over a parameter that doesn't exist anymore. #1194

cnabu opened this issue Dec 31, 2024 · 0 comments

Comments

@cnabu
Copy link

cnabu commented Dec 31, 2024

I'm trying to add scoring parameters for two different subpopulations. But whenever I run the simulation it gives the following error:

2024-12-30T14:58:54,478 INFO QSim:566 SIMULATION (NEW QSim) AT 00:00:00 : #Veh=229429 lost=0 simT=0.0s realT=4s; (s/r): 0.0
2024-12-30T14:58:54,477 ERROR SimStepParallelEventsManagerImpl$ExceptionHandler:442 Thread class org.matsim.core.events.SimStepParallelEventsManagerImpl$ProcessEventsRunnable0 died with exception while handling events.
java.lang.NullPointerException: Cannot invoke "org.matsim.core.config.groups.ScoringConfigGroup$ScoringParameterSet.getMarginalUtlOfWaiting_utils_hr()" because "scoringParameterSet" is null

I've checked and found out that MarginalUtlOfWaiting_utils_hr is actually the waiting parameter in the scoring module. However, even after making several changes to the code to fix this issue it's still giving the same error and shutting down. Can someone please help me resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant