Hello everyone,
I’m tring to explore feedinlib but unfortunately it doesn’t work.
After comand “pip install feedinlib”, I got this:
So in my folder “feedinlib” there are “models.py”, “powerplants.py” and “weather.py”. Nothing else. So I startes to study examples:
And there always were
from feedinlib import Photovoltaic
from feedinlib import WindPowerPlant
from feedinlib.models import WindpowerlibTurbineCluster
or
from feedinlib import era5
In my feedinlib folder were nothing of these, so i always got such an answers
ImportError: cannot import name 'Photovoltaic' from 'feedinlib' (C:\Users\ang63381\Anaconda3\lib\site-packages\feedinlib\__init__.py)
Then I found this feedinlib/src/feedinlib at 773cde0a2e5662b37d3be12d4d4ef6084907f5e6 · oemof/feedinlib · GitHub
and downloaded all the files from here to my “feedinlib” but these still no “Photovoltaic.py”, “WindPowerPlant.py”, “WindpowerlibTurbineCluster.py” . Where can I find them?
At least I found era5.py. But still when I call it in Python “from feedinlib import era5” I get this:
Traceback (most recent call last):
File ~\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py:3369 in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
Input In [3] in <cell line: 1>
from feedinlib import era5
File ~\Anaconda3\lib\site-packages\feedinlib\era5.py:8
<!DOCTYPE html>
^
SyntaxError: invalid syntax
I made everything what writen here feedinlib/load_era5_weather_data.ipynb at 773cde0a2e5662b37d3be12d4d4ef6084907f5e6 · oemof/feedinlib · GitHub
here How to use the CDS API |
here How to install and use CDS API on Windows - Copernicus Knowledge Base - ECMWF Confluence Wiki
But result is still the same. I don’t have any other idea what i should do to get any access to Feedinlib? Please help me. What’s wrong?