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

Gas mixture simon #550

Open
wants to merge 552 commits into
base: gas_mixture
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
552 commits
Select commit Hold shift + click to select a range
9d805fa
version tag update
Jan 4, 2023
d9d257d
CHANGELOG adapted
Jan 4, 2023
b1c0fa9
release cycle net
Jan 4, 2023
dd089a6
enable upload
Jan 4, 2023
1faf456
Merge branch 'develop' into feature/release_fix
SimonRubenDrauz Jan 4, 2023
a9c400a
Merge pull request #459 from SimonRubenDrauz/feature/release_fix
SimonRubenDrauz Jan 4, 2023
c8ae3b7
Merge branch 'develop' into release_0.8.0
SimonRubenDrauz Jan 4, 2023
5e459e6
Merge pull request #460 from SimonRubenDrauz/release_0.8.0
SimonRubenDrauz Jan 4, 2023
90aa652
Merge branch 'develop' into fix/stanet_converter_valves
SimonRubenDrauz Jan 4, 2023
7c665e8
Merge pull request #457 from jkisse/fix/stanet_converter_valves
SimonRubenDrauz Jan 4, 2023
aa128fe
doc check also for master
Jan 5, 2023
8280671
change action repo
Jan 5, 2023
6ac7e11
change name of a step
Jan 5, 2023
03adb94
fix minor errors
jkisse Jan 5, 2023
acd3a53
Merge pull request #461 from jkisse/fix/stanet_converter
dlohmeier Jan 5, 2023
b898940
Update CHANGELOG.rst
jkisse Jan 5, 2023
1eb1236
Merge pull request #462 from e2nIEE/jkisse-patch-1
jkisse Jan 5, 2023
de1c867
extended stanet converter documentation
dlohmeier Jan 5, 2023
e317e6d
extended stanet converter documentation
dlohmeier Jan 5, 2023
17310e7
Merge remote-tracking branch 'pp/develop' into develop
dlohmeier Jan 5, 2023
e1c246f
Merge pull request #463 from dlohmeier/develop
jkisse Jan 5, 2023
5893863
added a test with two ext grids for flow control
dlohmeier Jan 5, 2023
8d36c20
Merge branch 'develop' into develop
dlohmeier Jan 5, 2023
d11600b
removed unnecessary warning in create.py
dlohmeier Jan 5, 2023
bd1f9b2
Merge remote-tracking branch 'pp/develop' into develop
dlohmeier Jan 5, 2023
cdf8f19
Merge remote-tracking branch 'pp_fork/develop' into develop
dlohmeier Jan 5, 2023
dc8d4ec
Merge branch 'develop' into feature/master_doc_check
SimonRubenDrauz Jan 5, 2023
b14ae6e
improve error message if wrong clienttypes
jkisse Jan 5, 2023
da8b1fe
Merge pull request #464 from dlohmeier/develop
dlohmeier Jan 5, 2023
43053a8
Merge branch 'develop' into fix/stanet_converter_warning
jkisse Jan 5, 2023
fb92553
Merge pull request #466 from jkisse/fix/stanet_converter_warning
jkisse Jan 5, 2023
a265266
Merge branch 'develop' into feature/master_doc_check
SimonRubenDrauz Jan 5, 2023
f3e5b7c
adapted release control test net -> now a gas and a water network are…
dlohmeier Jan 5, 2023
28ccc0c
Merge branch 'develop' into new_test_nets
dlohmeier Jan 5, 2023
75c83d1
fix for broken test of pit extraction
dlohmeier Jan 5, 2023
cb29db2
Merge remote-tracking branch 'pp_fork/new_test_nets' into new_test_nets
dlohmeier Jan 5, 2023
9376c06
Merge pull request #467 from dlohmeier/new_test_nets
SimonRubenDrauz Jan 5, 2023
679aff5
Merge branch 'develop' into feature/master_doc_check
SimonRubenDrauz Jan 5, 2023
8b6ad13
Update CHANGELOG.rst
jkisse Jan 5, 2023
1b46f72
Merge pull request #468 from e2nIEE/jkisse-patch-1
jkisse Jan 5, 2023
818b73e
Merge branch 'develop' into feature/master_doc_check
SimonRubenDrauz Jan 5, 2023
eff8c7f
Merge pull request #465 from SimonRubenDrauz/feature/master_doc_check
SimonRubenDrauz Jan 5, 2023
67e162a
replace @ again
Jan 5, 2023
8e18168
Merge branch 'develop' of github:e2niee/pandapipes into develop
Jan 5, 2023
f98d895
Merge branch 'develop' of https://github.com/SimonRubenDrauz/pandapip…
Jan 5, 2023
ae6749d
Merge pull request #469 from SimonRubenDrauz/develop
SimonRubenDrauz Jan 5, 2023
248c44b
beautify doc for circ_pumps (#470)
jkisse Jan 5, 2023
ea11a39
bug in test check
Jan 5, 2023
5a77651
Merge branch 'develop' into develop
SimonRubenDrauz Jan 5, 2023
542e63e
Merge pull request #471 from SimonRubenDrauz/develop
SimonRubenDrauz Jan 5, 2023
518f925
Update MANIFEST.in (#472)
jkisse Jan 5, 2023
4a0cf55
increase version number (#473)
jkisse Jan 5, 2023
2c3b279
Increase version number #2 (#474)
jkisse Jan 5, 2023
c48c22f
add waiter
Jan 5, 2023
ec854c0
bugfix in terms of python versions
Jan 5, 2023
c443f69
Merge branch 'develop' of github:e2niee/pandapipes into develop
Jan 5, 2023
c330e13
Merge pull request #475 from SimonRubenDrauz/develop
SimonRubenDrauz Jan 5, 2023
94cd076
sleep
Jan 5, 2023
9e0add5
Merge branch 'develop' into develop
SimonRubenDrauz Jan 5, 2023
a79e11e
Merge pull request #476 from SimonRubenDrauz/develop
SimonRubenDrauz Jan 5, 2023
5fecb37
remove post
Jan 5, 2023
20cd0d3
Merge branch 'develop' of github:e2niee/pandapipes into develop
Jan 5, 2023
ed38824
Merge pull request #477 from SimonRubenDrauz/develop
SimonRubenDrauz Jan 5, 2023
feaa4fc
- remove shapely from run_test_develop.yml
Jan 5, 2023
d079daa
Merge branch 'develop' into develop
SimonRubenDrauz Jan 5, 2023
87c7958
bugfixes
Jan 5, 2023
1bdc28c
Merge branch 'develop' of github:e2niee/pandapipes into develop
Jan 5, 2023
ad49666
Merge branch 'develop' of https://github.com/SimonRubenDrauz/pandapip…
Jan 5, 2023
0b8e3db
Merge pull request #478 from SimonRubenDrauz/develop
SimonRubenDrauz Jan 5, 2023
23daad3
Merge remote-tracking branch 'origin/master' into develop
Jan 5, 2023
effb7d2
Merge branch 'develop' into develop
SimonRubenDrauz Jan 5, 2023
2c44ae5
Merge pull request #480 from SimonRubenDrauz/develop
SimonRubenDrauz Jan 5, 2023
ee7be2b
set sleep to 180s
Jan 5, 2023
62d7698
Merge branch 'develop' of github:e2niee/pandapipes into develop
Jan 5, 2023
4aed210
Merge pull request #481 from SimonRubenDrauz/develop
SimonRubenDrauz Jan 5, 2023
8e944df
set sleep to 300s
Jan 5, 2023
258c916
remove post from version number
Jan 5, 2023
defca58
Merge branch 'develop' into develop
SimonRubenDrauz Jan 5, 2023
5ab1e63
Merge pull request #482 from SimonRubenDrauz/develop
SimonRubenDrauz Jan 5, 2023
5e58da7
Merge pull request #479 from e2nIEE/develop
SimonRubenDrauz Jan 5, 2023
af7be3d
add shapely as required package
Jan 5, 2023
24dee98
Update CHANGELOG.rst
jkisse Jan 5, 2023
aed508f
remove shapely from all packages
Jan 6, 2023
dc4d358
Merge branch 'hotfix' of https://github.com/e2nIEE/pandapipes into ho…
Jan 6, 2023
4b4fd80
Merge pull request #483 from e2nIEE/hotfix
dlohmeier Jan 6, 2023
785c985
add doc for new collections
jkisse Jan 6, 2023
ea559f3
increase version number for hotfix
jkisse Jan 6, 2023
12f9748
Merge branch 'develop' into hotfix
jkisse Jan 6, 2023
21a6726
fix file endings
jkisse Jan 6, 2023
9b46bae
csv lowercase
jkisse Jan 6, 2023
f76901c
fix wrong enconding in example file
jkisse Jan 6, 2023
c9f3d54
add asserts that check for missing files
jkisse Jan 6, 2023
0206126
docs test on pandapower master basis
Jan 6, 2023
6b99520
Merge branch 'hotfix' of https://github.com/e2nIEE/pandapipes into ho…
Jan 6, 2023
c4621ec
Update CHANGELOG.rst
jkisse Jan 6, 2023
3f67a5b
- further adapted changelog
Jan 8, 2023
2583b92
- new post version
Jan 8, 2023
f9a085b
removed post from version
Jan 8, 2023
1141f0d
Merge pull request #484 from e2nIEE/hotfix
SimonRubenDrauz Jan 8, 2023
ddb2548
Merge pull request #485 from e2nIEE/hotfix
SimonRubenDrauz Jan 8, 2023
be73db8
hotfix 0.8.2 due to missing pytest-xdist
Jan 8, 2023
ad4d4c6
Merge branch 'develop' into hotfix_0.8.2
SimonRubenDrauz Jan 8, 2023
4e57b76
Merge pull request #486 from e2nIEE/hotfix_0.8.2
SimonRubenDrauz Jan 8, 2023
12db9f6
Merge pull request #487 from e2nIEE/hotfix_0.8.2
SimonRubenDrauz Jan 8, 2023
fd4198b
inconsistency between testpypi and pypi
Jan 9, 2023
af5bdc7
Merge pull request #489 from e2nIEE/hotfix_0.8.3
SimonRubenDrauz Jan 9, 2023
a628497
Merge branch 'develop' into hotfix_0.8.3
SimonRubenDrauz Jan 9, 2023
280b895
Merge pull request #488 from e2nIEE/hotfix_0.8.3
SimonRubenDrauz Jan 9, 2023
1e2e873
add missing init to the topology tests (#490)
jkisse Jan 10, 2023
bb6d076
Load JSON string simplified
dlohmeier Jan 12, 2023
a7c73b8
Merge pull request #491 from dlohmeier/json_decoder_registry
dlohmeier Jan 12, 2023
ea6aec9
run release-tests without repo checkout, just with pip package (#492)
SimonRubenDrauz Jan 26, 2023
cd85dc8
Flow control is considered in nx_graph creation
dlohmeier Jan 26, 2023
78eff76
small edit
dlohmeier Jan 26, 2023
5491aff
Merge pull request #496 from dlohmeier/hotfix/nxgraph_flow_control
dlohmeier Jan 27, 2023
3ac7259
Flow control is considered in nx_graph creation
dlohmeier Jan 26, 2023
74f7707
small edit
dlohmeier Jan 26, 2023
e88f4b8
add Python 3.11 to test matrix on develop
jkisse Jan 30, 2023
528000e
add Python 3.11 to master workflow and tutorials, change np.bool to bool
jkisse Jan 30, 2023
e96bc81
use the latest versions of action/checkout and action/setup-python
jkisse Jan 30, 2023
fd76539
update CHANGELOG.rst
jkisse Jan 30, 2023
01377f9
add create function for multiple heat exchangers (#503)
SimonRubenDrauz Jan 31, 2023
75a0ab8
Merge pull request #508 from dlohmeier/hotfix/flow_ctrl_nxgraph
SimonRubenDrauz Feb 1, 2023
662071f
bugfix if all pumps are out of service
Feb 1, 2023
b532585
Merge pull request #512 from senergyNets/bugfix/pump
dlohmeier Feb 1, 2023
1dac8e1
std typ bug in case of multiple pumps
Feb 1, 2023
549f8d2
Merge pull request #514 from senergyNets/bugfix/multiple_pumps
SimonRubenDrauz Feb 1, 2023
256d65a
release 0.8.4
Feb 2, 2023
e7eeca2
Merge pull request #515 from SimonRubenDrauz/hotfix_0.8.4
SimonRubenDrauz Feb 2, 2023
c2f6b71
run release-tests without repo checkout, just with pip package (#492)
SimonRubenDrauz Jan 26, 2023
674564b
consider necessary changes in release.yml
Feb 2, 2023
007679f
Merge branch 'hotfix_0.8.4' of https://github.com/e2nIEE/pandapipes i…
Feb 2, 2023
bd85788
bugfix in example net 0.8.4
Feb 2, 2023
60131ad
testpypi check post1
Feb 2, 2023
d14ca6e
remove post in version
Feb 2, 2023
fa4d506
Merge pull request #509 from e2nIEE/hotfix_0.8.4
SimonRubenDrauz Feb 2, 2023
4440f81
Merge branch 'develop' into hotfix_0.8.4
SimonRubenDrauz Feb 2, 2023
3e7dbfd
Merge pull request #510 from e2nIEE/hotfix_0.8.4
SimonRubenDrauz Feb 2, 2023
2cd2c64
Add even more Python 3.11 (#504)
jkisse Feb 22, 2023
9527ded
pp.toolbox import fix & silence numpy warnings (#520)
SteffenMeinecke Feb 27, 2023
cf96a09
remove Python 3.7 from test workflow (#524)
jkisse Mar 15, 2023
c437200
created two biomethane gases
kbensafta Mar 22, 2023
bcfac5b
add biomethanes to call_lib and first effort to add docu about biomet…
kbensafta Mar 23, 2023
9d7b247
added the HHVS to the gas_compostions.txt
kbensafta Mar 24, 2023
29d5dbf
added biomethane to the doc, docstrings and to the tutos.
kbensafta Mar 24, 2023
13e7e72
slight modification in a tuto
kbensafta Mar 24, 2023
70c5a84
separation of connectivity check for hydraulic and thermal calculation:
dlohmeier May 16, 2023
1eecc90
correction in result extraction for branches with internals
dlohmeier May 23, 2023
a171046
another correction in result extraction for branch components with in…
dlohmeier May 23, 2023
5ed7baf
another small correction in result extraction
dlohmeier May 23, 2023
9010add
yet another small correction to make many tests pass again
dlohmeier May 23, 2023
a8fd622
added compressibility class
EPrade Jun 1, 2023
caf96f4
Changes by mdecker
EPrade Jun 5, 2023
6f21239
further work
EPrade Jun 5, 2023
f56cb49
convert the class to a function
kbensafta Jun 6, 2023
b70fd41
improvement of the heat connectivity check:
dlohmeier Jun 6, 2023
42ac573
further work
EPrade Jun 6, 2023
674f77d
Merge remote-tracking branch 'Erik/gas_mixture_simon' into gas_mixtur…
kbensafta Jun 6, 2023
64e2c2f
prepare push
kbensafta Jun 6, 2023
fd17690
first result
kbensafta Jun 6, 2023
eb9f626
upload coolprops validation file
kbensafta Jun 6, 2023
1eb4112
further improvemnent of the one-node calculation
kbensafta Jun 6, 2023
575fbed
first vectorization trial
kbensafta Jun 7, 2023
424f0d0
small corrections in pipeflow, tests corrected and one added
dlohmeier Jun 7, 2023
73b97bd
small changes for better consistency and hopefully understandability
dlohmeier Jun 7, 2023
2940a87
extended changelog
dlohmeier Jun 9, 2023
cd1490e
first changes for multidimension - not working
EPrade Jun 12, 2023
d285f6d
further changes for comp - array calculation
EPrade Jun 12, 2023
9ad6480
correction of not hard coding calculation mode in result extraction
dlohmeier Jun 12, 2023
8f34a99
small bug fix of missing argument
dlohmeier Jun 12, 2023
dbc4d91
fixes for comp - array calculation
EPrade Jun 12, 2023
397d771
small changes for comp - array calculation
EPrade Jun 12, 2023
a275d94
the compressibility function works fine
kbensafta Jun 13, 2023
2d3cfd8
added mass to molar fraction calulation
EPrade Jun 14, 2023
94553c0
added temperature argument in more components
EPrade Jun 15, 2023
5c8be88
added temperature arguments in different components
EPrade Jun 16, 2023
c670157
added get_cricital_data functionality
EPrade Jun 20, 2023
b9471c8
changed doc for get_crit_data
EPrade Jun 20, 2023
23d55c0
added critical data
EPrade Jun 20, 2023
52ebc86
fixed punctuation in critical data
EPrade Jun 20, 2023
7f0faa7
fixed critical data error
EPrade Jun 20, 2023
8c6307b
added todo's
EPrade Jun 20, 2023
9e34770
added todo's and assigned them
EPrade Jun 20, 2023
9fc9be3
added critical data source
EPrade Jun 20, 2023
cfebf57
the pressures are now in bar in the text files and converted to bar i…
kbensafta Jun 21, 2023
eadc389
rectified the calculate_molar_fraction_from_mass_fraction function
kbensafta Jun 21, 2023
931068f
added conveniency function to performance_hetero.py to see the pit(s)…
kbensafta Jun 22, 2023
72fdf02
fixed calculation error (p was used instead of p_crit and dropped p_c…
EPrade Jun 27, 2023
354294c
added comment on how critical data for h and l-gas was calculated
EPrade Jun 27, 2023
8a0c1ae
add todo and critical data ethane fix
EPrade Jun 27, 2023
bde08cb
added first docstrings
EPrade Jun 28, 2023
a41fab2
small rectification in the pump component
kbensafta Jun 29, 2023
40b2be4
trying to build a plotting function that displays the junction number…
kbensafta Jul 11, 2023
b32abff
added the calculation of the compressibility factor derivative accord…
kbensafta Jul 12, 2023
565ee7a
added a test form the mixture compressibilty factor calculation
kbensafta Jul 12, 2023
03598a0
minor rectifications
kbensafta Jul 17, 2023
97bb28b
minor rectifications
kbensafta Jul 17, 2023
9c857ca
Moved the calculate_mixture_compressibility_fact function to properti…
kbensafta Jul 17, 2023
cbe1afb
provide BSD license via link to license file (#549)
SteffenMeinecke Jul 21, 2023
c320051
fix: consider ambient pressure in calc. of compression work (#543)
jkisse Jul 26, 2023
5d3b204
Merge remote-tracking branch 'e2nIEE_pandapipes/master' into develop
jkisse Jul 26, 2023
5e486e9
Update release.yml
jkisse Jul 26, 2023
885181f
Merge pull request #552 from jkisse/develop
jkisse Jul 26, 2023
b2de031
release preparation
jkisse Jul 26, 2023
1cbe5b9
Merge pull request #553 from jkisse/fix/remove_badge
jkisse Jul 26, 2023
59cf3c3
Fix/remove 3 7 (#555)
EPrade Jul 31, 2023
0d55a14
Merge remote-tracking branch 'e2nIEE_pandapipes/master' into develop
jkisse Jul 31, 2023
30ceea9
Merge pull request #556 from jkisse/develop
EPrade Jul 31, 2023
6122c84
Merge branch 'develop' into connectivity_separate
dlohmeier Aug 1, 2023
8d8a3af
Adaption get_internal_tables_pandas (#539)
dlohmeier Aug 8, 2023
7d6b3eb
adapted the heat exchanger creation in the stanet converter (#538)
dlohmeier Aug 9, 2023
f87207d
small adaption of T_OUT in pipe component to be derived from nodes
dlohmeier Aug 10, 2023
8ea171b
Merge pull request #557 from dlohmeier/adapt_branch_pit_init
dlohmeier Aug 10, 2023
2779ef8
Update .readthedocs.yml (#558)
jkisse Aug 16, 2023
98d8cdf
Revert "Update .readthedocs.yml (#558)" (#559)
jkisse Aug 18, 2023
a775042
added test to make sure that pipeflow fails for disconnected nets wit…
dlohmeier Aug 30, 2023
4d7286c
slight improvement in test
dlohmeier Aug 30, 2023
a0a0fe3
rearrangement of result extraction:
dlohmeier Aug 30, 2023
dd5faec
Merge branch 'develop' of github.com:e2nIEE/pandapipes into connectiv…
dlohmeier Aug 30, 2023
926bc32
slight correction
dlohmeier Sep 1, 2023
513ef67
Merge pull request #540 from dlohmeier/connectivity_separate
dlohmeier Sep 1, 2023
523015b
internal component arrays
dlohmeier Sep 6, 2023
e983e90
slight adjustment of helper function get_component_array
dlohmeier Sep 8, 2023
9fccd73
Merge pull request #561 from dlohmeier/feature/component_pit
dlohmeier Sep 11, 2023
9c86f1e
readthedocs.yml deprecation
Sep 12, 2023
93b96f8
adapted CHANGELOG.rst
Sep 12, 2023
d4cbd90
bugfix in yml
Sep 12, 2023
6a05602
bugfix in yml
Sep 12, 2023
3f648a8
bugfix in yml
Sep 12, 2023
5959ab3
Merge branch 'develop' into biogas
kbensafta Sep 15, 2023
6a87439
Merge pull request #565 from SimonRubenDrauz/readthedocs.yml
SimonRubenDrauz Sep 15, 2023
c807e62
Merge branch 'develop' into biogas
kbensafta Sep 18, 2023
85fe997
fix formatting error in the documentation
kbensafta Sep 18, 2023
d6f804d
Merge branch 'develop' of https://github.com/e2nIEE/pandapipes into b…
kbensafta Sep 18, 2023
ba8f8c3
Merge branch 'biogas' of https://github.com/kbensafta/pandapipes into…
kbensafta Sep 18, 2023
7d82b3f
Merge pull request #526 from kbensafta/biogas
dlohmeier Sep 19, 2023
292768a
Merge remote-tracking branch 'origin/develop' into gas_mixture_simon
Sep 25, 2023
7f12b64
merge develop into connectivity
Sep 29, 2023
3660dd2
bugfix in generic geodata
Sep 29, 2023
21d1bc5
removing simple_plotly
Sep 29, 2023
b006fb3
import missing function
Sep 29, 2023
caba976
adapt tests
Sep 29, 2023
5dbc017
xfailing problems caused by test draft
Sep 29, 2023
2bcc14c
further bugfixes
Sep 29, 2023
ae42f42
bugfix in init_fluid
Sep 29, 2023
6b113d9
bugfix in multinet_control
Sep 29, 2023
9a34c1a
bugfix in pipe plot
Sep 29, 2023
23337fc
bugfix in ext grid considering only p ext grids for mass flow
Sep 29, 2023
1623ae4
Merge pull request #1 from SimonRubenDrauz/gas_mixture_simon
kbensafta Oct 1, 2023
9a8fb85
updated table_creation.py relativ. to the most current master version
kbensafta Mar 12, 2024
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
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ exclude_lines =
omit =
pandapipes/test/*
pandapipes/plotting/geo.py
pandapipes/converter/stanet/data_cleaning.py
103 changes: 103 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# This workflow will create a Python package and upload it to testPyPi or PyPi
# Then, it installs pandapipes from there and all dependencies and runs tests with different Python versions

name: release

# Controls when the action will run.
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
upload_server:
description: 'upload server'
required: true
default: 'testpypi'
type: choice
options:
- 'testpypi'
- 'pypi'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
upload:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

# Sets up python3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
# Installs and upgrades pip, installs twine and other packages for the release-process
- name: Install dependencies
run: |
# Upgrade pip
python3 -m pip install --upgrade pip
# Install twine
python3 -m pip install setuptools wheel twine

# Upload to TestPyPI
- name: Build and Upload to TestPyPI
if: ${{ inputs.upload_server == 'testpypi'}}
run: |
python3 setup.py sdist --formats=zip
twine check dist/* --strict
python3 -m twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TESTPYPI }}
TWINE_REPOSITORY: testpypi

# Upload to PyPI
- name: Build and Upload to PyPI
if: ${{ inputs.upload_server == 'pypi' }}
run: |
python3 setup.py sdist --formats=zip
twine check dist/* --strict
python3 -m twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI }}
TWINE_REPOSITORY: pypi

- name: Sleep for 300s to make release available
uses: juliangruber/sleep-action@v1
with:
time: 300s

build:

runs-on: ${{ matrix.os }}
needs: upload
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
os: [ ubuntu-latest, windows-latest ]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest igraph pytest-split
if ${{ matrix.python-version != '3.11' }}; then python -m pip install numba; fi
- name: Install pandapipes from TestPyPI
if: ${{ inputs.upload_server == 'testpypi'}}
run: |
pip install --no-cache-dir -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pandapipes
- name: Install pandapipes from PyPI
if: ${{ inputs.upload_server == 'pypi'}}
run: |
pip install pandapipes
- name: List all installed packages
run: |
pip list
- name: Test with pytest
run: |
pytest --pyargs pandapipes.test
63 changes: 56 additions & 7 deletions .github/workflows/run_tests_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest python-igraph pytest-split numba
python -m pip install pytest igraph pytest-split
if ${{ matrix.python-version != '3.11' }}; then python -m pip install numba; fi
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install git+https://github.com/e2nIEE/pandapower@develop#egg=pandapower
pip install .
Expand All @@ -55,12 +56,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8']
python-version: ['3.10']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -81,3 +82,51 @@ jobs:
run: |
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

tutorial_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest nbmake pytest-xdist pytest-split igraph
if ${{ matrix.python-version != '3.11' }}; then python -m pip install numba; fi
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install git+https://github.com/e2nIEE/pandapower@develop#egg=pandapower
pip install .
- name: List all installed packages
run: |
pip list
- name: Test with pytest
run: |
pytest --nbmake -n=auto "./tutorials"

docs_check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10' ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Check docs for Python ${{ matrix.python-version }}
uses: e2nIEE/sphinx-action@master
with:
pre-build-command: "apt-get update -y && apt-get install -y git;
git --version;
python -m pip install --upgrade pip;
python -m pip install git+https://github.com/e2nIEE/pandapower@develop#egg=pandapower;
python -m pip install ."
build-command: "sphinx-build -b html source _build -W"
docs-folder: "doc/"
59 changes: 54 additions & 5 deletions .github/workflows/run_tests_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest python-igraph
python -m pip install pytest igraph pytest-split
if ${{ matrix.python-version != '3.11' }}; then python -m pip install numba; fi
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install git+https://github.com/e2nIEE/pandapower@master#egg=pandapower
python -m pip install git+https://github.com/e2nIEE/pandapower@master#egg=pandapower;
pip install .
- name: List all installed packages
run: |
Expand All @@ -49,3 +50,51 @@ jobs:
uses: codecov/codecov-action@v1
with:
verbose: true

tutorial_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest nbmake pytest-xdist pytest-split igraph
if ${{ matrix.python-version != '3.11' }}; then python -m pip install numba; fi
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install git+https://github.com/e2nIEE/pandapower@master#egg=pandapower
pip install .
- name: List all installed packages
run: |
pip list
- name: Test with pytest
run: |
pytest --nbmake -n=auto "./tutorials"

docs_check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10' ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Check docs for Python ${{ matrix.python-version }}
uses: e2nIEE/sphinx-action@master
with:
pre-build-command: "apt-get update -y && apt-get install -y git;
git --version;
python -m pip install --upgrade pip;
python -m pip install git+https://github.com/e2nIEE/pandapower@master#egg=pandapower;
python -m pip install ."
build-command: "sphinx-build -b html source _build -W"
docs-folder: "doc/"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ doc/.build/*
doc/_build/*
doc/build/*
tutorials/.ipynb_checkpoints
tutorials/timeseries/results
pandapipes/data/*
pandapipes.egg-info/
11 changes: 6 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.9"

python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
- requirements: doc/requirements.txt
10 changes: 8 additions & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
Copyright (c) 2020-2022 by Fraunhofer Institute for Energy Economics
Copyright (c) 2020-2023 by Fraunhofer Institute for Energy Economics
and Energy System Technology (IEE), Kassel, and University of Kassel. All rights reserved.

Lead Developers:
- Dennis Cronbach
- Daniel Lohmeier
- Simon Ruben Drauz
- Jolando Marius Kisse
Expand All @@ -16,7 +15,14 @@ Further Contributions by:
- Christian Spalthoff
- Daniel Then
- Marius Schenk
- Natalia Sanina
- Erik Prade

Coordination:
- Tanja Manuela Kneiske
- Lars Lauven
- Jan Ulffers
- Martin Braun

Alumni:
- Dennis Cronbach (until July 2022)
Loading
Loading