- Posts: 5
 
SAM Python API AC vs. DC
- gorman_will
 - Topic Author
 
        Less
        More
        
            
    
        
            
        
                30 Aug 2018 11:14                #6424
        by gorman_will
    
    
            
            
            
            
            
                                
    
                                                
    
        SAM Python API AC vs. DC was created by gorman_will            
    
        Hello, I am using the SSC API to generate output for solar generation. I wanted to clarify whether the output I am pulling from SAM is in AC or DC terms.
The command I am using to get my final output is:
# Create SAM compliant object
dat = ssc.data_create()
ssc.data_set_table(dat, b'solar_resource_data', wfd)
ssc.data_free(wfd)
df = np.array(ssc.data_get_array(dat, b'gen')).
So, is b'gen provided in AC or DC terms? I have set my ac:dc ratio to 1.1 and am simulating a bunch of 1 MW plants.
Thanks!
    The command I am using to get my final output is:
# Create SAM compliant object
dat = ssc.data_create()
ssc.data_set_table(dat, b'solar_resource_data', wfd)
ssc.data_free(wfd)
df = np.array(ssc.data_get_array(dat, b'gen')).
So, is b'gen provided in AC or DC terms? I have set my ac:dc ratio to 1.1 and am simulating a bunch of 1 MW plants.
Thanks!
Please Log in or Create an account to join the conversation.
- Paul Gilman
 
        Less
        More
        
            
    
        - Posts: 5666
 
            
        
                31 Aug 2018 14:33                #6425
        by Paul Gilman
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Paul Gilman on topic SAM Python API AC vs. DC            
    
        Hello,
The 'gen' variable is AC power.
Best regards,
Paul.
    The 'gen' variable is AC power.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
        Moderators: Paul Gilman    
 
 



