Hi guys,

I’m currently modelling what the impact of electric vehicles will be on the power production and the power demand of Switzerland.

**My problem:**

If a flow is not fixed, I can set summed_max and summed_min constraint of the flow, so that the solver optimizes the flow to minimize the cost function. This is already implemented in oemof.

However, summed_max and summed_min are only the limits over *all* timesteps. For example if I calculate the scenario over a timespan of a year, they are the maximum and minimum limit for all the 8760 timesteps. What I want to do however is to be able to set summed_max and summed_min for monthly timesteps, so that it optimizes the flow within these monthly limits (~730) timesteps.

Is there a way I can do that? I appreciate your help and inputs!