EnergieID / entsoe-py

Python client for the ENTSO-E API (european network of transmission system operators for electricity)
MIT License
410 stars 182 forks source link

EntosePandasClient.query_generation_per_plant() results in NoMatchingDataError for DE and DK #338

Open NicbechVolt opened 1 month ago

NicbechVolt commented 1 month ago

I am encountering an issue when querying generation per plant data for DK and DE using the Entso-e API via entsoe-py. The query results in an error message, while the same query works fine for SE.

Code

start = pd.Timestamp('20240601', tz='UTC')
end = pd.Timestamp('20240701', tz='UTC')
country_code = 'DK'

data = client.query_generation_per_plant(country_code=country_code, start=start, end=end)

Error message

image

It looks like the reason is empty data, but is this a problem with the Entso-e API or entsoe-py? Any guidance or suggestions on how to troubleshoot this further would be greatly appreciated.

fboerman commented 1 month ago

Have you tried to use the bidding zone DK_1 or DK_2 instead of country code?

⁣Get BlueMail for Android ​

On 25 Jul 2024, 09:05, at 09:05, NicbechVolt @.***> wrote:

I am encountering an issue when querying generation per plant data for DK and DE using the Entso-e API via entsoe-py. The query results in an error message, while the same query works fine for SE.

Code

start = pd.Timestamp('20240601', tz='UTC')
end = pd.Timestamp('20240701', tz='UTC')
country_code = 'DK'

data = client.query_generation_per_plant(country_code=country_code,
start=start, end=end)

Error message

image

It looks like the reason is empty data, but is this a problem with the Entso-e API or entsoe-py? Any guidance or suggestions on how to troubleshoot this further would be greatly appreciated.

-- Reply to this email directly or view it on GitHub: https://github.com/EnergieID/entsoe-py/issues/338 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

NicbechVolt commented 1 month ago

I have tried that as well, but unfortunately, I get the same error.