Skip to content

Misc #134

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

Merged
merged 42 commits into from
Apr 14, 2025
Merged

Misc #134

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
e589c32
Switch to Area from Zone for zonal calculation
jinningwang Apr 11, 2025
9facfa4
Extent groups StaticGen, StaticLoad with common param area
jinningwang Apr 11, 2025
bcc72fd
Extend common parameters in groups StaticGen and StaticLoad with area
jinningwang Apr 11, 2025
84a8aff
Remove ExtParam area from model REGCV1
jinningwang Apr 11, 2025
7f7c3da
Switch from zone to area in RTED
jinningwang Apr 11, 2025
7042f7e
Typo
jinningwang Apr 11, 2025
cd55de4
Fix service LoadScale for switching from zone to area
jinningwang Apr 11, 2025
7e4e52f
Clarify reserve balance is done for each Area in routine ED
jinningwang Apr 11, 2025
1594352
Fix UC for swithcing from zone to area
jinningwang Apr 12, 2025
647a27e
Update pjm5bus test case for ev aggregator development
jinningwang Apr 12, 2025
56f0c61
Fix test_case
jinningwang Apr 12, 2025
dba6d08
Fix test_case
jinningwang Apr 12, 2025
1650f4b
Fix test_rtn_rted
jinningwang Apr 12, 2025
ce65f40
Minimize pjm5bus test case for Jumper modeling
jinningwang Apr 12, 2025
543e69a
Fix test_andes_mats.py
jinningwang Apr 12, 2025
46de004
Typo
jinningwang Apr 12, 2025
6769a6a
Fix case pjm5bus_demo regarding ED and UC
jinningwang Apr 12, 2025
8007f8a
Minor fix
jinningwang Apr 12, 2025
35d90db
Update release notes
jinningwang Apr 12, 2025
2ad163e
Remove model TimeSlot from model lists
jinningwang Apr 12, 2025
fc2562c
Minor fix
jinningwang Apr 12, 2025
6a2888b
Minor fix on cases ieee14 and ieee39
jinningwang Apr 13, 2025
84ac039
Rerun examples
jinningwang Apr 13, 2025
bc14b32
Format
jinningwang Apr 13, 2025
0c3c171
Format documentation
jinningwang Apr 14, 2025
44654e5
Doc
jinningwang Apr 14, 2025
4e91e1e
Improve Line parameters auto correction in System.setup()
jinningwang Apr 14, 2025
f4b8993
Add tests on line parameters correction
jinningwang Apr 14, 2025
02d4213
Format
jinningwang Apr 14, 2025
6240dd4
Make func _to_andes_pflow public
jinningwang Apr 14, 2025
5b41fa8
Update release notes
jinningwang Apr 14, 2025
b936aa3
Doc
jinningwang Apr 14, 2025
1b6eb16
Rerun demo_AGC
jinningwang Apr 14, 2025
f32ce24
Update case files
jinningwang Apr 14, 2025
179a8b7
Update release ntoes
jinningwang Apr 14, 2025
7fdb17b
Typo
jinningwang Apr 14, 2025
5b6f3fb
Typo
jinningwang Apr 14, 2025
c0d1b1d
Add Mosek as the first optioanl solver to install
jinningwang Apr 14, 2025
59494ed
Set auto rerun when compatibility tests file with windows
jinningwang Apr 14, 2025
9895898
Add Mosek as the first optioanl solver to install
jinningwang Apr 14, 2025
34028f0
Set cplex as the first optioanl solver to install
jinningwang Apr 14, 2025
b6bdcf5
Set PySCIPOpt as the first optioanl solver to install
jinningwang Apr 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Try installing optional packages
run: |
# Try installing one of the optional packages
pip install gurobipy || pip install coptpy || pip install xpress || pip install cplex || echo "All optional packages failed to install. Skipping."
pip install PySCIPOpt || pip install xpress || pip install gurobipy || pip install cplex || echo "All optional packages failed to install. Skipping."

- shell: bash -el {0}
name: Run pip check
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,12 @@ jobs:

- shell: bash -el {0}
name: pytest
run: |
pytest
continue-on-error: ${{ matrix.os == 'windows-latest' }}

- if: ${{ failure() && matrix.os == 'windows-latest' }}
shell: bash -el {0}
name: Retry pytest
run: |
pytest
8 changes: 7 additions & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,38 @@ jobs:
channels: conda-forge,defaults
channel-priority: true
activate-environment: anaconda-client-env

- shell: bash -el {0}
name: Install dependencies
run: |
mamba install -y nbmake pytest-xdist line_profiler # add'l packages for notebook tests.
mamba install --file requirements.txt --file requirements-dev.txt
python -m pip install -e .

- shell: bash -el {0}
name: Try installing optional packages
run: |
# Try installing one of the optional packages
pip install gurobipy || pip install coptpy || pip install xpress || pip install cplex || echo "All optional packages failed to install. Skipping."
pip install PySCIPOpt || pip install xpress || pip install gurobipy || pip install cplex || echo "All optional packages failed to install. Skipping."

- shell: bash -el {0}
name: Run pip check
run: |
if ! pip check; then
echo "pip check failed, but the job will continue."
fi

- shell: bash -el {0}
name: Lint with flake8
if: github.event_name == 'pull_request'
run: |
flake8 .

- shell: bash -el {0}
name: Test with pytest
run: |
pytest

- shell: bash -el {0}
name: Test notebooks.
run: |
Expand Down
Binary file modified ams/cases/5bus/pjm5bus_demo.xlsx
Binary file not shown.
Binary file added ams/cases/5bus/pjm5bus_ev.xlsx
Binary file not shown.
Binary file modified ams/cases/5bus/pjm5bus_jumper.xlsx
Binary file not shown.
Loading
Loading