-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Hi,
We attempted to execute our scenario with the parameter useScheduleBasedTransport = false in order to compare simulated bus travel times with scheduled travel times. However, we encountered the following exception:
RuntimeException: So far, this analysis tool only works with schedule-based simulation. Your simulation input simulated public transport in the QSim.
This exception was triggered by the class PublicTransportTripListener located at core/src/main/java/org/eqasim/core/analysis/pt/PublicTransportTripListener.java.
As a temporary workaround, we commented out the PT-related analysis components in the following files:
- core/src/main/java/org/eqasim/core/simulation/analysis/EqasimAnalysisModule.java
- core/src/main/java/org/eqasim/core/simulation/analysis/AnalysisOutputListener.java.
Would you recommend a better or more appropriate way to prevent this exception when not using schedule-based public transport?
Thank you in advance for your assistance.