Set the annual production of a source while keeping a free hourly production in oemof.solph

Hello everyone,

I am working on oemof.solph v0.4.4 and I couldn’t figure out how to set the annual production of a Source while keeping a free hourly production (could also be on a Sink or a Flow). Do you know from your experience whether it is possible in oemof?

My energy system works with both “investment mode” and “basic” flows. The idea is to set an amount of energy to be matched at the end of the year and let the optimisation decide the size of the component(s) and when the dispatch occurs. A simple version of it would look like this:

Thank you in advance

Hi @Edouard,

you could use summed_max and summed_min (solph v0.4 naming, named full_load_hours in v0.5) to set the operational time. When the nominal_value is fixed, the amount of energy is automatically fixed that way.