For my research, I set up an energy system model with multiple sectors. I am still quite new to OEMOF and need help for my problem.
After setting up my energysystem, I created additional model constraints by adding Pyomo blocks with the constraints and additional variable. This works fine for me.
Now I have the situation that one of these variables causes costs that must be summed to the total costs. In summary I have this model:
New variable with constraint and costs:
Var_new = Var_model1 + Var_model2
C_new = Var_new*c_new
New total costs:
minimize(C_total,new) = minimize(C_total + C_new).
How can I include these new costs in my model objective function?
Creating additional blocks could be a solution, but I was thinking of a simpler way by just adding costs to the objective function (also with the view that creating additional blocks might not work in all cases).
I hope my problem was understandable and that you could help me.