Git Product home page Git Product logo

feedinlib's Introduction

Open Energy Modelling Framework (oemof)

The Open Energy Modelling Framework (oemof) is a Python toolbox for energy system modelling and optimisation.

The oemof project aims to be a loose organisational frame for tools in the wide field of (energy) system modelling. Every project is managed by their own developer team but we share some developer and design rules to make it easier to understand each other's tools. All project libraries are free software licenced under the MIT license.

All projects are in different stages of implementation, some even may not have a stable release, but all projects are open to be joined by interested people. We do not belong to a specific institution and everybody is free to join the developer teams and will have the same rights. There is no higher decision level.

oemof community

This repository is also used to organise everything for the oemof community.

  • Webconference dates
  • Real life meetings
  • Website and Mailinglist
  • General communication

You can find recent topics of discussion in the issues.

Real life meetings

The oemof community meets in person on a regular basis. Find the latest information on the next meeting(s) on this wiki page: https://github.com/oemof/oemof/wiki

feedinlib's People

Contributors

bachibouzouk avatar birgits avatar ckaldemeyer avatar fwitte avatar gnn avatar gplssm avatar jonas912 avatar p-snft avatar pajot avatar sabinehaas avatar uvchik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

feedinlib's Issues

Examples do not work when installing with pip install feedinlib

One need to run pip install feedinlib --pre for the moment

and even then the following error pops

File "feedin.py", line 1, in <module>
    from feedinlib import era5
  File "/lib/python3.8/site-packages/feedinlib/__init__.py", line 5, in <module>
    from .powerplants import Photovoltaic, WindPowerPlant
  File "/lib/python3.8/site-packages/feedinlib/powerplants.py", line 24, in <module>
    from feedinlib.models.pvlib import Pvlib
ModuleNotFoundError: No module named 'feedinlib.models'

This is easily solvable by adding "feedinlib.models" to the list of packages in ´setup.py´

Would it be possible to make an actual release of the current stand of dev instead of the not working last release on pypi?

ERA5T Data cannot be processed in function era5.weather_df_from_era5

Since recently it's possible to download ERA5T reanalysis data (ERA5T= ERA5 preliminary data) within a normal ERA5 request. This can happen when you request data not older than 3 months. The request will be processed by Copernicus like any other ERA5 request, only to provide a NetCDF with two columns per requested variable (e.g. v100). These columns are the same as normal ERA5 request, only with suffix '_0001' or '_0005'. More information here:

https://confluence.ecmwf.int/display/CKB/ERA5%3A+data+documentation

I think the proper place to change is at the following location:

(If I have a bit of time left, I can create a pull request.)

missing positional arguments: 'latitude' and 'longitude'

Hello,

I am working atm with the feedinlib. The creation of the feedin of a wind power geenrator worked very well. Now I am struggeling with the pv module.

If I just use the example file, I get the following Error:

PS D:\OneDrive\Desktop\feedinlib-dev(1)\feedinlib-dev\example> python feedinlib_example.py
INFO:root:Copying weather data from http://vernetzen.uni-flensburg.de/~git/weather.csv to C:\Users\Konstantin Kubina\.oe
mof\weather.csv
INFO:root:Copying weather data from http://vernetzen.uni-flensburg.de/~git/weather_wittenberg.csv to C:\Users\Konstantin
 Kubina\.oemof\weather_wittenberg.csv
