Re: [sumo-user] [EXT] AW: [new user] - my train is not picking up the container at the container stop

2023-12-18 Thread Mirko Barthauer via sumo-user
Hi Hector, OK I found the problem after staring for too long at other parts of your scenario: You didn't define the container capacity of your train. Its default value is 0, that's why it didn't accept to load containers. I have added a note to the container summary page

Re: [sumo-user] od2trips erros and TAZ definition in a large network

2023-12-18 Thread manos kampitakis via sumo-user
Hi, Regarding the first problem, if you mean bus lanes (only lane) then you can set the departLane (vehicle) attribute to "allowed". If you mean that whole edges where vehicles are disallowed then you can do what Mirko suggested or you can find the set of edges where vehicles are not allowed and d

Re: [sumo-user] Question regarding buses at bus stops

2023-12-18 Thread Joseph Grech via sumo-user
Dear Mirko, Unfortunately, for some reason, if I change the 'line' attribute, people are still boarding the bus. So I still need to find a solution for letting people get off the bus and at the same time prohibiting those waiting at the stop from boarding. Regards, Joseph On Mon, 18 Dec 2023 at

Re: [sumo-user] change the lane function during the simulation

2023-12-18 Thread Mirko Barthauer via sumo-user
Hi Tianli, you cannot add/remove connections during the simulation. Every connection you want to use has to be defined in advance. What you can do dynamically: define who can access a connection (traci.lane.setAllowed ). Now I

Re: [sumo-user] od2trips erros and TAZ definition in a large network

2023-12-18 Thread Mirko Barthauer via sumo-user
Hi Meng, such problems grow with network size and are not easy to fix automatically. Do you add public transport from schedules with fixed routes? Then you could use the --vclass option in edgesInDistricts.py and exclude edges limited to public transport. Best regards Mirko -Origin

Re: [sumo-user] Setting gradient for a road

2023-12-18 Thread Mirko Barthauer via sumo-user
Hi Simon, you set the gradient implicitly through the Z coordinate of your road geometry. You can add edit the node positions in netedit inspection mode and add a third dimension. Example: * you have a node with position 10.0,20.0 * setting it to 10.0,20.0,5.0 raises the node by 5m You

Re: [sumo-user] Question regarding buses at bus stops

2023-12-18 Thread Mirko Barthauer via sumo-user
Dear Joseph, I have some (untested!) ideas on how this could be modeled. If you care mainly about how long the stop lasts, you could modify it using TraCI (see traci.vehicle.setStopParameter ). Especially there is t

Re: [sumo-user] [EXT] AW: [new user] - my train is not picking up the container at the container stop

2023-12-18 Thread Mirko Barthauer via sumo-user
Hi Hector, do you watch the simulation in sumo-gui? Where is the container and where is the train at the time you want the loading to happen? I recreated a similar simulation and didn't encounter problems. Please take care that tranship needs time (defined implicitly by the euclidean distance

[sumo-user] change the lane function during the simulation

2023-12-18 Thread 薛田莉 via sumo-user
Hello, To adapt to the changing traffic flow, I intend to switch the function of a lane during the simulation, such as switching the left-turn lane to the straight lane. So I obtained the real-time simulation results by traci and modified the net-file when the simulation results reached the set