I am trying to model a sink which has a variable maximum capacity over time. The maximum capacity is a known time series. So far, the current two approaches which come into my mind and I have tried are:
specifying a time series for the nominal capacity: The optimisation process starts, but terminates with following error code: ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
setting a nominal capacity and specifying an actual value (fixed = false): the actual value is ignored
Any ideas or suggestions on how to do this better?