oemof.solph v0.5 released

We are happy to announce oemof.solph v0.5.0 (codename “Rigorous refactoring”) . This release brings an extreme shift towards more user focused design:

  • Clean definition of time indexes: You need N+1 points in time do define N time spans.
  • Parts of the energy system graph are now clearly structured into buses, components, and flows. This adds some extra words to imports but makes the underlying logic more transparent.
  • Public and private API are be more distinguished now. (‘_’ signifies private, public API is defined in init files.)
  • Experimental code is now sitting in sub-modules called experimental (replaces “custom”).
  • The flow arguments summed_minand summed_max now have the more descriptive names full_load_time_min and full_load_time_max.
  • Keyword arguments are now explicit. This will make it easier to find the correct arguments and will also catch typos. Custom attributes can be added using the argument custom_attributes. Those will be passed down the class hierarchy and can (possibly) be handled in parent classes.
  • Add inactivity_costs as an option for Flows. Inactivity costs is a cost for times where a Flow is not operated.
  • Examples are added to the documentation. (The format of the examples could be improved, though.)

Besides these changes, there is one big thing that has happened “under the hood”. It is now possible to combine NonConvex and Investment optimisation in the same Flow.

Continue reading “oemof.solph v0.5 released”

oemof.tabular 0.0.3: New release on PyPI

We are happy to announce that we have released a new version of oemof.tabular. Oemof.tabular allows to create energy systems from tabular datapackages, which makes it easy to build models without writing a lot of code.

The focus of the release has been the adaption of tabular to oemof.solph 0.4.5. The following changes have been made:

  • Adjusted to new oemof.solph structure.
  • Allowed definition of costum foreign keys. Keys and related descriptors are now read from config files (.json) and can be adopted by setting environment variables using custom config files.
  • Added constraint tests for most facades.
  • Reduced number of imported packages.
  • Cleaned up the badges in README.
  • Moved CI services to GitHub actions.

The following issues have been fixed:

  • Fixed Link by not setting constraints that limit direction.
  • Fixed storage investment with existing capacities
  • Introduced a conditional to fix error when running datapackages with expandable links.
  • Fixed typo in the attribute variable_costs in facades.py.
  • Introduced marginal costs for both output flows instead of only one to avoid elimination of energy.

A detailed summary can be found here.

TESPy v0.4.0 – Gibb’s Gallery and more

A new major version of TESPy has been published. The releases Gibb’s Gallery and User’s Universe feature major improvements in the software.

A new major version of TESPy has been published. The releases Gibb’s Gallery and User’s Universe feature major improvements in the software, amongst others:

  • Automatic documentation of your TESPy model with LaTeX. Examples are available in the oemof_examples repository, e.g. this report.
  • Generic user defined equations enhancing the flexibility in modelling.
  • Generic exergy analysis tool.
  • Export of fluid property data in a format, that can directly be used for generation of states diagrams in fluprodia.

On top of that, the core of the TESPy components has been reworked to lower the access barriers for new developers.

The new version also comes with an new API, therefore minor changes in your model will be necessary. Read about all changes necessary in the release notes of Gibb’s Gallery and the release notes of User’s Universe. You will find all new features available in those notes, too.