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

Release v0.5.3 #1086

Merged
merged 156 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
82f6cfb
Work towards v0.5.3
p-snft Jan 12, 2024
23bceff
Work towards v0.5.3
p-snft Jan 12, 2024
6fd1669
Deactivate dump/restore in basic example
p-snft Jan 23, 2024
f1187db
Fix oemof network requirement
joroeder Feb 3, 2024
544ffc8
Merge pull request #1044 from oemof/fix/oemof_network_requirement
p-snft Feb 5, 2024
13c1e94
Replace 'H' with 'h' in various places
fwitte Feb 8, 2024
3ec8a90
Bump python minimum version
fwitte Feb 9, 2024
715b070
Require oemof.tools v0.4.3
p-snft Feb 9, 2024
5822e17
Require pandas 2
p-snft Feb 9, 2024
5e3d3e8
multiple outputs for OffsetConverter, fixed examples and docu
lensum Feb 16, 2024
add47be
adjusted DeprecationWarning
lensum Feb 16, 2024
84e2a4b
updated tests
lensum Feb 16, 2024
913e06b
fixed warning in docu
lensum Feb 16, 2024
bfe14a8
added whats_new
lensum Feb 16, 2024
13752e7
fixed bugs in the docu
lensum Feb 16, 2024
3e96e47
adhere to line lengths
lensum Feb 16, 2024
90297b1
fixed flake8 checks
lensum Feb 19, 2024
b00fd5f
Update "commits since" badge
p-snft Feb 20, 2024
cb4d8ff
Create .scrutinizer.yml
p-snft Feb 20, 2024
054b9f8
Explicitely pass `custom_properties` to `Node` class
richartkeil Mar 1, 2024
65371bf
Improved variable naming and formatting in 'basic_example.py' for enh…
MedinavonLevetzow Mar 5, 2024
b503c73
Update whatsnew log
richartkeil Mar 6, 2024
124f886
Merge pull request #1060 from richartkeil/fix/custom-attributes
p-snft Mar 6, 2024
31cbad2
Add dump_and_restore parameter to main function
p-snft Mar 7, 2024
06d4eb0
Delete useless whitespace
p-snft Mar 7, 2024
c7bcea2
Update examples/basic_example/basic_example.py
MedinavonLevetzow Mar 18, 2024
7936783
Update examples/basic_example/basic_example.py
MedinavonLevetzow Mar 18, 2024
d7515f7
Rollback: Changed the previous US 'Optimize'-Spelling-version back to…
MedinavonLevetzow Mar 18, 2024
3f1bb5d
Merge pull request #1061 from MedinavonLevetzow/dev
p-snft Mar 21, 2024
0986292
Merge pull request #1040 from oemof/revision/basic_example
p-snft Apr 2, 2024
595676a
Merge branch 'dev' into feature/MultipleOutputsOffsetConverter
p-snft May 16, 2024
e5fb98c
Merge pull request #1054 from lensum/feature/MultipleOutputsOffsetCon…
p-snft May 16, 2024
88a1beb
Merge branch 'dev' into revision/scrutinizer_config
p-snft May 16, 2024
8e53dfb
Add quotation marks to wildcard paths
p-snft May 16, 2024
4b25133
Merge pull request #1055 from oemof/revision/scrutinizer_config
p-snft May 16, 2024
79bebab
Delete unreachable code
p-snft May 16, 2024
87be0ad
Merge pull request #1066 from oemof/fix/obsolete-error-message-for-ge…
p-snft May 16, 2024
bfc096b
Enforce nonconvex for OffsetConverter input instead of outputs
fwitte May 21, 2024
4973eba
Adjust error message and code styling
fwitte May 21, 2024
dc3fa63
Draft implementation for OffsetConverter with single reference flow
fwitte May 21, 2024
a2fc385
Fix API example code
fwitte May 21, 2024
fd2a4d8
Fix example docs
fwitte May 21, 2024
0f4bb3d
Split parameter description for conversion_factors and normed_offsets
fwitte May 21, 2024
33caead
Try a more simple reimplementation of the investment mode
fwitte May 21, 2024
25b528f
Fix typo and check if there is any with a status_nominal attribute i…
fwitte May 21, 2024
7bc2b30
Test using Python 3.12
p-snft May 21, 2024
efffe87
Adhere to Black
p-snft May 21, 2024
6b293f5
Revert "Test using Python 3.12"
p-snft May 21, 2024
b35efad
Merge pull request #1049 from oemof/fix/#1046-pandas-date_range-futur…
fwitte May 21, 2024
1a7ea98
Catch InvestNonConvexFlowBlock missing the status_nominal attribute
fwitte May 23, 2024
ef1454e
Merge branch 'dev' into fix/#1067-offsetconverter-multi-output
fwitte May 23, 2024
43d7dae
Draft a couple of tests with single input single output offsetconverter
fwitte May 24, 2024
ddbc27d
Change default normed offset to 0
fwitte May 27, 2024
0bf596e
Adapt some of the existing error tests and remove deprecated ones
fwitte May 27, 2024
5cd3ef7
Fix more tests and adopt the OffsetTransformer to the new API
fwitte May 27, 2024
150f533
Explicitly test for the slopes and offsets instead of checkusm
fwitte May 27, 2024
849a380
Force investment attribute to the NonConvex flow
fwitte May 27, 2024
f033400
Add exceptions for provision of conversion_factors or normed_offsets …
fwitte May 28, 2024
8efc282
Add methods to calcualte slope and offset from two power points and t…
fwitte May 28, 2024
fbd9ac8
Update the lp file for the updated constraints of the offsetconverter
fwitte May 28, 2024
cefde9f
Run black on all modified source files
fwitte May 28, 2024
27a6ffb
Clean up some variable names and fix an issue with detecting if refer…
fwitte May 28, 2024
085bac0
Make slope and offset calculation non-dimensional
fwitte May 28, 2024
f3423e8
Add slopes and offsets to constraint tests
fwitte May 28, 2024
faf3c86
Update lp files
fwitte May 28, 2024
08bd06b
Run isort and black
fwitte May 28, 2024
7ed8564
Run black on missing files
fwitte May 28, 2024
2caf9ff
Black again
fwitte May 28, 2024
63e60e2
Fix docs and convert example to be doc-testable
fwitte May 29, 2024
34ae4db
Update docs on usage
fwitte May 30, 2024
15e08ac
Make a draft compability adapter for the old API using coefficients
fwitte May 30, 2024
224a829
Draft to merge configs and remove non-relevant ones
fwitte May 30, 2024
2a4bd63
Fix syntax
fwitte May 30, 2024
9120f22
One more try to fix the syntax
fwitte May 30, 2024
64ac4b0
More stringification
fwitte May 30, 2024
e43a3f4
Fix one more syntax error
fwitte May 30, 2024
33b65a7
Final syntax change?
fwitte May 30, 2024
bd5e52e
Complete sdist file list in pyproject.toml and remove MANIFEST.in file
fwitte May 30, 2024
83953fd
Adapt check tox commands to exclude setup.py
fwitte May 30, 2024
bf5258e
Remove VERSION and make the docs use the info, which is now the sing…
fwitte May 31, 2024
d493a2c
Add python3.11 supported in meta information for pypi
fwitte May 31, 2024
d1d0d54
Remove outdated comments from cookiecutter template
fwitte May 31, 2024
478fa16
Remove pydocstyle from pyproject.toml
fwitte May 31, 2024
2cba242
Merge pull request #1073 from oemof/fix/#1072-merge-and-clean-configu…
p-snft May 31, 2024
1ee655c
Fix non-existing variable names
p-snft Jun 4, 2024
b001005
Merge branch 'dev' into fix/require_pandas_2
p-snft Jun 4, 2024
9670a97
Use small 'h' for freq in pd.date_range
p-snft Jun 4, 2024
1643709
Add compatibility wrapper for Pandas <2.2
p-snft Jun 4, 2024
26c3e91
Adhere to Black
p-snft Jun 4, 2024
5b52583
Merge pull request #1051 from oemof/fix/require_pandas_2
p-snft Jun 5, 2024
3fca2d2
Start removing period from flow index
p-snft Jun 5, 2024
fb6d9b4
Let example script fail if input data is not found
p-snft Jun 5, 2024
c25ba7b
Adhere to Black
p-snft Jun 5, 2024
a848e7b
Merge pull request #1075 from oemof/fix/basic_example
p-snft Jun 5, 2024
53f63db
Merge branch 'dev' into revision/refine_timeindex
p-snft Jun 5, 2024
1c19f6d
Adjust first Blocks for simpler index
p-snft Jun 5, 2024
f19d65e
Adhere to Black
p-snft Jun 5, 2024
c3a2444
Move transformation from coefficients to slope and offset to own func…
fwitte Jun 5, 2024
fe9fc24
Remove slack source and check for infeasibility
fwitte Jun 5, 2024
74715b8
Fix nominal and minimal values (should be relative, not absolute)
fwitte Jun 5, 2024
5d50d21
Add test for compatibility of new API with coefficients usage
fwitte Jun 5, 2024
60a49eb
Add a warning message for the deprecation of the coefficients
fwitte Jun 5, 2024
9efbd5c
Add missing docstrings
fwitte Jun 5, 2024
a642753
Make example work with latest OffsetConverter API
fwitte Jun 5, 2024
bdfe292
Merge branch 'dev' into fix/#1067-offsetconverter-multi-output
fwitte Jun 5, 2024
fdadece
Allow TIMEINDEX and TIMESTEPS as indexes
p-snft Jun 5, 2024
d1659f2
Run black on a couple of things
fwitte Jun 5, 2024
495192b
Explicitly set max to 1
fwitte Jun 5, 2024
99446a8
Use TIMESTEPS to index flows and storage content
p-snft Jun 5, 2024
99de2d4
Rename slope and offset calculation function and add unit tests
fwitte Jun 6, 2024
2640fb3
Run black
fwitte Jun 6, 2024
9d51d51
Make flake and black more happy than ever
fwitte Jun 6, 2024
f8da8a0
Remove unnecessary lines
fwitte Jun 6, 2024
12777ea
Fix index usage in ElectricalLine
p-snft Jun 6, 2024
76e5c3f
Simplify results check and add tests for double input output
fwitte Jun 6, 2024
a878404
Run black
fwitte Jun 6, 2024
09a9286
The constraint_tests are joining the dark side as well
fwitte Jun 6, 2024
1f2a9d4
Adhere to Black
p-snft Jun 6, 2024
ef7c9bb
Adhere to Black
p-snft Jun 6, 2024
5091e3a
Change offset linear coefficient names to m and y_0,normed
fwitte Jun 7, 2024
a36ba1f
Remove unnecessary lines
fwitte Jun 7, 2024
fce4a4b
Update tests
fwitte Jun 7, 2024
fecba2b
Add a test for a system with two OffsetConverts
fwitte Jun 7, 2024
10ec905
Extend example
fwitte Jun 7, 2024
9f9a7fd
Remove old figures
fwitte Jun 7, 2024
732e891
Fix Investment test and revert to try, except version for NonConvexBl…
fwitte Jun 7, 2024
ede747c
Fix a couple of typos
fwitte Jun 7, 2024
6334662
Run black
fwitte Jun 7, 2024
97e350f
Fill empty error message with content
p-snft Jun 10, 2024
8d1fe63
Test OffsetConverter input error handling
p-snft Jun 10, 2024
1aafd29
Adhere to maximum line length
p-snft Jun 10, 2024
30ff0b8
Sort imports
p-snft Jun 10, 2024
89cf222
Adapt lp files in constraint tests
p-snft Jun 12, 2024
86e63f8
Fix gradient test
p-snft Jun 12, 2024
f6de18d
Finish single period tests
p-snft Jun 12, 2024
28ae2bc
Adjust additional test lp files
p-snft Jun 12, 2024
30fbd8c
Finish adjusting multi period tests
p-snft Jun 12, 2024
00efcc4
Remove cellular modelling stub
p-snft Jun 12, 2024
45262f5
fixed typo in whatsnew\v0-5-3.rst
lensum Jun 13, 2024
3d7d740
Merge pull request #1082 from oemof/revision/remove-cellular-model-stub
p-snft Jun 14, 2024
27e8113
Update What's New
fwitte Jun 19, 2024
8029850
Resolve merge conflicts
fwitte Jun 19, 2024
a0e8f3e
Merge branch 'fix/#1067-offsetconverter-multi-output' into dev
fwitte Jun 19, 2024
63f41a1
Require numpy < 2.0.0
p-snft Jun 19, 2024
069fe62
Merge branch 'dev' into revision/refine_timeindex
p-snft Jun 19, 2024
a3693b2
Add missing lp file
p-snft Jun 19, 2024
155cc70
Release 0.5.3a2
p-snft Jun 21, 2024
6b7e69e
Merge branch 'dev' into revision/refine_timeindex
p-snft Jun 21, 2024
ca095fc
Add refined time index to whatsnew file
p-snft Jun 21, 2024
1b26471
Adapt naming in processing
p-snft Jun 24, 2024
f2b40f9
Merge pull request #1077 from oemof/revision/refine_timeindex
p-snft Jun 24, 2024
f5662a9
Properly ignore virtual environments
p-snft Jun 24, 2024
17fbee3
Adhere to Black
p-snft Jun 24, 2024
82ffed1
Merge pull request #1083 from oemof/dev
p-snft Jun 25, 2024
8ed977d
Release v0.5.3
p-snft Jun 25, 2024
48a98c9
Finalise v0.5.3 whatsnew
p-snft Jun 25, 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
20 changes: 0 additions & 20 deletions .bumpversion.cfg

This file was deleted.

4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
max-line-length = 79
exclude = */migrations/*, docs/conf.py
ignore = E203, W503
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: (e.g. iOS, Debian, Ubunut, Windows10)
- Python version (e.g. 3.8)
- Python version (e.g. 3.11)

**Additional context**
Add any other context about the problem here.
2 changes: 1 addition & 1 deletion .github/workflows/tox_pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.9, "3.10", "3.11"]

steps:
- uses: actions/checkout@v1
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ develop-eggs
.installed.cfg
lib
lib64
venv*/
pyvenv*/
venv/
.venv/
pyvenv/
pip-wheel-metadata/

# Installer logs
Expand Down
7 changes: 0 additions & 7 deletions .prospector.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
filter:
paths:
- src/
- examples/
excluded_paths:
- "*/experimental/*" # submodules marked experimental

4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ Available standard environments are::
clean
check
docs
py37
py38
py39
py310
py311

To run a subset of tests::

Expand Down
26 changes: 0 additions & 26 deletions MANIFEST.in

This file was deleted.

6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
:alt: Supported implementations
:target: https://pypi.org/project/oemof.solph

.. |commits-since| image:: https://img.shields.io/github/commits-since/oemof/oemof-solph/v0.5.1/dev
.. |commits-since| image:: https://img.shields.io/github/commits-since/oemof/oemof-solph/v0.5.2/dev
:alt: Commits since latest release
:target: https://github.com/oemof/oemof-solph/compare/v0.5.1...dev
:target: https://github.com/oemof/oemof-solph/compare/v0.5.2...dev

.. |zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.596235.svg
:alt: Zenodo DOI
Expand Down Expand Up @@ -267,7 +267,7 @@ or by e-mailing us (see `here <https://oemof.org/contact/>`_ for contact informa
License
=======

Copyright (c) 2023 oemof developer group
Copyright (c) oemof developer group

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 Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

Loading
Loading