/rec-operation-rest-api

A REST API for computing local energy market (LEM) prices for a Renewable Energy Community (REC) that can promote the minimization of the members’ operation cost with energy.

Primary LanguagePythonOtherNOASSERTION

alt text

  _____   ______  _____    ____                            _    _                 _____   ______   _____  _______             _____  _____ 
 |  __ \ |  ____|/ ____|  / __ \                          | |  (_)               |  __ \ |  ____| / ____||__   __|     /\    |  __ \|_   _|
 | |__) || |__  | |      | |  | | _ __    ___  _ __  __ _ | |_  _   ___   _ __   | |__) || |__   | (___     | |       /  \   | |__) | | |  
 |  _  / |  __| | |      | |  | || '_ \  / _ \| '__|/ _` || __|| | / _ \ | '_ \  |  _  / |  __|   \___ \    | |      / /\ \  |  ___/  | |  
 | | \ \ | |____| |____  | |__| || |_) ||  __/| |  | (_| || |_ | || (_) || | | | | | \ \ | |____  ____) |   | |     / ____ \ | |     _| |_ 
 |_|  \_\|______|\_____|  \____/ | .__/  \___||_|   \__,_| \__||_| \___/ |_| |_| |_|  \_\|______||_____/    |_|    /_/    \_\|_|    |_____|
                                 | |                                                                                                       
                                 |_|                                                                                                                             

Welcome to INESC TEC Renewable Energy Community (REC) Operation API.

This REST API provides endpoints for the optimal scheduling of REC controllable assets and for calculating optimal LEM prices and transactions under the Enershare project.

NOTE: This software is on active development and depends on an extra Python Library (which will be uploaded soon to this GitHub Organization).

Developers // Contacts:

Run API

Run the API locally with uvicorn:

$ uvicorn main:app 

(For development, you can include the --reload tag at the end).

Swagger and Redoc

To access the interactive API docs, include the following at the end of the URL where uvicorn is running:

  • /docs (Swagger format);
  • /redoc (ReDoc format);