To set-up with a virtual environment, run the following once:
pip install --user virtualenv
cd /path/to/code
virtualenv venv
pip install -e .
Each time you want to work with code, run:
source venv/bin/activate
....
#when done
deactivate
To install normally, just run pip install -e .
from the
root directory.
To run tests with coverage run pytest --cov=v2g
from the root directory.
Run v2g-optimize
in any directory after installing to use the optimzer.
To cite the code, use this citation:
@misc{gandhi2021citywide,
title={City-wide modeling of Vehicle-to-Grid Economics to Understand Effects of Battery Performance},
author={Heta A. Gandhi and Andrew D. White},
year={2021},
eprint={2108.05837},
archivePrefix={arXiv},
primaryClass={stat.AP}
}
This repository is not actively maintained.