Comments (4)
The EG compontent uses the elmada module to get day ahead market prices and carbon emission factors mainly from ENTSO-E. For it to work, you need a valid ENTSO-E API key, see Number 9 of https://github.com/DrafProject/draf#quick-start. This involves sending an email to Entsoe, receiving an API key, and storing the key using elmada.set_api_keys(entsoe="YOUR_ENTSOE_KEY")
where YOUR_ENTSOE_KEY needs to be replaced with the actual key. If you don't need the elmada module, you can still build your own EG component based on the existing component in https://github.com/DrafProject/draf/blob/main/draf/components/component_templates.py.
from draf.
I have requested an API key and followed the steps. However I do not have access to the Entsoe platform. I requested another API with another email and it didn't work either. I waited for the weekend, thinking that maybe I didn't have active access but 3 days later it didn't work.
When I open the page it shows me: "Please be informed that the legacy REST API endpoint in no longer supported. Only new REST API endpoint is now supported by Transparency Platform".
I am not clear what is the difference between these two APIs and also since when this update was made. Maybe this is the cause of the error?
from draf.
Good hint. It looks like the cause. We should investigate how to access the new API. This should be an issue for https://github.com/EnergieID/entsoe-py as well.
from draf.
Hello @mfleschutz
I took a look at entsoe-py.
The entsoe version automatically installed by Draf is V0.2.10. However the latest version is V0.5.10.
To solve this issue it would be enough to update the entsoe-py version as recommended in:
EnergieID/entsoe-py#248
Doing this I got this ERROR though:
When I run Draf with entsoe-py V0.5.10 I get a new error. This error is possibly due to changes made from entsoe-py V0.3 (EnergieID/entsoe-py#73) in which they replace the DOMAIN MAPPINGS object with AREA.
In this case, the elmada library is no longer compatible with the object included/replaced in entose-py from V0.3 onwords.
Downgrading entsoe-py to V0.2.10 and after getting an answer from the transparencyplatform, the isue is caused because the endpoint has changed.
here the link:
https://transparencyplatform.zendesk.com/hc/en-us/articles/15696677194644
to update the endpoint (URL) in code, go to C:\Users\User\anaconda3\envs\your_envr\Lib\site-packages\entsoe\entsoe.py
It works this way. Important is to have pandas V1.3.5
from draf.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from draf.