Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging main into rpec #97

Merged
merged 123 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
8f4c03f
Merge pull request #90 from ebalogun01/rpec
ebalogun01 Dec 10, 2023
1a2bb0e
Update README.md
ebalogun01 Dec 10, 2023
4012ee0
Merge pull request #91 from ebalogun01/rpec
ebalogun01 Dec 10, 2023
386bd2c
updating docs
ebalogun01 Dec 10, 2023
befcdd9
updating docs
ebalogun01 Dec 10, 2023
a8d6d55
updating docs
ebalogun01 Dec 10, 2023
95b2358
Create python-app.yml
ebalogun01 Dec 13, 2023
26baff6
Update environment.yml
ebalogun01 Dec 13, 2023
b0a7ec0
updating requirements file
ebalogun01 Dec 13, 2023
d30c1b3
updating environment file
ebalogun01 Dec 13, 2023
5ec5cf4
updating requirements file
ebalogun01 Dec 13, 2023
99e75f2
updating gurobipy
ebalogun01 Dec 13, 2023
61c3b0f
Update python-app.yml
ebalogun01 Dec 13, 2023
291f258
updating test files and slight path corrections
ebalogun01 Dec 13, 2023
4deac1f
Merge branch 'main' of https://github.com/ebuech/EV50_cosimulation
ebalogun01 Dec 13, 2023
eef3111
updating workflows file to windows
ebalogun01 Dec 13, 2023
1b4ea13
updating workflow
ebalogun01 Dec 13, 2023
7e816eb
updating
ebalogun01 Dec 13, 2023
95ee40d
updating paths to pass with linux os
ebalogun01 Dec 13, 2023
f5285ad
adding paper data and results
ebalogun01 Dec 13, 2023
cc27b76
Update python-app.yml
ebalogun01 Dec 13, 2023
666be75
fixing path prefix
ebalogun01 Dec 13, 2023
9074fec
Merge branch 'main' of https://github.com/ebuech/EV50_cosimulation
ebalogun01 Dec 13, 2023
163f905
cleaning up directory naming convention
ebalogun01 Dec 13, 2023
b5ca739
adding power system defaults
ebalogun01 Dec 13, 2023
5854d23
including starter for analysis modules testing
ebalogun01 Dec 13, 2023
ed6f1d5
updating app.py to work with agnostic path
ebalogun01 Dec 13, 2023
47d7559
updating workflow
ebalogun01 Dec 13, 2023
a4c6e74
including testing flag for repo
ebalogun01 Dec 13, 2023
8c4e624
testing fix
ebalogun01 Dec 13, 2023
cbca1e8
updating workflow
ebalogun01 Dec 13, 2023
d85f251
Update python-app.yml
ebalogun01 Dec 13, 2023
5a16beb
including branch status
ebalogun01 Dec 13, 2023
5ec53e6
merging
ebalogun01 Dec 13, 2023
cd3dbd0
adding workflow
ebalogun01 Dec 13, 2023
85b628a
updating workflow
ebalogun01 Dec 13, 2023
17db5e8
updating status badge
ebalogun01 Dec 13, 2023
b3867ef
minor readme changes
ebalogun01 Dec 13, 2023
24b0db0
updating test files
ebalogun01 Dec 13, 2023
35707d9
updating test files
ebalogun01 Dec 13, 2023
02a4c52
Update LICENSE
ebalogun01 Dec 13, 2023
bd2096d
Update CITATION.cff
ebalogun01 Dec 13, 2023
2906492
Update CITATION.cff
ebalogun01 Dec 13, 2023
481dca4
removing excess files and update readme
ebalogun01 Dec 16, 2023
d99f62e
Merge branch 'main' of https://github.com/ebalogun01/EV-EcoSim
ebalogun01 Dec 16, 2023
c7db360
updating README
ebalogun01 Dec 18, 2023
af41263
adding readme image files
ebalogun01 Dec 18, 2023
849f1cf
resizing battery error figure
ebalogun01 Dec 18, 2023
f0f9941
Update README.md
ebalogun01 Dec 18, 2023
dcf1276
including base_load_data proto and required changes to baseload secti…
ebalogun01 Dec 18, 2023
d6624e2
base load data proto update
ebalogun01 Dec 18, 2023
4fb62e2
update gitignore to ignore base load data
ebalogun01 Dec 18, 2023
8d25f41
fixing hard-coded path to arbitrary path
ebalogun01 Dec 18, 2023
10f1f1c
minor correction
ebalogun01 Dec 18, 2023
acdc4ba
fixing commits
ebalogun01 Dec 18, 2023
b55e305
commiting conflicts
ebalogun01 Dec 18, 2023
82ad213
updating ignore file
ebalogun01 Dec 18, 2023
4d44b91
adding base load data proto
ebalogun01 Dec 18, 2023
c5c7fe8
allowing base load data file specification
ebalogun01 Dec 18, 2023
68c34b7
adding minor improved comments
ebalogun01 Dec 18, 2023
c59b1ee
updating docs
ebalogun01 Dec 18, 2023
0e59106
adding major doc changes
ebalogun01 Dec 19, 2023
06fceaf
removing unncessary doctrees
ebalogun01 Dec 19, 2023
9ce5ce8
minor typo correction
ebalogun01 Dec 19, 2023
29e4681
removing paramplot
ebalogun01 Dec 19, 2023
c07d3bd
Update issue templates
ebalogun01 Dec 19, 2023
6f8b52c
Update bug_report.md
ebalogun01 Dec 19, 2023
0ac87e0
Update issue templates
ebalogun01 Dec 19, 2023
bd15a9f
Update CITATION.cff
ebalogun01 Dec 19, 2023
f885236
minor update to .yml file
ebalogun01 Dec 19, 2023
7f023f0
adding logo updates and contributing instructions
ebalogun01 Dec 20, 2023
99a12e0
adding logo images
ebalogun01 Dec 20, 2023
790b96c
updating doc image
ebalogun01 Dec 20, 2023
0caca97
updating readme logo
ebalogun01 Dec 20, 2023
65a83fe
testing readme visuals
ebalogun01 Dec 20, 2023
5c9a6f6
testing logo
ebalogun01 Dec 20, 2023
d65d0c1
test readme
ebalogun01 Dec 20, 2023
8224a2e
test readme
ebalogun01 Dec 20, 2023
8b4694d
removing sim frame diagram
ebalogun01 Dec 20, 2023
df504c1
updating readme
ebalogun01 Dec 20, 2023
3d44c6d
minor formatting
ebalogun01 Dec 20, 2023
2c63772
adopting code of conduct
ebalogun01 Dec 20, 2023
1152084
improving readme
ebalogun01 Dec 20, 2023
fbfea0c
minor change
ebalogun01 Dec 20, 2023
3a60bd2
Update README.md
ebalogun01 Dec 20, 2023
abea314
updating readme
ebalogun01 Dec 20, 2023
9b1f1fb
adding ECM image for readme
ebalogun01 Dec 20, 2023
50b428b
testing ecm image width render
ebalogun01 Dec 20, 2023
9b3111b
slight layout change
ebalogun01 Dec 20, 2023
bb41a9f
removing ecm image failing to render
ebalogun01 Dec 20, 2023
501bfd3
including contribution section
ebalogun01 Dec 20, 2023
ac54167
Delete .idea directory
ebalogun01 Dec 21, 2023
0ca480d
updating readme
ebalogun01 Dec 25, 2023
bd5488a
Merge branch 'main' of https://github.com/ebalogun01/EV-EcoSim
ebalogun01 Dec 25, 2023
3b5f261
updating gitignore
ebalogun01 Dec 25, 2023
b4a2e3b
updating data paths and modules to fit it
ebalogun01 Dec 26, 2023
8f65478
updating data paths and modules to fit it
ebalogun01 Dec 26, 2023
b0cd60a
removing redundant data dirs
ebalogun01 Dec 26, 2023
e0f86a4
updating ignore files
ebalogun01 Dec 26, 2023
4c52164
adding battery sys data
ebalogun01 Dec 26, 2023
e24c0b2
updating default user input JSON
ebalogun01 Dec 26, 2023
f41ea6c
adding shell scripts for one line execution of pre and post processin…
ebalogun01 Dec 26, 2023
99e7baa
updating shell script
ebalogun01 Dec 26, 2023
15668c6
fixed base-case bug, included shell run files for base case
ebalogun01 Dec 28, 2023
87d06de
updating user_input.json run instructions
ebalogun01 Dec 28, 2023
307bb5c
minor improvements with quick links
ebalogun01 Dec 28, 2023
d1dfa95
adding basic user_inputs validation checks
ebalogun01 Dec 28, 2023
3285491
minor comment changes
ebalogun01 Dec 28, 2023
197b59c
improving full post-opt analysis compatibility with Linux WSL2
ebalogun01 Dec 28, 2023
8c87175
removing minor whitespace
ebalogun01 Dec 28, 2023
d31ae7b
Update README.md
ebalogun01 Dec 28, 2023
8c3c8da
including post-opt completion message
ebalogun01 Dec 28, 2023
23864cc
Merge branch 'main' of https://github.com/ebalogun01/EV-EcoSim
ebalogun01 Dec 28, 2023
94c44b9
Update README.md
ebalogun01 Dec 28, 2023
8dc1e80
Update README.md
ebalogun01 Dec 28, 2023
2bc2cd0
Update README.md
ebalogun01 Dec 28, 2023
1b5f6ce
Update README.md
ebalogun01 Dec 28, 2023
492e063
updating environ and utils to resolve MacOS numpy issues and missing …
ebalogun01 Dec 29, 2023
bbf5f6c
Merge branch 'main' of https://github.com/ebalogun01/EV-EcoSim
ebalogun01 Dec 29, 2023
f922768
minor improvements
ebalogun01 Dec 29, 2023
aa5e822
Update README.md
ebalogun01 Dec 29, 2023
b869e99
Update README.md
ebalogun01 Dec 29, 2023
8947839
Update README.md
ebalogun01 Dec 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Windows, MacOS, Ubuntu]
- Version [e.g. Windows 11, Ubuntu 10.0]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
34 changes: 34 additions & 0 deletions .github/workflows/module-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Basic Module Tests

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest
working-directory: test_files/dev_tests
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
**.glm
**.xls
**.npy
**.glm
**.json
**results
source
/**.pyc
/**__pycache__
charging_sim/__pycache__
**.Identifier
battery_data
data/battery_data
CP_ProjectData
Datasets-CP
Datasets
Expand All @@ -33,4 +34,4 @@ mosek
**.vscode/
**.git
.github

data/base_load_data/data_2015_use.csv
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions .idea/EV50_cosimulation.iml

This file was deleted.

41 changes: 0 additions & 41 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

6 changes: 3 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cff-version: 1.2.0
message: "If you use this software, please cite the accompanied paper and as below."
message: "If you use this software, copy code or reference any code herein, you must cite the EV-EcoSim paper and as below."
authors:
- family-names: "Balogun"
given-names: "Emmanuel"
Expand All @@ -9,6 +9,6 @@ authors:
orcid: "https://orcid.org/0000-0000-0000-0000"
title: "EV-EcoSim: A grid-aware co-simulation platform for the design and optimization of electric vehicle charging infrastructure"
version: 1.0.0
// doi: 10.5281/zenodo.1234
// doi: doi.org/10.1109/TSG.2023.3339374
date-released: 2023-11-30
url: "https://github.com/ebalogun01/EV-EcoSim/"
url: "https://ieeexplore.ieee.org/document/10342763"
77 changes: 77 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@

# Contributor Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at <`ebalogun`> at <`stanford`> dot <`edu`>. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
55 changes: 55 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Contributing to EV-EcoSim
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer

## We Develop with Github
We use github to host code, to track issues and feature requests, as well as accept pull requests.

## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html), So All Code Changes Happen Through Pull Requests
Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests:

1. Fork the repo and create your branch from `main`.
2. If you've added code that should be tested, add tests with detailed explanation of tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
5. Make sure your code lints.
6. Issue that pull request!

## Any contributions you make will be under the MIT Software License
In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.

## Report bugs using Github's [issues](https://github.com/ebalogun01/EV-EcoSim/issues)
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](); it's that easy!

## Write bug reports with detail, background, and sample code
Please follow the template provided when creating a new bug report. This will help us understand the issue
and resolve it faster.

**Great Bug Reports** tend to have:

- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)

People *love* thorough bug reports. I'm not even kidding.

## Use a Consistent Coding Style
I'm again borrowing these from [Facebook's Guidelines](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)

* Tabs for indentation rather than spaces
* You can try running `npm run lint` for style unification

## License
By contributing, you agree that your contributions will be licensed under its MIT License.

## References
This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 EV50
Copyright (c) Emmanuel Balogun 2023 EV-EcoSim

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
Loading