Tool for planning and optimizing virtual stations in demand-responsive transport systems by defining and minimizing a global energy.