rl-institut / RAMP

Repository of the open-source RAMP model for generating multi-energy loads profiles
European Union Public License 1.2
3 stars 0 forks source link

Higher values of random_var_w parameter raises ValueError: negative dimensions are not allowed #10

Open dhungelgd opened 2 years ago

dhungelgd commented 2 years ago

A ValueError: negative dimensions are not allowed is obtained when the value of random_var_w fed is greater than a certain value (In the example, the error occurs when the value exceeds approx 0.55 )

grafik

Bachibouzouk commented 2 years ago

This is probably because either rand_window[0] or rand_window[1] is negative. I would check the function which assign their values