batteryopt-0.1.0
توضیحات
battery operation optimization
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | batteryopt-0.1.0 |
| نام | batteryopt |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jakub Tomasz Szczesniak |
| ایمیل نویسنده | jakubszc@mit.edu |
| آدرس صفحه اصلی | https://github.com/MITSustainableDesignLab/batteryopt |
| آدرس اینترنتی | https://pypi.org/project/batteryopt/ |
| مجوز | MIT |
[](https://github.com/psf/black)
batteryopt is a battery operation optimization tool developed by Jakub Szcześniak and
implemented by Samuel Letellier-Duchesne. The objective is to minimize the annual
electricity costs of a battery-integrated PV system using a Mixed-Integer Linear Program
(MILP). The algorithm is implemented using the [pyomo](http://www.pyomo.org/) library
opening up the model to a large array of solvers (e.g.: Gurobi, GLPK, etc.).
# Installation
```cmd
conda create --name batteryopt python=3.7 # tested with 3.7, 3.8 and 3.9
conda activate batteryopt
```
```
git clone https://github.com/MITSustainableDesignLab/batteryopt.git
cd batteryopt
python setup.py install
```
# Usage
Type `batteryopt --help` to access the command line options
# Output
batteryopt outputs an Excel file with the model Variables for each time step of the year:
| | t | tf | M | P_dmd | P_elec | P_pv | Buying | Charging | Discharging | E_s | P_charge | P_discharge | P_dmd_unmet | P_grid | P_pv_excess | P_pv_export |
|---:|---:|----:|----:|--------:|----------:|-----:|-------:|---------:|------------:|------:|---------:|------------:|------------:|--------:|------------:|------------:|
| 0 | 1 | nan | nan | 60536.5 | 0.0002624 | 0 | 1 | 0 | 0 | 20000 | -0 | -0 | 60536.5 | 60536.5 | 0 | 0 |
| 1 | 1 | 1 | nan | 60536.5 | 0.0002624 | 0 | 1 | 0 | 0 | 20000 | -0 | 0 | 60536.5 | 60536.5 | 0 | 0 |
| 2 | 1 | 1 | nan | 60536.5 | 0.0002624 | 0 | 1 | 0 | 0 | 20000 | -0 | 0 | 60536.5 | 60536.5 | 0 | 0 |
| 3 | 1 | 1 | nan | 60536.5 | 0.0002624 | 0 | 1 | 0 | 0 | 20000 | -0 | 0 | 60536.5 | 60536.5 | 0 | 0 |
| 4 | 1 | 1 | nan | 60536.5 | 0.0002624 | 0 | 1 | 0 | 0 | 20000 | -0 | 0 | 60536.5 | 60536.5 | 0 | 0 |
The column names are:
نیازمندی
| مقدار | نام |
|---|---|
| ==1.4.3 | appdirs |
| ==1.3.0 | atomicwrites |
| ==19.3.0 | attrs |
| ==2019.11.28 | certifi |
| ==1.14.0 | cffi |
| ==7.1.2 | click |
| ==0.4.3 | colorama |
| ==1.0.1 | et-xmlfile |
| ==3.8.4 | flake8 |
| ==0.2.1 | flake8-black |
| ==1.5.0 | importlib-metadata |
| ==1.4.1 | jdcal |
| ==0.6.1 | mccabe |
| ==1.7.3 | mip |
| ==8.2.0 | more-itertools |
| ==0.4.3 | mypy-extensions |
| ==1.3.7 | nose |
| ==1.18.1 | numpy |
| ==3.0.3 | openpyxl |
| ==20.3 | packaging |
| ==1.0.3 | pandas |
| ==13.1.0 | path |
| ==0.8.1 | pathspec |
| ==0.13.1 | pluggy |
| ==3.11 | ply |
| ==1.8.1 | py |
| ==2.6.0 | pycodestyle |
| ==2.20 | pycparser |
| ==2.2.0 | pyflakes |
| ==5.6.9 | Pyomo |
| ==2.4.6 | pyparsing |
| ==5.4.1 | pytest |
| ==2.8.1 | python-dateutil |
| ==2019.3 | pytz |
| ==5.8.0 | PyUtilib |
| ==2020.11.13 | regex |
| ==1.14.0 | six |
| ==0.8.3 | tabulate |
| ==0.10.2 | toml |
| ==1.4.2 | typed-ast |
| ==3.7.4.3 | typing-extensions |
| ==0.1.9 | wcwidth |
| ==0.2 | wincertstore |
| ==1.2.0 | xlrd |
| ==2.2.0 | zipp |
نحوه نصب
نصب پکیج whl batteryopt-0.1.0:
pip install batteryopt-0.1.0.whl
نصب پکیج tar.gz batteryopt-0.1.0:
pip install batteryopt-0.1.0.tar.gz