enrich irve socket max output#2571
Conversation
8a63ea2 to
e60258e
Compare
50ea73e to
0ffd8c2
Compare
|
Please, can you rework your PR in order to minimize code changes. Include only english comment to code. |
fd2a6f1 to
6ee895c
Compare
6ee895c to
103f219
Compare
|
@frodrigo i updated the branch to minimize changes and translated comments in English |
| if raw is None: | ||
| return None | ||
|
|
||
| s = str(raw).strip() |
There was a problem hiding this comment.
raw is not alredy a string ?
There was a problem hiding this comment.
now that you say it, it must be so. i changed it
| if s == "": | ||
| return None | ||
|
|
||
| max_kw = getattr(self, "MAX_POWER_KW", 500) |
There was a problem hiding this comment.
It s class attrib, will be defined.
There was a problem hiding this comment.
ok changed to a call of self
|
@tykayn please, can you review the comments. |
|
Thank you. Merged, but not deployed yet. |
|
I didn't understand how this could work, the pre-processed csv doesn't have |
|
I also doubt that Examples :
|
|
hi @Marc-marc-marc in the original open data it apprears to be associated to maybe one or more sockets, so it is per stall. But open data providers seem to disagree about wether a line in the spreadsheet is a stall or a pool of stalls. it didnt make crash my dev env when i ran the analysis, so that is weird. the PR of @guiohm is interesting, i hope it will bring some clarity. |
Note, there is download cache. |
removes values that are more than the max known of 400kW to be set as the max power output of a charging station, adds a tag to correct values.
Also handles enumerations of this values to keep the maximum value.
The column evaluated in the dataset of French IRVE is "puissance_nominale" by the function "getPuissanceNominaleInKw".
Tested locally with docker on Monaco and Ile de France zones, returns proposals for the "charging_station:output" tag as "n kW" when finding good values.