Hello everyone,
after trying to debug for over a day I’ve pretty much reached the end of my rope…
Is anyone aware of any current issues with using the parameters_as_dict function within a multiperiod optimization?
The error I keep getting relates to an array and index length mismatch, which I have traced back to be a likely error with the “max” Attribute of one of my nodes being equal to the length of my timeindex (array length = 17520), although the index length is equal to my periods (index length = 2).
However, I’ve printed out every single “max” attribute I provide for every single node when building my energy system and am not (ever) providing the model with an array for max, which leads me to believe it might have something to do with the way that solph itself may be handling attributes ?
I’m thankful for any help with the matter!
Cheers!