We have a release candidate for v0.5.1 (Package at PyPI, Tag at GitHub). There are some additions, but we also prepare for significant API changes that will come obligatory with v0.6. When upgrading from v0.5.0 to v0.5.1, there should be no changes required for you code. (This is not true if you use features that are explicitly marked “experimental”. Those may change without notice.)
Noticeable changes include:
- The component
Transformer
is now namedConverter
. - You can now combine
Investment
andOffsetConverter
. - Having energy stored in a
GenericStorage
can now have a cost. - You can now give an
Investment
object as thenominal_value
. We considered this more intuitive than working with two mutually exclusive different keyword arguments. - Tons of improvements in the (still experimental) MultiPeriod optimisation.
Again, there are transitional wrappers, so nothing should break when updating from v0.5.0, using the new API should be voluntary (you get a warning) for now. It would be nice if you test if your solph v0.5 code still works with this RC. We are aiming for a final release of v0.5.1 by the end of August.