- Posts: 21
MS SPT Tube surface temperature
- Harry Morgan
- Topic Author
Less
More
09 Aug 2024 10:01 #13382
by Harry Morgan
MS SPT Tube surface temperature was created by Harry Morgan
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.
- Paul Gilman
Less
More
- Posts: 5490
09 Aug 2024 16:49 #13384
by Paul Gilman
Replied by Paul Gilman 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: Paul Gilman