Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] Adding own code structure for chargingStations
  • From: Filip Lukic <filip.lukic@xxxxxxxxxxxxxxx>
  • Date: Wed, 25 May 2022 08:06:09 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=donau-uni.ac.at; dmarc=pass action=none header.from=donau-uni.ac.at; dkim=pass header.d=donau-uni.ac.at; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jq9Mc3XdvlpkvHZR5jMstV5e/KjeHWMMEoZJJsYWpoc=; b=XdrOiSGZMeW4GUoGklIgktExuTe9p8U/oXBIIPnv417Tok6oSmSYopS4T6qbKnTVM5Tn07BawnOiejAR/jr+BxQahvMSBDih3LgUpeaPejFKXXL+63MKFgKn6qxuBzAnfhIgogzjSKohVOW78+1IYDLyHB4l7H41zXcQt97e/VT21if8N+92do3x/wyLGj+PAAvChUpxmLV2Abci9Vu28aWmt+zwqhj0IOHrsD5xFemgEUF0nRsK+IxpfQlyBk8yTpbRBv93F2fpuvubApJIXGG5vnfLlnCk8R/W5tMUfuSS4vbsMykS2xvxaGXZVkT10vMvvdVKPIcsoFYNY3jktg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l/n816AklLZ1jMIWh2lhuMyw3zQyTbOW7hiEQFTPoucgOq8IrSSB2vDQyk2cd91olgddFkOZStTK60IJv68vouubaw1DzVkj31bD381Ov15QA9GcvygO1r0qqbidoLuH7k+7sA/nImrvnCAGcru9j+4PCuEvW0Qp6KFjRlIxT74bcK2TWE/zR8cHPc1p8fUcZxVjlzjyUJrqYlgKXy9EwvrxtlWGA0p5A8Nr1QG6A1p5RZIE5TP3Q6T5pJb5PUgD9bB30IPTTE1S63N/pkfP19KYQK6MGWqQsml6J+vpRD6nYoFLIo9AahdePWKSLukIsryAfcmq30GQOE2ZR3/OWg==
  • Delivered-to: sumo-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-dev/>
  • List-help: <mailto:sumo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=unsubscribe>
  • Suggested_attachment_session_id: cadb5137-1af2-91b6-2cd3-65756ca9e1a5
  • Thread-index: AQHYa39c051Z432tc0K3BCSli0KEha0mMSWAgAkT7V0=
  • Thread-topic: [sumo-dev] Adding own code structure for chargingStations

Dear SUMO-Dev Community,

thank you very much. I will try the generic Parameters.

Regards,
Filip

Von: sumo-dev <sumo-dev-bounces@xxxxxxxxxxx> im Auftrag von Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Gesendet: Donnerstag, 19. Mai 2022 15:26
An: sumo developer discussions <sumo-dev@xxxxxxxxxxx>
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.lukic@xxxxxxxxxxxxxxx>:
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@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev

Back to the top