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

query_procured_balancing_capacity doesn't work with type_marketagreement_type = 'A01' parameter #312

Open
beregmiklos opened this issue Feb 26, 2024 · 2 comments
Labels
more info needed when more info is needed from the person opening the issue

Comments

@beregmiklos
Copy link

Dear Developers,

I'm trying to use the EntsoePandasClient.query_procured_balancing_capacity method with the type_marketagreement_type parameter set to 'A01'. I found out that this type of document is limited and and it exceeds this limit even with the smallest time frame possible, which makes the code ending up in an infinite loop. I know that there's a designated decorator for that but I couldn't find out how to use it correctly.

I really hope you could help me fixing this issue.

@beregmiklos beregmiklos changed the title query_procured_balancing_capacity doesn't work with type_marketagreement_type= 'A01' parameter query_procured_balancing_capacity doesn't work with type_marketagreement_type = 'A01' parameter Feb 26, 2024
@fboerman
Copy link
Collaborator

hi @beregmiklos , do you have a short code snippit to demonstrate this issue?

@fboerman fboerman added the more info needed when more info is needed from the person opening the issue label Feb 26, 2024
@beregmiklos
Copy link
Author

Hi @fboerman, you could use this code to recreate the issue:

start_date = pd.Timestamp(2024, 2, 6, tzinfo = tz.gettz('Europe/Budapest'))
end_date = pd.Timestamp(2024, 2, 7, tzinfo = tz.gettz('Europe/Budapest'))
country_code = 'HU'

df_balancing_capacity = client.query_procured_balancing_capacity(country_code, start = start_date, end = end_date, process_type = 'A51', type_marketagreement_type = 'A01')

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

2 participants