Hi. I am currently working on my final year project regarding water network synthesis or water minimisation. I am new to GAMS and I am facing issue with my second case study which is water network synthesis with partitioning regenerator to minimise the freshwater consumption as well as wastewater flowrate. The figure attached is my superstructure representation with partitioning regenerator:
My objective function and constraints:
*Removed to prevent plagiarism*
My GAMS code is as below:
The issue I am facing now are:
Code: Select all
*Removed to prevent similarity in Turnitin*
(i) Partitionig regenerator is a type of regenerator that consists of one inlet and two outlets streams. The two outlet streams are named lean stream A and rich stream B. Rich stream B is a lower quality stream that always has higher contaminant concentration than that of lean stream A. My regenerator is a fixed lean CA-out regenerator where the concentration of my lean stream A is always fixed while the concentration of rich stream B is a variable which depends on the concentration of sources entering my regenerator. My issue now is the result I get is illogical where the concentration of my rich stream B is totally zero which is impossible. It looks like my variable Cb(r) won't take up any value.
(ii) When I change the "=l=" of my MSinkLoad(j) and MLoad_Regenerator(r) equations to "=E=", it happens to me that there is no water flowrate entering my regenerator. I have no idea why it happens.
Please spend a little time to help me troubleshoot my problem as I have stucked on these two issues for a month. I have consulted my supervisor but I ended up didn't get any solution for these errors. Are there any researchers who are working on the similar topics or in the same field can help me to troubleshoot my issues or any GAMS experts that can solve my logical error as well as the "=l=" & "=E=" problems?
Thank you! Your kind assistance will be greatly appreciated.