Vehicles( pedestrians, bikes, cars, trucks, rickshaws, trains, planes etc) in 
Sumo can only traverse paths/roads/tracks defined in the net file.

If your EV's are only going to be charged in specific 'lay-by' locations on the 
road network then I guess you could create a secondary set of roads/rails, 
restricted to 'drones', overlaying the road network as 'airways' - not 
necessarily following the roads but visiting each charge lay-by.

It's also easy enough to neutralise the colours of specific road classes to 
make them disappear or merge into a background image - ie allowing the gui 
representation to have invisible routes.

The issue being that you cannot model ad-hoc point to point routes for the 
drones - there has to be an 'airway' for sumo to model against.

( Not necessarily a "gotcha" - I think it is likely that drone traffic will end 
up being mandated to airway equivalents simply to avoid collisions - 3d 
collision avoidance and responsive enough drone manoeuverability to make that 
work is just not practical or even on the drawing board - the consequences of 
flying energy packs colliding and dropping onto a school, hospital etc are 
unpleasant.)

I had some success modelling airports using an 'aircraft' shape and rail lines 
as taxiways/runways etc. I did look at modelling real airways but the huge 
distances involved relative to vehicle sizes and the variation in flight levels 
meant the gui representation was just a bunch of lines - I concluded that the 
only bit worthy of modelling was probably the terminal area zones.

good luck
div
On Saturday, 6 January 2024 at 13:25, Sadi M Jawad Ahsan via sumo-user 
<[email protected]> wrote:

> 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