random variable in gams

Problems with syntax of GAMS
Post Reply
anan
User
User
Posts: 20
Joined: 5 years ago

random variable in gams

Post by anan »

hello,
I have a random variable following a probability distribution and its an input variable to the equation how can I model it in gams

should I use (randvar)? is it possible to use randvar without EMP?

waterhead(Hy,t,bus)$Bushy(bus,Hy) .. head(Hy,t)=e= datahy(Hy,'h0')+lw(hy,t);

hydro_output(Hy,t,bus)$Bushy(bus,Hy).. Ph(hy,t)=e=Q*datahy(Hy,'eff')*head(hy,t);

the random variable is Q

I used the chance constraint but I need a different idea

thank you,
Anan
Post Reply