Coder Social home page Coder Social logo

Comments (7)

gregmacfarlane avatar gregmacfarlane commented on June 16, 2024

population.xml.gz
transit_schedule.xml.gz
transit_vehicles.xml.gz
highway_network.xml.gz
facilities.xml.gz

from matsim-code-examples.

gregmacfarlane avatar gregmacfarlane commented on June 16, 2024

Well, I decided to run it without the RAPTOR override, and it revealed a problem with my transit network where some routes have no departures. Not sure how that happened or if this is the source of my error, but I'm going to work with this assumption until proven otherwise.

from matsim-code-examples.

mrieser avatar mrieser commented on June 16, 2024

Which version of the SwissRailRaptor are you using? I remember that in early versions, there was a bug that caused such an error message, but that should hopefully have been fixed.
Also, there is a class org.matsim.pt.utils.TransitScheduleValidator which might help to find problems with the transit schedule.

from matsim-code-examples.

gregmacfarlane avatar gregmacfarlane commented on June 16, 2024

The raptor algorithm is in org.matsim.contrib.minibus.performance.raptor as outlined in the code examples, version 0.10.0

The schedule I am using had passed the validator.

from matsim-code-examples.

mrieser avatar mrieser commented on June 16, 2024

ah, the minibus-raptor. Don't know about that one (there are actually two different raptor implementations currently, the one in minibus and the one at https://github.com/SchweizerischeBundesbahnen/matsim-sbb-extensions). I know I had a similar problem and fixed it in the second one, but have no experience with the minibus-one.

from matsim-code-examples.

jfbischoff avatar jfbischoff commented on June 16, 2024

@vsp-gleich has tried to get the minibus raptor running for Cape Town and did not succeed either.
The Raptor provided by SBB works very stable and will, in one way or the other, may become the Standard Router in MATSim in the next release.

from matsim-code-examples.

gregmacfarlane avatar gregmacfarlane commented on June 16, 2024

Calling the SBB raptor resolved my issue. Thanks for all the help gentlemen...

    private void runControler() {

        // Run scenario
        Controler controler = new Controler(sc);

        // Use Swiss Rail RAPTOR transit router
        controler.addOverridingModule(new AbstractModule() {
            @Override
            public void install() {
                install(new SBBQSimModule());
                install(new SwissRailRaptorModule());
            }
        });

        controler.run();

        String dir = config.controler().getOutputDirectory();
        log.info("Output is in " + dir + ".") ;
    }

from matsim-code-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.