C:\Users\Konstantin Kubina\.oemof\weather.csv
C:\Users\Konstantin Kubina\.oemof\weather_wittenberg.csv
INFO:root:Failed loading cp values from hdf file, trying csv.
INFO:root:Failed loading cp values from hdf file, trying csv.
Traceback (most recent call last):
  File "feedinlib_example.py", line 141, in <module>
    pv_feedin1 = yingli_module.feedin(weather=my_weather, number=30000)
  File "C:\Python34\lib\site-packages\feedinlib\powerplants.py", line 146, in feedin
    return super().feedin(**kwargs)
  File "C:\Python34\lib\site-packages\feedinlib\powerplants.py", line 112, in feedin
    feedin = self.model.feedin(**combined) * kwargs['number']
  File "C:\Python34\lib\site-packages\feedinlib\models.py", line 132, in feedin
    return self.get_pv_power_output(**kwargs).p_mp
  File "C:\Python34\lib\site-packages\feedinlib\models.py", line 510, in get_pv_power_output
    data = self.solarposition_hourly_mean(location, data, **kwargs)
  File "C:\Python34\lib\site-packages\feedinlib\models.py", line 178, in solarposition_hourly_mean
    time=data_5min.index, location=location, method='ephemeris')
TypeError: get_solarposition() missing 2 required positional arguments: 'latitude' and 'longitude'

Here is the Example File:

#!/usr/bin/python3
# -*- coding: utf-8

import pandas as pd
import logging
import os
try:
    from urllib.request import urlretrieve
except:
    from urllib import urlretrieve

try:
    from matplotlib import pyplot as plt
    plot_fkt = True
except:
    plot_fkt = False

from feedinlib import powerplants as plants
from feedinlib import models
from feedinlib import weather

# Feel free to remove or change these lines
import warnings
warnings.simplefilter(action="ignore", category=RuntimeWarning)
logging.getLogger().setLevel(logging.INFO)


# Specification of the weather data set CoastDat2
coastDat2 = {
    'dhi': 0,
    'dirhi': 0,
    'pressure': 0,
    'temp_air': 2,
    'v_wind': 10,
    'Z0': 0}

# Specification of the pv module
advent210 = {
    'module_name': 'Advent_Solar_Ventura_210___2008_',
    'azimuth': 180,
    'tilt': 30,
    'albedo': 0.2}

# Specification of the pv module
yingli210 = {
    'module_name': 'Yingli_YL210__2008__E__',
    'azimuth': 180,
    'tilt': 30,
    'albedo': 0.2}

# Specifications of the wind turbines
enerconE126 = {
    'h_hub': 135,
    'd_rotor': 127,
    'wind_conv_type': 'ENERCON E 126 7500'}

vestasV90 = {
    'h_hub': 105,
    'd_rotor': 90,
    'wind_conv_type': 'VESTAS V 90 3000'}


def download_file(filename, url):
    if not os.path.isfile(filename):
        logging.info('Copying weather data from {0} to {1}'.format(
            url, filename))
        urlretrieve(url, filename)


def fetch_example_files():
    basic_path = os.path.join(os.path.expanduser("~"), '.oemof')
    filename1 = os.path.join(basic_path, 'weather.csv')
    url1 = 'http://vernetzen.uni-flensburg.de/~git/weather.csv'
    filename2 = os.path.join(basic_path, 'weather_wittenberg.csv')
    url2 = 'http://vernetzen.uni-flensburg.de/~git/weather_wittenberg.csv'
    if not os.path.exists(basic_path):
        os.makedirs(basic_path)
    download_file(filename1, url1)
    download_file(filename2, url2)
    return filename1, filename2


def ready_example_data(filename, datetime_column='Unnamed: 0'):
    df = pd.read_csv(filename)
    return df.set_index(pd.to_datetime(df[datetime_column])).tz_localize(
        'UTC').tz_convert('Europe/Berlin').drop(datetime_column, 1)


filename1, filename2 = fetch_example_files()
print(filename1)
print(filename2)
# Two Variants to create your weather object
#1. Variant: Passing all data to the weather class
weather_df = ready_example_data(filename1)
my_weather_a = weather.FeedinWeather(
    data=weather_df,
    timezone='Europe/Berlin',
    latitude=52,
    longitude=13,
    data_height=coastDat2)

#2. Variant: Loading a csv-file that has the feedinlib-csv-header (see docs)
my_weather_b = weather.FeedinWeather()
my_weather_b.read_feedinlib_csv(filename=filename2)

# Loading the weather data
my_weather = my_weather_b

# Initialise different power plants
# So far there is only one model available. So you do not have to pass a model
# (s. E126). If model is passed the default model is used.
# We hope that there will be different models in future versions. You can also
# write your own model an pass it to the powerplant.
E126_power_plant = plants.WindPowerPlant(**enerconE126)
V90_power_plant = plants.WindPowerPlant(model=models.SimpleWindTurbine,
                                        **vestasV90)

# Create a feedin series for a specific powerplant under specific weather
# conditions. One can define the number of turbines or the over all capacity.
# If no multiplier is set, the time series will be for one turbine.
E126_feedin = E126_power_plant.feedin(weather=my_weather, number=2)
V90_feedin = V90_power_plant.feedin(weather=my_weather,
                                    installed_capacity=15 * 10 ** 6)

E126_feedin.name = 'E126'
V90_feedin.name = 'V90'

if plot_fkt:
    E126_feedin.plot(legend=True)
    V90_feedin.plot(legend=True)
    plt.show()
else:
    print(V90_feedin)

# Initialise different power plants
# If you do not pass a model the default model is used. So far there is only
# one model available. This might change in future versions.
yingli_module = plants.Photovoltaic(**yingli210)
advent_module = plants.Photovoltaic(model=models.PvlibBased, **advent210)

pv_feedin1 = yingli_module.feedin(weather=my_weather, number=30000)
pv_feedin2 = yingli_module.feedin(weather=my_weather, area=15000)
pv_feedin3 = yingli_module.feedin(weather=my_weather, peak_power=15000)
pv_feedin4 = yingli_module.feedin(weather=my_weather)
pv_feedin5 = advent_module.feedin(weather=my_weather)

pv_feedin4.name = 'Yingli'
pv_feedin5.name = 'Advent'

# Output
if plot_fkt:
    pv_feedin4.plot(legend=True)
    pv_feedin5.plot(legend=True)
    plt.show()
else:
    print(pv_feedin5)

# Use directly methods of the model
# Write out all possible wind turbines.
w_model = models.SimpleWindTurbine()
w_model.get_wind_pp_types()

# Write out all possible pv-converters
print(models.PvlibBased().fetch_module_data(
    module_name='all', lib='sandia-modules').keys())

# Plot the cp curve of a wind turbine.
cp_values = models.SimpleWindTurbine().fetch_cp_values(
    wind_conv_type='ENERCON E 126 7500')
if plot_fkt:
    plt.plot(cp_values.loc[0, :][2:55].index,
             cp_values.loc[0, :][2:55].values, '*')
    plt.show()
else:
    # The value for 8 m/s
    index = cp_values.loc[0, :][2:55].index == '8'
    print(cp_values.loc[0, :][2:55].values[index][0])

logging.info('Done!')

The Positional Arguments should normally be in here (weather_wittenberg.csv):

# name: Wittenberg/Germany
# longitude: 13
# latitude: 52 
# timezone: Europe/Berlin
# data_height temp_air: 2
# data_height v_wind: 10

I can not figure out, why the positional arguments are not transferred to the pvlib.

Thank you for your help.

Module name look-up table

According to #6 it is quite nasty to get the right name of modules in the sandia modules database. Create a look-up table in some accessible way...

Problems while running the feedin function

Hello, after I have done correctly all the previous steps of the weather and setting up the photovoltaic object(which work correctly), when I do the calculate the feedin part it doesnt work, it appears two errors and I dont know why.
Please reply me if you know the error and what I have to do,
Thank you

CapturaA
CapturaB
CapturaC

Remove check of python version in setup.py

The restriction to install the windpowerlib with python versions specified in the setup.py should be removed since the windpowerlib also works with newer python versions and might also work with python versions < 2.7. Instead of restricting the python version it should be pointed out in the README with which python version(s) the windpowerlib was tested and will definitely work.

Weather locations check in Region class

In the new feedinlib it is planned to be able to use available weather data as well as your own data.
In the Region class it is looped over the weather locations. It would be nice to get a warning if the weather locations are very far away from the power plant's location (maybe a km range as parameter). This would prevent bugs by entering the "wrong" weather data or in case users enter power plant locations not covered by the available weather data.

can not run file [load_open_fred_weather_data.ipynb] online by binder or using my PC

hi, I want to run load_open_fred_weather_data.ipynb file, but no matter I use binder online or on my PC , errors will appear.

When i use the binder online, it shows that the 'open_FRED' module cannot be found.

image

When i try to run it on my PC, there will be another error: AttributeError: 'NoneType' object has no attribute 'id'

image
image

Has anyone encountered the same problem and how did you solve it? I hope that feedinlib Team can solve this problem as soon as possible.

Webco in February

@gnn it would be good if we had a webco early in February where we should have prepared and talk about the following topics:

  • weather object - We came up with the idea yesterday that it could be an xarray dataset. The question is if indexes can be of type datetime and lon/lat values or need to be integers and if the index can be multiindex in order have (lon/lat) as one dimension. (ToDo of @gnn)
  • interface to pvlib and windpowerlib - how could it look like (ToDo of @birgits and @gnn)
  • download and preparation of MERRA data (ToDo of @birgits)

Would February 7th work for you?

Method WindPowerPlant() overwrites parameter of foreign objects

Power plant object's parameters initialized by E126_power_plant = plants.WindPowerPlant(model=wind_model, **enerconE126)

is overwritten by applying method WindPowerPlant() to other objects such as V90_power_plant = plants.WindPowerPlant(model=wind_model, **vestasV90)

Generation data, later calculated to E126_feedin is not touched by this issue.

Editing lines 107 - 116 of 'feedinlib_example.py' to (see attached)

# Initialise different power plants
from pprint import pprint
E126_power_plant = plants.WindPowerPlant(model=wind_model, **enerconE126)
print('E126 init')
pprint(vars(E126_power_plant.model))
pprint(vars(E126_power_plant.model.powerplant))
V90_power_plant = plants.WindPowerPlant(model=wind_model, **vestasV90)
print('V90 init')
pprint(vars(E126_power_plant.model))
pprint(vars(E126_power_plant.model.powerplant))

# Create a feedin series for a specific powerplant under specific weather
# conditions. One can define the number of turbines or the over all capacity.
# If no multiplier is set, the time series will be for one turbine.
E126_feedin = E126_power_plant.feedin(data=my_weather_df, number=2)
print('E 126 feedin')
print(E126_feedin.sum())
V90_feedin = V90_power_plant.feedin(
    data=my_weather_df, installed_capacity=15000)
print('V 90 feedin')
print(E126_feedin.sum())
print(V90_feedin.sum())

returns following output

E126 init
{'nominal_power_wind_turbine': None,
 'powerplant': <feedinlib.powerplants.WindPowerPlant object at 0x7f42f2081518>,
 'required': ['d_rotor', 'wind_conv_type', 'h_hub', 'data_height']}
{'d_rotor': 127,
 'data_height': {'Z0': 0,
                 'dhi': 0,
                 'dirhi': 0,
                 'pressure': 0,
                 'temp_air': 2,
                 'v_wind': 10},
 'h_hub': 135,
 'model': <feedinlib.models.WindPowerPlant object at 0x7f43027e65f8>,
 'wind_conv_type': 'ENERCON E 126 7500'}
V90 init
{'nominal_power_wind_turbine': None,
 'powerplant': <feedinlib.powerplants.WindPowerPlant object at 0x7f42f2081390>,
 'required': ['d_rotor', 'wind_conv_type', 'h_hub', 'data_height']}
{'d_rotor': 90,
 'data_height': {'Z0': 0,
                 'dhi': 0,
                 'dirhi': 0,
                 'pressure': 0,
                 'temp_air': 2,
                 'v_wind': 10},
 'h_hub': 105,
 'model': <feedinlib.models.WindPowerPlant object at 0x7f43027e65f8>,
 'wind_conv_type': 'VESTAS V 90 3000'}
E 126 feedin
23349973243.1
V 90 feedin
23349973243.1
23961151965.7

Duplication of powerplant classes in feedinlib

@oemof/feedinlib , @oemof/oemof-main
So far the powerplant classes (Base and its children) in powerplants.py duplicate the powerplant classes idea of oemof_base. Either it should be a child class of an oemof_base component class (and then it should be integrated in oemof_base, because it is not independent anymore) or feedinlib should consists more of just functions and no powerplant classes anymore.

What do you think?

Roadmap to v0.1

What needs to be done.

  • Revise the docs -> #63
  • Revise example structure -> #61
  • Check all issues (some are deprecated)

Deprecated warning with pvlib

If we are not able to fix that soon, we should restrict the version of the pvlib to <0.9.

.../site-packages/pvlib/pvsystem.py:485: pvlibDeprecationWarning: 

temperature_model_parameters, racking_model, and module_type are not specified. Reverting to deprecated default: SAPM cell temperature model parameters for a glass/glass module in open racking.
In v0.9, temperature_model_parameters or a valid combination of racking_model and module_type will be required.

pvlibDeprecationWarning

load_open_FRED_weather_data example not working (feedinlib==0.1.0rc4)

I have created a new environment and installed feedinlib==0.1.0rc4, and when I try to load weather data for a single location using the example 'load_open_fred_weather_data', I receive the following error:

from . import h5 as _h5 File "h5py\h5.pyx", line 1, in init h5py.h5 ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.

Which versions of feedinlib and e.g. pvlib, geopandas etc. will allow for the example to work?

Quo Vadis? Roadmap as of 2017-06-14.

The feedinlib as of version 0.0.11 will receive an API breaking overhaul. As version 0.0.11 is dysfunctional when installed as a package, we will release a last version 0.0.12 that is at least working. After that we'll move to 0.1.x and initially focus on developing the following features:

  • a standardized/unified 'weather' object containing:
    • standardized names for measured variables and
    • the ability to convert itself to pvlib and windpowerlib compatible dataframes;
  • easy access to at least one freely available weather dataset and
  • if possible a unified interface to access functionality of technically more specialized libraries like pvlib
    and windpowerlib.

weather data time series for wind won't load - Feedinlib/pandas bug

Hello,

at the beginning of the week there was a problem with the oep-api, which seems to be fixed by now.
Apperently, I have another issue, which seems to be a bug.
I use the feedinlib version 0.1.0rc4.

grafik
grafik

I am trying to generate a wind time series, using open_FRED_weather_windpowerlib.

The error is shown in the txt file:
github.txt

Thank you for the help!

Add weather class

I will create a basic weather class that contains the meta data for the weather data and a simple method to read csv-files with a specific header.

Allow for stochastic demand profiles

Standard lows profiles (SLP) are – by construction – static. This can be a problem especially for electric demands of small sites (like single family homes). Thus, I suggest to introduce an option to get some randomness:

  • Part of the SLP is considered base load (constant over time).
  • The rest is composed of a static and a dynamic part.
    • The static part scales with the original SLP. Thus, setting this to 1 will just reproduce the SLP.
    • The dynamic part is modelled by a Poisson distribution with an expectation value scaled with the original SLP.

So – by construction – the SLP is reconstructed on average. Of course, this simple model is not very realistic, as it does not allow correlations between following values. However, it should be better then plain SLP.

Add installation file for windows users

Some packages cause problems when installed using pip on Windows. In order to make usage of the windpowerlib easier for Windows users we should provide a yml file where those packages are installed using conda and add installation instructions for it.

Solar Thermal Energy Modelling?

Does a library exist to model solar thermal energy? If, not did you model that already in combination with oemof (or standalone) ?

