- Posts: 21
MS SPT Tube surface temperature
- HarryM_SPT
- Topic Author
Less
More
09 Aug 2024 10:01 #13382
by HarryM_SPT
MS SPT Tube surface temperature was created by HarryM_SPT
Hi,
I have three questions:
1. How does the SAM ssc generate a guess value for tube surface tempertaure, Tsguess? (line 173 here: github.com/NREL/ssc/blob/patch/tcs/csp_solver_mspt_receiver.h )
2. Can I somehow find out the tube surface temperatures Ts that were calculated behind the scenes of a simulation after running it in SAM desktop?
3. Is there a general way to access simulation outputs that aren't included in the GUI output?
Kind regards
Harry
I have three questions:
1. How does the SAM ssc generate a guess value for tube surface tempertaure, Tsguess? (line 173 here: github.com/NREL/ssc/blob/patch/tcs/csp_solver_mspt_receiver.h )
2. Can I somehow find out the tube surface temperatures Ts that were calculated behind the scenes of a simulation after running it in SAM desktop?
3. Is there a general way to access simulation outputs that aren't included in the GUI output?
Kind regards
Harry
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5394
09 Aug 2024 16:49 #13384
by pgilman
Replied by pgilman on topic MS SPT Tube surface temperature
Hi Harry,
You can see how Tsguess is calculated in the function definition for calc_surface_temperature(): github.com/NREL/ssc/blob/a80f94ba2dee81f9b1ebcae0bd6ed220b91fa68b/tcs/csp_solver_mspt_receiver.cpp#L1088
SAM does not report the tube surface temperature, so it is not possible to see it. The only way to see it would be to build your own version of the model and run it in Debug mode. Build instructions are here github.com/NREL/SAM/wiki . Setting things up for the build is complicated and time consuming.
It is not possible to access internal variables from SAM desktop application, the PySAM python package, or from calls the SSC library from another programming language.
Best regards,
Paul.
You can see how Tsguess is calculated in the function definition for calc_surface_temperature(): github.com/NREL/ssc/blob/a80f94ba2dee81f9b1ebcae0bd6ed220b91fa68b/tcs/csp_solver_mspt_receiver.cpp#L1088
SAM does not report the tube surface temperature, so it is not possible to see it. The only way to see it would be to build your own version of the model and run it in Debug mode. Build instructions are here github.com/NREL/SAM/wiki . Setting things up for the build is complicated and time consuming.
It is not possible to access internal variables from SAM desktop application, the PySAM python package, or from calls the SSC library from another programming language.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman