Skip to content
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

No function to query the Aggregated Unavailability of Consumption Units and Unavailability of Offshore Grid #266

Open
echoqsun opened this issue Jul 30, 2023 · 2 comments
Labels
more info needed when more info is needed from the person opening the issue

Comments

@echoqsun
Copy link

Hello, when I tried to use this function'_query_unavailability' to query the data about the Aggregated Unavailability of Consumption Units or data about Unavailability of Offshore Grid, but this function didn't access to data in the document type of 'A76' and 'A79'.

There is my code:
start = pd.Timestamp('20230101', tz='UTC')
end = pd.Timestamp('20230701', tz='UTC')
df5 = client._query_unavailability('DE_AMPRION', start = start, end = end, doctype='A76')
df5 = df5.tz_convert('UTC')
df5.head()

A80 = Generation unavailability

A77: production unavailability

A76: Aggregated Unavailability of Consumption Units [7.1A&B]

A78:Transmission unavailability[10.1.A/B]

A79: Offshore grid infrastructure unavailability

image

How can I query these tables? I really need your help~
Thanks in advance!

@LemuelKL
Copy link
Contributor

LemuelKL commented Aug 18, 2023

If there is not a particular function for your desired doctype, you can make use of the base request method. Here is a working example for A76:

GB = '10YGB----------A'
params = {
    'documentType': 'A76',
    'biddingZone_Domain': GB
}
start = pd.Timestamp('20151231', tz='utc')
end = pd.Timestamp('20161231', tz='utc')
response = client._base_request(params=params, start=start, end=end)
print(response.text)

Related documentation on ENTSOE: https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html

@fboerman
Copy link
Collaborator

hi @echoqsun @LemuelKL sorry for the late reply, I usually dont have the time to go through all the issues. @LemuelKL is correct you can always use the base_request.

However I am willing to add a proper function with parsing, but I need to have an example of actual data published. I clicked for example through the consumption unvailability but I only saw zeros. Could you provide the urls in the GUI of the queries you would like? And then an example with actual data output. Then I will look into it. Thanks!

@fboerman fboerman added the more info needed when more info is needed from the person opening the issue label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info needed when more info is needed from the person opening the issue
Projects
None yet
Development

No branches or pull requests

3 participants