Skip to content

Exception when running useScheduleBasedTransport = false #377

@MayuriAnn

Description

@MayuriAnn

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions