oemof / marketlib Goto Github PK
View Code? Open in Web Editor NEWProject to model the trading of energy to different markets using various power plant models
License: MIT License
Project to model the trading of energy to different markets using various power plant models
License: MIT License
Traceback (most recent call last):
File "C:/Users/swehkamp/Documents/GitHub/FlexValue/09_Sammelpaper 2/EnergyMarketsSimulation/main.py", line 19, in
from src.district_model_4_markets import main as district_model
File "C:\Users\swehkamp\Documents\GitHub\FlexValue\09_Sammelpaper 2\EnergyMarketsSimulation\src\district_model_4_markets.py", line 20, in
from oemof.solph import views, processing
ImportError: cannot import name 'views' from 'oemof.solph' (C:\Users\swehkamp\AppData\Local\Programs\Python\Python38-32\lib\site-packages\oemof\solph_init_.py)
A test needs to be created to check automatically if dependencies are created.
Needs to run automatically so no local VM is required.
Traceback (most recent call last):
File "C:/Users/swehkamp/Documents/GitHub/FlexValue/09_Sammelpaper 2/EnergyMarketsSimulation/main.py", line 19, in
from src.district_model_4_markets import main as district_model
File "C:\Users\swehkamp\Documents\GitHub\FlexValue\09_Sammelpaper 2\EnergyMarketsSimulation\src\district_model_4_markets.py", line 20, in
from oemof.solph import views, processing
ImportError: cannot import name 'views' from 'oemof.solph' (C:\Users\swehkamp\AppData\Local\Programs\Python\Python38-32\lib\site-packages\oemof\solph_init_.py)
WARNING:root:No district data found for year 2020. Using year 2017
Traceback (most recent call last):
File "C:/Users/swehkamp/Documents/GitHub/FlexValue/09_Sammelpaper 2/EnergyMarketsSimulation/main.py", line 25, in <module>
district_model(year=2020, days = 365)
File "C:\Users\swehkamp\Documents\GitHub\FlexValue\09_Sammelpaper 2\EnergyMarketsSimulation\src\district_model_4_markets.py", line 515, in main
create_and_solve_scenario(days=days, year=year, scenario=scenario)
File "C:\Users\swehkamp\Documents\GitHub\FlexValue\09_Sammelpaper 2\EnergyMarketsSimulation\src\district_model_4_markets.py", line 505, in create_and_solve_scenario
market_data = get_market_dataframe(days=days, year=year, scenario=scenario)
File "C:\Users\swehkamp\Documents\GitHub\FlexValue\09_Sammelpaper 2\EnergyMarketsSimulation\src\district_model_4_markets.py", line 132, in get_market_dataframe
market_data = get_market_data(year=year).head(days * 24 * 4)
File "C:\Users\swehkamp\Documents\GitHub\FlexValue\09_Sammelpaper 2\EnergyMarketsSimulation\src\process_market_data.py", line 148, in get_market_data
df = read_market_data(start, periods, freq)
File "C:\Users\swehkamp\Documents\GitHub\FlexValue\09_Sammelpaper 2\EnergyMarketsSimulation\src\process_market_data.py", line 93, in read_market_data
df=pd.read_csv(market_filename)
File "C:\Users\swehkamp\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py", line 610, in read_csv
return _read(filepath_or_buffer, kwds)
File "C:\Users\swehkamp\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py", line 462, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "C:\Users\swehkamp\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py", line 819, in __init__
self._engine = self._make_engine(self.engine)
File "C:\Users\swehkamp\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py", line 1050, in _make_engine
return mapping[engine](self.f, **self.options) # type: ignore[call-arg]
File "C:\Users\swehkamp\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py", line 1867, in __init__
self._open_handles(src, kwds)
File "C:\Users\swehkamp\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py", line 1362, in _open_handles
self.handles = get_handle(
File "C:\Users\swehkamp\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\common.py", line 642, in get_handle
handle = open(
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\swehkamp\\Documents\\GitHub\\FlexValue\\09_Sammelpaper 2\\EnergyMarketsSimulation\\data\\processed\\market_data.csv'
Process finished with exit code 1
It is necessary to run process_market_data.py first.
Need an updated version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.