Dear SUMO-Dev Community, thank you very much. I will try the generic Parameters.
Regards, Filip ________________________________ Von: sumo-dev <sumo-dev-boun...@eclipse.org> im Auftrag von Jakob Erdmann <namdre.s...@gmail.com> Gesendet: Donnerstag, 19. Mai 2022 15:26 An: sumo developer discussions <sumo-dev@eclipse.org> Betreff: Re: [sumo-dev] Adding own code structure for chargingStations Netedit supports adding arbitrary <param>s to charging stations (and many other objects). These parameters (https://sumo.dlr.de/docs/Simulation/GenericParameters.html) are available within the simulation and can be queried via TraCI. Thus, the easiest solution would be giving every station something like <param key="group" value="GROUPID"/>. You could also use params to define the maximum power of the group (i.e. by adding key="groupPower" to one or all of the stations for that group). Alternatively, you might also repurpose the wires/substations for your needs (https://sumo.dlr.de/docs/Models/ElectricHybrid.html#traction_substation) Experimental Netedit support for these has recently been added. Am Do., 19. Mai 2022 um 14:59 Uhr schrieb Filip Lukic <filip.lu...@donau-uni.ac.at<mailto:filip.lu...@donau-uni.ac.at>>: Dear SUMO-Dev Community, I am starting to work on extending Netedit and SUMO and I want to make a structure, that can make a group of chargingStations, so that such a group of chargingStations has an own attribute. Example: chargingStationGroup1 has multiple chargingStations and a Attribute for describing the sum of all 'powers' of this Group chargingStationGroup2 has multiple chargingStations and a Attribute for describing the sum of all 'powers' of this Group etc. Unfortunately I really don't know how and where to start by implementing such an own structure. Regards, Filip _______________________________________________ sumo-dev mailing list sumo-dev@eclipse.org<mailto:sumo-dev@eclipse.org> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev
_______________________________________________ sumo-dev mailing list sumo-dev@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev