- Posts: 7
Equations For Calculating Diffuse Horizon Shading Factor
- Joe_Hack
- Topic Author
Less
More
27 Jun 2022 18:12 #11189
by Joe_Hack
Equations For Calculating Diffuse Horizon Shading Factor was created by Joe_Hack
Hello again,
A couple years ago I posed a question about horizon shading to the forum: sam.nrel.gov/forum/forum-general/2204 I received a very helpful and prompt answer from Steve, however I still have some questions about calculating the diffuse fraction.
I went to the lines Steve referenced in his answer, but I think there must be a discrepancy between his version of the .cpp file and the one I'm seeing because the lines don't seem to contain the code Steve describes. Regardless, I don't quite have the background in C++ to fully understand the code. Particularly, I don't see how array tilt is included in the calculation of the diffuse shading factors.
Could you please provide the equations in a non C++ format one would use to calculate the diffuse shading factor, i.e, the parameter labeled
in the
module of the SDKTool?
Again, I understand conceptually that this is the ratio of the sky seen by the array (total skydome - what's obstructed by the horizon - what is not seeable because of the array's tilt) / the total area of the skydome.
thanks for your patience,
Joe
A couple years ago I posed a question about horizon shading to the forum: sam.nrel.gov/forum/forum-general/2204 I received a very helpful and prompt answer from Steve, however I still have some questions about calculating the diffuse fraction.
I went to the lines Steve referenced in his answer, but I think there must be a discrepancy between his version of the .cpp file and the one I'm seeing because the lines don't seem to contain the code Steve describes. Regardless, I don't quite have the background in C++ to fully understand the code. Particularly, I don't see how array tilt is included in the calculation of the diffuse shading factors.
Could you please provide the equations in a non C++ format one would use to calculate the diffuse shading factor, i.e, the parameter labeled
Code:
subarray1_shading:diff
Code:
pvsamv1
Again, I understand conceptually that this is the ratio of the sky seen by the array (total skydome - what's obstructed by the horizon - what is not seeable because of the array's tilt) / the total area of the skydome.
thanks for your patience,
Joe
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
28 Jun 2022 08:11 #11191
by pgilman
Replied by pgilman on topic Equations For Calculating Diffuse Horizon Shading Factor
Hi Joe,
I changed the line numbers in Steve's reply to "permalinks" to the code in s3tool.cpp on GitHub, which I hope helps you find the relevant code.
Best regards,
Paul.
I changed the line numbers in Steve's reply to "permalinks" to the code in s3tool.cpp on GitHub, which I hope helps you find the relevant code.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman