A supporting system for strategic bidding in the Italian Electricity Markets through data analytics.
In the Italian power systems, currently there are 3 most important spot markets, i.e. dayahead market (MGP), Intra-day market (MI) and ancillary service market - MSD. This project will be focused on implementing a web-based platform which supports the bidding activity of generation companies in one or more markets resorting to the public available data. More specifically, the following tasks are expected from the group:
- Designing web Crawlers to automatically collect data from public available sources (e.g. Terna, GME, etc.);
- Selecting suitable database and implement data storage structures and management strategies;
- Extracting useful information from task 1 to store them in the database designed in step 2;
- Designing machine learning algorithms to understand the bidding strategies of each market participants in one or more markets;
- Implement a web-based supporting platform;
Open a terminal in the project folder and run
$ make install
Download the latest geckodrivers from https://github.com/mozilla/geckodriver/releases
and copy the file in /usr/local/bin
.
The log messages are displayed in the console thanks to the logging module. Five levels are used (the WARNING, ERROR and CRITICAL level are also saved in the src/logging.conf
file.
At the top of each file use:
import logging
import logging.config
logging.config.fileConfig('src/logging.conf')
logger = logging.getLogger(__name__)
To display a new log message use:
logger.debug('debug message')
logger.info('info message')
logger.warning('warn message')
logger.error('error message')
logger.critical('critical message')
-
Using
src/database/client.py
, follow the instructions on the command-line interface. -
src/database/clientarg.py
accepts command-line arguments and options. Runpython clientarg.py -h
to find out more details on its usage.
Move to ~/smartgrids/
folder, open a terminal and run
$ make createDatabase
(c) 2019, Gian Pio Domiziani, Luca Gioacchini, Francesco Guaiana, Bruno Valente