- Posts: 17
STC variable and SetInput("pv.mod.cec.module_name")
- jtopham
- Topic Author
        Less
        More
        
            
    
        
            
        
                10 Jan 2013 10:38                #1152
        by jtopham
    
    
            
            
            
            
            
                                
    
                                                
    
        STC variable and SetInput("pv.mod.cec.module_name") was created by jtopham            
    
        I have a two part question:
first, where is the variable for STC watt rating for a module? It seems pretty basic but I can't seem to find it, I looked through the exelib file and wasn't even able to find it there (thank you pete for drawing my attention to it).
second, I am trying to use the code you gave me to input a module name from the library into the CEC model, and again to input the inverter name into the sandia model, by using the SetInput() function. I have this on a loop so that I can do separate simulations per each inverter and module. In the example you gave me, it accessed an element in the library with a number. I may be doing this incorrectly, but is there a way to access by string? If you could help me with this it would be greatly appreciated. i will work more on this after lunch and will post my concusion if I figure it out before then, but I could still use help with the first part.
Thanks,
Jonathan Topham
    first, where is the variable for STC watt rating for a module? It seems pretty basic but I can't seem to find it, I looked through the exelib file and wasn't even able to find it there (thank you pete for drawing my attention to it).
second, I am trying to use the code you gave me to input a module name from the library into the CEC model, and again to input the inverter name into the sandia model, by using the SetInput() function. I have this on a loop so that I can do separate simulations per each inverter and module. In the example you gave me, it accessed an element in the library with a number. I may be doing this incorrectly, but is there a way to access by string? If you could help me with this it would be greatly appreciated. i will work more on this after lunch and will post my concusion if I figure it out before then, but I could still use help with the first part.
Thanks,
Jonathan Topham
Please Log in or Create an account to join the conversation.
- Paul Gilman
        Less
        More
        
            
    
        - Posts: 5665
            
        
                10 Jan 2013 15:14                #1153
        by Paul Gilman
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Paul Gilman on topic STC variable and SetInput("pv.mod.cec.module_name")            
    
        Hi Jonathan,
For the benefit of other readers, this discussion is about using SamUL to model a PV system, and is related to the following thread:
sam.nrel.gov/content/cec-module-database-values
1. The module nameplate capacity for modules in the CEC library is
. For the CEC library, this is the maximum power at the reference conditions shown on the Module page: 1,000 W/m2 and 25 degrees C cell temperature.
2. To set the current module to one from the CEC (or Sandia) library, you have to use the array index as I showed in my response to your earlier post . If you wanted to use a string instead, you could build a lookup table with one column of array indexes and a second column of module names.
Best regards,
Paul.
    For the benefit of other readers, this discussion is about using SamUL to model a PV system, and is related to the following thread:
sam.nrel.gov/content/cec-module-database-values
1. The module nameplate capacity for modules in the CEC library is
Code:
pv.mod.cec.p_mp_ref
2. To set the current module to one from the CEC (or Sandia) library, you have to use the array index as I showed in my response to your earlier post . If you wanted to use a string instead, you could build a lookup table with one column of array indexes and a second column of module names.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
- jtopham
- Topic Author
        Less
        More
        
            
    
        - Posts: 17
            
        
                11 Jan 2013 07:49                #1154
        by jtopham
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by jtopham on topic STC variable and SetInput("pv.mod.cec.module_name")            
    
        function cec_lib_fill(excel_string)
lib_cec = library("CECModule")
for(i=0;i
    lib_cec = library("CECModule")
for(i=0;i
Please Log in or Create an account to join the conversation.
- jtopham
- Topic Author
        Less
        More
        
            
    
        - Posts: 17
            
        
                11 Jan 2013 08:00                #1155
        by jtopham
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by jtopham on topic STC variable and SetInput("pv.mod.cec.module_name")            
    
        and for inverters
function setinput_inverter(excel_string)
lib_sandia = library("SandiaInverter")
for(i=0;i
    function setinput_inverter(excel_string)
lib_sandia = library("SandiaInverter")
for(i=0;i
Please Log in or Create an account to join the conversation.
        Moderators: Paul Gilman    
 
  
 















