Search found 6 matches

by YCCC97
2 years ago
Forum: Syntax
Topic: Net, Loading and unloading of resources
Replies: 7
Views: 5278

Re: Net, Loading and unloading of resources

Greetings! My bad as i wanna rush my things but thanks for pointing out my unseen/unpractical attitude in solving GAMS while not really understand all those fundamental. I had tried your method and finally solved my problem! :D Thanks again! :D There are many many fundamentally wrong things in this ...
by YCCC97
2 years ago
Forum: Syntax
Topic: Net, Loading and unloading of resources
Replies: 7
Views: 5278

Re: Net, Loading and unloading of resources

Good day, after i code LVS and ULVS under parameter, and added suffix to the variable, it showed Symbol declared but no values have been assigned. Is it because i code the parameter section at wrong sequence?? $onuellist Set i supply /i1*i2/ j demand /j1/ d number of days in a time cycle /d1*d7/ OW ...
by YCCC97
2 years ago
Forum: Syntax
Topic: Net, Loading and unloading of resources
Replies: 7
Views: 5278

Re: Net, Loading and unloading of resources

Many thanks for your advises and tips! Never know i can include the variable attributes like you show. God bless you. After solve, variables have much more information than just the solution. They have (.l, .lo, .up, .scale, .m). Please take a look at variable attributes for more details: https://ww...
by YCCC97
2 years ago
Forum: Syntax
Topic: Net, Loading and unloading of resources
Replies: 7
Views: 5278

Re: Net, Loading and unloading of resources

Hi, i do realised that should be put under parameter too! However, i would required to use some variables obtain from the equation section and put in the parameter section, but then the error shows "a suffix is missing..." Cmole(j)=sum[i,Cij(i,j)]/Cmw; Hmole(j)=sum[i,Hij(i,j)]/Hmw; Omole(j...
by YCCC97
2 years ago
Forum: Syntax
Topic: a suffix is missing error
Replies: 4
Views: 8454

Re: a suffix is missing error

Hey there! Greetings! So, is it possible to do so? I'm encounter the same problem where my previous part was equation and then i want to use some of the variable from the previous part to next part(parameter). If yes, how should i correct my equations? Actually i need the model to help me find the F...
by YCCC97
2 years ago
Forum: Syntax
Topic: Net, Loading and unloading of resources
Replies: 7
Views: 5278

Net, Loading and unloading of resources

image.png Hello guys, i would like to know how to do the coding for the equation section if i want to let the model automatically let the positive value of NVS equals to "LVS" and negative value of NVS equals to -ULVS/0.9. And how to do the coding for CVS? Many thanks! Eq8nvs(i,d).. NVS(i...