Search found 3 matches

by martinka
5 years ago
Forum: Modeling
Topic: Restriction of a Variable
Replies: 5
Views: 7309

Re: Restriction of a Variable

Thank you Michael for your help! I've tried to add those restrictions to my model, but I think it doesn't work right. I thought again about the binary equations and I was wondering if the value for MAXSOLAR really matters? Because to guarantee that the pump runs (x_pump(t) >= 0) the binary variable ...
by martinka
5 years ago
Forum: Modeling
Topic: Restriction of a Variable
Replies: 5
Views: 7309

Re: Restriction of a Variable

Thanks for the helpful responses!!

Michael, your explanation was exactly what I was looking for. The linear equations seem clear to me. However I'm not sure about how to calculate MAXSOLAR and MAXPUMP. Could you explain that to me?

Thanks a lot for your support!

Martin
by martinka
5 years ago
Forum: Modeling
Topic: Restriction of a Variable
Replies: 5
Views: 7309

Restriction of a Variable

Hey, the following model works already, but now I would like to add a restriciton to a variable, and I don't know how/where to add that restriction. x_pump(t) should only work in between the range of 0.085 and 0.2. Meaning the pump only runs when x_solar is higher than 0.085 and lower than 0.2. Can ...