Open JassemKh opened 3 years ago
Heyho,
Whats your error message? One thing first: Why do you call the function with the model and then a string: 're_share,0.5'
, probably a typo -> remove the '
or rather only put them around the 're_share'
.
Maybe this source code is helpful for you:
https://github.com/znes/oemof-barbados/blob/master/model.ipynb
Where I also implemented a constraint for RE (however, based on the 1- conventional share), but the logic should be similar.
Heyho,
Whats your error message? One thing first: Why do you call the function with the model and then a string: 're_share,0.5'
, probably a typo -> remove the '
.
Maybe this source code is helpful for you:
https://github.com/znes/oemof-barbados/blob/master/model.ipynb
Where I also implemented a constraint for RE (however, based on the 1- conventional share), but the logic should be similar.
This is related to this forum issue.
@simnh , it was a mistake I meant actually RE_sh_const(model,'re_share,'0.5)! thank you for sharing your project! I'm gonna check that! best wishes!
hello,
I'm trying to implement a custom constraint for the share of renewable energy in my energy system consisting of pv battery and dieselGen. this a part of the code, where a I've added in the components pv and dieselGen the attribute „re_share“.
I build this funtion based on source code for oemof.solph.constraints.integral_limit but it didn't not work. I' still be a beginner and not familiar that much with the constraint concept in Oemof. Maybe you might have a better idea how to realise that! I will appreciate it!
I'am grateful for any help!