- Posts: 10
Module parameters 'tamb' and 'pressure' are only Numbers in Module 'irradproc'
- Asif K
- Topic Author
Less
More
06 Jun 2024 00:55 #13238
by Asif K
Module parameters 'tamb' and 'pressure' are only Numbers in Module 'irradproc' was created by Asif K
SSC SDK Module 'irradproc' is a good one which process the Irradiance Data. It also provides the option of Array where whole year Irradiance data can be stored and processed. However, when it comes to the Ambient Temperature and Pressure, these are defined as NUMBERS ony which means different Temperature and Pressure cannnot be taken as input for the whole Array i.e. full year.
Why it is like this or I am missing the concept of ARRAY and NUMBER in a module??
Why it is like this or I am missing the concept of ARRAY and NUMBER in a module??
Please Log in or Create an account to join the conversation.
- Paul Gilman
Less
More
- Posts: 5464
06 Jun 2024 17:57 #13242
by Paul Gilman
Replied by Paul Gilman on topic Module parameters 'tamb' and 'pressure' are only Numbers in Module 'irradproc'
Hi Asif,
The 'irradproc' compute module contains functions for calculating the sun position and plane-of-array irradiance given data from a weather file. These functions are called by other compute modules that make up the SAM model (Detailed PV, PVWatts, Physical Trough Model, etc.).
The answer to your question has to do with the internal 'irradproc' objects. The module's source code is here:
github.com/NREL/ssc/blob/develop/ssc/cmod_irradproc.cpp
The ambient temperature and atmospheric pressure variables are inputs to the 'solarpos_spa()' function that calculates sun angles. It is called in the 'wfcheck' compute module once for each timestep in the weather file -- the code that calls that function reads the temperature and pressure data from the weather file.
The irradiance variables are inputs to the 'irrad()' function in 'irrad_proc' compute module. It reads in arrays of data from the weather file.
Best regards,
Paul.
The 'irradproc' compute module contains functions for calculating the sun position and plane-of-array irradiance given data from a weather file. These functions are called by other compute modules that make up the SAM model (Detailed PV, PVWatts, Physical Trough Model, etc.).
The answer to your question has to do with the internal 'irradproc' objects. The module's source code is here:
github.com/NREL/ssc/blob/develop/ssc/cmod_irradproc.cpp
The ambient temperature and atmospheric pressure variables are inputs to the 'solarpos_spa()' function that calculates sun angles. It is called in the 'wfcheck' compute module once for each timestep in the weather file -- the code that calls that function reads the temperature and pressure data from the weather file.
The irradiance variables are inputs to the 'irrad()' function in 'irrad_proc' compute module. It reads in arrays of data from the weather file.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: Paul Gilman