Oemof.solph

Latest version: v0.5.6

Safety actively analyzes 688634 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

0.5.6

What's Changed

* Fix/numpy2 compatibility by p-snft in https://github.com/oemof/oemof-solph/pull/1113
* Use Python 3.10 for RTD builds

(Note: This tag has been recreated to allow building the docs.)

**Full Changelog**: https://github.com/oemof/oemof-solph/compare/v0.5.5...v0.5.6

0.5.5

What's Changed
* Add length check (setting it) for sequences by p-snft in https://github.com/oemof/oemof-solph/pull/1117
(fixes [FakeSequences Not Iterating Correctly](https://github.com/oemof/oemof-solph/issues/1115))

**Full Changelog**: https://github.com/oemof/oemof-solph/compare/v0.5.4...v0.5.5

0.5.4

What's Changed
* Allow sinks/sources to have multiple inputs/outputs by p-snft in https://github.com/oemof/oemof-solph/pull/1088
* Introduce variable for storage losses by p-snft in https://github.com/oemof/oemof-solph/pull/1090
* Display inline math correctly and hint towards the usage of the inbuilt slope and offset calculation methods by fwitte in https://github.com/oemof/oemof-solph/pull/1092
* Pandas warnings fixes by uvchik in https://github.com/oemof/oemof-solph/pull/1089
* Replace _Sequence by _FakeSequence by p-snft in https://github.com/oemof/oemof-solph/pull/1101
* Allow lower limit for generic_integral_limit by p-snft in https://github.com/oemof/oemof-solph/pull/1097
* Formulate full_load_time docstring specific for energy by p-snft in https://github.com/oemof/oemof-solph/pull/1096


**Full Changelog**: https://github.com/oemof/oemof-solph/compare/v0.5.3...v0.5.4

0.5.3

API changes

* The `OffsetConverter` expects two dictionaries now instead of the `coefficient` tuple. These are, `conversion_factors` with the slope relative to the `NonConvex` flow, and `normed_offsets` with the normed offsets relative to the `NonConvex` flow.
* The `NonConvex` attribute must be specified for one of `Flow` at the inlets or outlets of the `OffsetConverter`. `min`, `max` and `nominal_value` have to be specified for the same `Flow`.

New features

* `OffsetConverter` can now handle multiple inputs and outputs
* There are two methods available for the `OffsetConverter` to calculate the slope and normed offset relative to the `NonConvex` input given the `min`, `max` and the respective efficiencies/ratios, i.e. `slope_offset_from_nonconvex_input` and `slope_offset_from_nonconvex_output`.

Bug fixes

* Fix custom attributes of Sink, Source, GenericCHP and Converter components not being properly passed to base Node class

Other changes

* Unified (usage) documentation for `OffsetConverter`
* Remove approach to model cellular systems (was more confusing than it helped)
* Refine indexing of flows (period index was not needed).

Known issues

* Incompatible to numpy >= 2.0.0. This is because of Pyomo, but we have to enforce a lower version in our package.

Contributors

* Lennart Schürmann
* Richard Keil
* Francesco Witte
* Patrik Schönfeldt

0.5.2

API changes

* New bool attribute `use_remaining_value` of `oemof.solph.EnergySystem`
* Use list for period definition in multi-period investment optimization.

New features

* Allow for evaluating differences in the remaining vs. the original value
for multi-period investments.
* Allow to define minimum up- and down-time per time step

Bug fixes

* Fix handling of investment annuities and fixed costs for multi-period models:
Limit to costs that occur within the optimization horizon to prevent a
bias towards investments happening earlier in the optimization horizon.
* Fix bugs in multi-period documentation.
* Fix minimum uptime being relevant for initial downtime (and vice versa).
* Fix duplicated discounting of fixed costs for multi-period investment

Other changes

* Improved compatibility with upcoming oemof.network

Known issues

* Documentation, example and API of OffsetConverter are inconsistent
and might not work as expected.

Contributors

* Patrik Schönfeldt
* Johannes Kochems
* Julian Endres
* Hendrik Huyskens
* Raul Ciria Aylagas

0.5.1

API changes

* Unify API for constant sized objects and sizing of investment. For both, `Flow` and
`GenericStorage`, the argument `investment` is now deprecated. Instead,
`nominal_value` and `nominal_storage_capacity` accept an `Investment` object.
* Change investment for experimental :class:`oemof.solph.components.experimental._sink_dsm.SinkDSM`: Remove
obsolete parameters `flex_share_down` and `flex_share_up`.


New features

* Add option to run multi-period (dynamic) investment models with oemof.solph as an experimental feature:
* You can change from standard model to multi-period model by defining the newly introduced `periods`
attribute of your energy system. Be aware that it is experimental as of now. `periods` is a dictionary
mapping the periods you want to model (usually years) to pandas.date_range objects.
* Add attributes `periods` to :class:`oemof.solph._energy_system.EnergySystem`.
* Introduce new Pyomo Sets `PERIODS` and `TIMEINDEX` in :class:`oemof.solph.models.Model`.
* Index all investment-related variables with `PERIODS` and flow variable with `TIMEINDEX`, which
is a tuple of periods and timesteps.
* Add lifetime tracking for investment options by introducing the attributes `lifetime` and `age`.
* Add new investment-related variables `total` holding the total capacity, `old` holding capacity
to be decommissioned, `old_exo` (for exogenous) holding existing capacity to be decommissioned and
`old_end` holding model-endogenously installed capacity to be decommissioned after its lifetime.
* Include discounting and calculating annuities in the objective function terms. Introduce attribute `discount_rate`
of :class:`oemof.solph.models.Model` and `interest_rate` for individual investment objects (options.Investment).
* Add `storage_level_constraint` that allows to set flows from/to storage (in)active based on storage content.


Documentation

* See extensive documentation in user guide and API reference for the new (experimental) multi-period feature.


Bug fixes

* Fixed error when calling `oemof_installation_test` as console script.
* Corrected several typos in the docs.


Testing

* Add tests for experimental SinkDSM component.


Contributors

* Patrik Schönfeldt
* Johannes Kochems
* Tobi Rohrer
* Patrik Schönfeldt
* Julian Endres
* Jann Launer

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.