Parametric Analysis of Parabolic Trough plant using SamUL

  • hrk2888
  • Topic Author
More
26 Jan 2014 18:15 #1951 by hrk2888
Hey Paul,

It's been a long time and I am working on this script again. Currently, I am not using any of the "string" datatype variables in the script. All the parameters are of the "numeric" datatype and the script is working fine. But after running for approximately 5500 seconds, the script fails. Moreover, the csv also does not get generated.

I guess that the temporary folder size gets full. It shows a message"Deleting temporary folder...(something)" after I close SAM due to the failed script.

Is there a way around this? Also, is there a way by which I can run the script faster?

Thanks,
Hemang

Please Log in or Create an account to join the conversation.

  • pgilman
More
27 Jan 2014 09:45 #1952 by pgilman
Dear Hemang,
Please see the SAM run stability conversation. Do any of those suggestions solve your problem?
Best regards,

Paul.

Please Log in or Create an account to join the conversation.

  • hrk2888
  • Topic Author
More
14 Feb 2014 15:17 #1953 by hrk2888
Hi Paul,

I have a question about an error in the script which I am trying to run. I am trying to attach the .sul, .zsam and the screenshot of the error in the original post but somehow I am not able to do so. Therefore, I have emailed them to you. Please attach it to the original post if you can. Also, let me know if it is actually possible to get results from the script.

Thanks,
Hemang

Please Log in or Create an account to join the conversation.

  • pgilman
More
17 Feb 2014 09:56 #1954 by pgilman
Hi Hemang,
I attached the file Mascaral.sul to your original message above. My observation below is based on the version of the script that you included in the Mascara_matemore.zsam file. I did not check to see whether both versions of the script are the same.
The message that appears in the SamUL console says that there is an error in Line 286 "Bad reference to unassigned array variable 'sca'." In line 286 there is a Write() function that attempts to write the value of sca[l] to a file, but you never initialized assigned a value to the array sca[].
You can use the Find and Replace function to search the script for 'sca' to find that the lines where the array is set up are Lines 134-136, and those lines are commented out, so the array is never created.
I hope that helps get you started troubleshooting your script -- I can't go through the entire script for you.
Best regards,

Paul.

Please Log in or Create an account to join the conversation.

  • hrk2888
  • Topic Author
More
17 Feb 2014 19:11 #1955 by hrk2888
Hi Paul,

Thanks for the observation. That was something which I had not noticed. Now, I have actually checked the spelling and case for each variable and it is consistent. I have also checked if something has been commented and then used, but there is no variable like that.

Even now, I am getting the same error. I understand if you can't check my script. Do you have a general idea why this should not work?

Thanks,
Hemang

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum