After oemof v0.3.2, we decided to make oemof’s structure more clear: Both, the framework (including e.g. TESPy) and the Package for energy system optimisation (using solph) were called the same – oemof. With the release of v0.4.0, there are now split packages for oemof.solph, oemof.network, and oemof.tools.
- Improved storage: The
GenericStoragenow allows for
fixed_losses, that are independent from the current
- Having a non equidistant time index is now allowed.
- User warnings help to identify possible flaws in the energy system.
(See the the changelog in the documentation more information.)
- Change the import of oemof-solph due to unbundling oemof solph
The import statements have changed, for example
from outputlib.views import processing–>
from oemof.solph import processing. There are further changes for the modules
- Rename the flow attribute “actual_value“ to “fix“
actual_value=time_serieswas only considere, when a second attribute
fixed=Truewas set. To make this more user-friendly, we adjusted this to
fix=time_series. This is also coherent with the attributes
- Rename GenericStorage attributes
- The attribute
capacityof the GenericStorage describing the current absolute stored energy/material/water etc. has been renamed to
storage_content. In the GenericStorageBlock and GenericInvestmentStorageBlock, the attribute
init_caphas been renamed
init_content. This change is intended to avoid confusion with
nominal_storage_capacityor capacity in terms of installed capacity.
- The attribute
You need to adapt your application if you update from a previous version. To update, you can use pypi:
pip uninstall oemof
pip install oemof.solph