-
Notifications
You must be signed in to change notification settings - Fork 952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MN production parser down #5906
Comments
See #5905 |
Closing this as the electricity data is flowing again. |
Reopening this as the electricity data is no longer flowing. |
The endpoint (used by the parser, but also the website) now redirects to a login page instead of returning the JSON. This is probably a mistake, as the web page still prominently features the image in which the generation was displayed. Their e-mail if someone wants to contact them: [email protected] |
Closing this as the electricity data is flowing again. |
Reopening this as the electricity data is no longer flowing. |
Same issue as before
|
Bump, still an issue. Would greatly appreciate any help on this one 🙏 |
I checked again, this time it isn't due to the endpoint being down as I can see the JSON response at https://disnews.energy.mn/convertt.php. Not sure what's causing it this time, then. |
Ah thanks! I had a look and it appears there's a key error: File "/contrib/parsers/MN.py", line 96, in fetch_production Perhaps they've changed the data structure |
I can take a look at it later today then if you wish? |
Hi! It seems they have also updated the webpage recently: Together with the new response from the endpoint:
In theory the only changes needed would be to update the keys that have changed, and add the new ones to the ignored list. These new ones would be "dts", which seems to be thermal power plants (they use the same icon to refer to these in the pdf below) and "Songino", which I'm quite unsure but may refer to a place in Mongolia. |
https://www.adb.org/sites/default/files/project-documents/48030/48030-001-tacr-en_2.pdf page 42 (45 in the PDF) says that it's the name of a substation (and probably a place nearby as well, I'd assume). |
I've looked into the 'Songino' key. TL;DR it's battery storage. How I've found this out:
So, we can conclude it's battery storage. Unfortunately I haven't actually seen values for this yet other than |
I agree that "songino" is battery storage, but I remember that when I looked into it I found several problems which led me to believe then that getting useful information was impossible. Maybe someone can come up with a better idea though: Firstly, there is an unknown quantity, which we assume that is hydro but may include random oil generators, etc that is not reported as a value but needs to be inferred from the sum of the other values and the total sum. Up to here there is no problem. However, due to the battery system, the sum gets mangled. It seems that when the value is positive (the battery exports power) the value is added to the syssum. When it consumes power though, it appears to me that it is not added. I believe this because, if I recall correctly, I have seen the other values (dts, sumnar, sumsalhit, import) add more than syssum. If there was only the battery we could just calculate consumption or subtract its value when positive to get the value as if there was no battery. With both unknown quantities this becomes impossible under the current data system. It is also impossible to consider together the unknown and the battery as they may add negative and production can't be negative. All this is based on speculation as to what does the source really mean based on several measures. It is truly a black box and we could never be sure we are understanding correctly the meaning of all the data. And add to these other shenanigans such as the fact that solar is sometimes negative (only by a mere 0.2 MW). It could be possible to produce a statistic for the coal production, or wind, etc, but it would be a feat of utmost difficulty to produce a meaningful carbon footprint, especially in a hourly basis. Overall I think that this source is of very poor value, and that it would be best if someone could contact the source (maybe someone knows Mongolian or more probably Russian?) and ask them to adhere to the usual reporting conventions or at least explain the meaning of the values. The source is quite unofficial though (we're using here a random API call used as decoration on the page, not the main content of an official reporting page) so it is possible that they won't care enough or we discover after asking that this data has up to 5% error or whatever. Otherwise the only two solutions I imagine are:
|
Other possible explanations for more generation than consumption: transmission losses, either consumption or production data being somewhat delayed w.r.t. the other, or gross generation (so including self-consumption) being reported instead of net. Doesn't have to be related to the battery, and TBH it would surprise me a bit if that was the case. Also, IIRC ElectricityMaps has other countries where we have generation but not consumption for hydro storage or battery, so I don't think it should be a blocker.
Self-consumption being reported is a pretty normal thing we've seen in other parsers too. |
Description
This is an automatic error report generated for Mongolia (MN).
Issues:
consumption
parserproduction
parserSuggestions
poetry run test_parser MN production
You can see an overview of all parser issues here.
The text was updated successfully, but these errors were encountered: