Hello,
I have a research project for which I need to use SUMO and its APIs. I will
describe the scenario of what I am trying to do.

I am trying to simulate the emergency charge scheduling of multiple
electric vehicles via a drone or a mobile charging device. The drone
reports to a Global Charging Station (reports means taking instructions to
go and charge, reporting termination of operation in case of failure to
charge or even if the drone itself needs to be charged). When N number of
vehicles request different units of charge from the drone, the drone
compiles the requests and based on different algorithms, prepares a
priority list of charge requesting vehicles. The drone then flies from its
docking station and charges all the vehicles (the vehicles are all inside
the drone's charging radius) according to the priority list. I need to
output the total flying distance of the drone.

What I have done so far is, I have generated the net, route and trip files
for the vehicles, but I don't know how to declare a drone in SUMO. I also
don't understand how to make a flying path for the drone, since the
vehicle's at the moment are moving from one edge to the other in a 10x10
Manhattan Grid.

I need to know if I can simulate a drone in SUMO and declare its path. If
so, then how? I also need to understand how the priority algorithms can be
used in the python script where I am using SUMO and TracI.

Please let me know if you have any questions.

Thanks
Jawad


On Sat, Jan 6, 2024 at 7:13 AM Hriday Sanghvi via sumo-user <
[email protected]> wrote:

> Hello,
>
> I was trying to implement dynamic flows where I wanted to *change the
> vehsPerHour mid-simulation*.
>
> Example flow:
> <flow arrivalLane="current" arrivalPosLat="center" begin="0"
> departLane="random" departPosLat="center" departSpeed="max" id="flow_btt"
> number="100" route="bottom_to_top" type="veh" vehsPerHour="6000" />
>
> I couldn't find a way to *dynamically set/update flows using TraCI*, so I
> assume I have to add vehicles using TraCI to simulate a particular type of
> flow?
>
> 1. So *if I wanted to insert vehicles at a rate of 6000 vehs/Hour, I need
> to insert 6000 / (60 x 60) = 1.6667 vehs/Second or 2 vehs/Second? (assuming
> 1 second = 1 TraCI simulationStep()?*
>
> 2. There seem to be limitations to 1. For example, *if there is a road
> with only a single lane, then there is a maximum vehicle flow that it can
> tolerate, beyond which there is no effect. Is that correct? So I would have
> to have multiple lanes to increase the flow?*
>
> 3. Assuming 2 is correct, *since 1 lane cannot have a flow higher than 1
> vehs/Second, I will need as many lanes 'x' to accommodate the desired flow
> [x] vehs/Second? If not, then what are the other ways apart from increasing
> number of lanes that can increase the capacity of the road to tolerate more
> vehsPerHour or flow?*
>
> Please advise.
>
> Thank you,
> Sincerely,
> Hriday
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>


-- 
Sadi M Jawad Ahsan
Graduate Teaching Assistant
Department of Computer Science & Electrical Engineering
mail to: [email protected]
mob: (240)7565564
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to