Thx!

ConnectionException for openFRED location table

Hey,
I'm trying to read the openFRED data:

from feedinlib.open_FRED import Weather
from feedinlib.open_FRED import defaultdb
from shapely.geometry import Point, Polygon

lat = 52.4
lon = 13.5
location = Point(lon, lat)
open_FRED_weather_data = Weather(
    start='2017-06-01', stop='2017-07-01',
    locations=[location],
    variables="pvlib",
    **defaultdb())

but somehow I receive a connection exception (even though I used my token):

oedialect.engine.ConnectionException: HTTP 400 (Bad Request): Table sandbox.openfred_locations not found

But if I run following code, I can get access to the location`s data:

import oedialect
from sqlalchemy import Table, create_engine, MetaData, Column
from sqlalchemy.orm import sessionmaker

engine = create_engine('postgresql+oedialect://MYUSERNAME:[email protected]')

Session = sessionmaker()
session = Session(bind=engine)

metadata = MetaData(bind=engine)

loc = Table("openfred_locations", metadata,
    Column("id"),
    Column("point"),
    schema="climate")

q = session.query(loc).limit(10)

So it doesn't seem to be a database bug. Can you fix this problem or am I doing something wrong? I was trying to find the bug, but I'm quite new to database structures, so I wasn't able to find anything.
Thanks!

P.S.: Here is the entire error message:

Traceback (most recent call last):
  File "/Volumes/Consolinno/feedinlib/test_fred.py", line 60, in <module>
    **defaultdb())
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/feedinlib/open_FRED.py", line 138, in __init__
    if locations is not None
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/feedinlib/open_FRED.py", line 137, in <dictcomp>
    {(l.x, l.y): self.location(l) for l in locations}
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/feedinlib/open_FRED.py", line 307, in location
    .order_by(self.db["Location"].point.distance_centroid(point))
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3300, in first
    ret = list(self[0:1])
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3078, in __getitem__
    return list(res)
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3405, in __iter__
    return self._execute_and_instances(context)
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3430, in _execute_and_instances
    result = conn.execute(querycontext.statement, self._params)
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 984, in execute
    return meth(self, multiparams, params)
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/sql/elements.py", line 293, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1103, in _execute_clauseelement
    distilled_params,
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1288, in _execute_context
    e, statement, parameters, cursor, context
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1485, in _handle_dbapi_exception
    util.raise_(exc_info[1], with_traceback=exc_info[2])
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 178, in raise_
    raise exception
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context
    cursor, statement, parameters, context
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 590, in do_execute
    cursor.execute(statement, parameters)
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/oedialect/engine.py", line 338, in execute
    requires_connection_id=requires_connection_id)
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/oedialect/engine.py", line 355, in __execute_by_post
    requires_connection_id=requires_connection_id)
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/oedialect/engine.py", line 232, in post
    process_returntype(ans, json_response)
  File "/Volumes/Consolinno/feedinlib/pvenv/lib/python3.7/site-packages/oedialect/engine.py", line 241, in process_returntype
    raise ConnectionException('HTTP %d (%s): %s'%(response.status_code,response.reason, message))
oedialect.engine.ConnectionException: HTTP 400 (Bad Request): Table sandbox.openfred_locations not found

Part of feedinlib depends on oemof_test schema in oemof database

@oemof/feedinlib
As I understood, the main reason to have a separate feedinlib (not included in the initial oemof rep) was that everything in feedinlib should be independent from the rest of oemof. In the class SimpleWindTurbine the method fetch_cp_values_from_db refers to the oemof database. In my opinion it should not be in such a generic structure of feedinlib.

Is that just a leftover from the intial code?

load_open_FRED_weather_data example not working

I cloned the feedinlib dev branch, and installed the dependencies and loaded the jupyter notebook, but there is the following error when I try to run the 'load_open_FRED_weather_data' example:

ModuleNotFoundError: No module named 'open_FRED'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.