- Posts: 1
Auto-Generate Reports Using SamUL?
- spharris
- Topic Author
        Less
        More
        
            
    
        
            
        
                30 Mar 2012 14:43                #434
        by spharris
    
    
            
            
            
            
            
                                
    
                                                
    
        Auto-Generate Reports Using SamUL? was created by spharris            
    
        I'm working on a SamUL script that can take an input file to run a series of PV simulations and produce some outputs, one of which (hopefully) is a PDF report using the report generator. Is there a function to do this using a pre-existing template that I've created?    
    Please Log in or Create an account to join the conversation.
- Paul Gilman
        Less
        More
        
            
    
        - Posts: 5665
            
        
                30 Mar 2012 16:32                #435
        by Paul Gilman
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Paul Gilman on topic Auto-Generate Reports Using SamUL?            
    
        There are no SamUL functions to control SAM's report generator. However, you can use SamUL script to write SAM data to a text file with HTML or other markup that you could convert to PDF.
For example, you could use Markdown and Pandoc to generate a PDF files from a text file generated by SamUL.
Attached is a SAM file with a SamUL script that illustrates a different approach using HTML and CSS. The script generates an HTML file with tables and graphs of SAM data. The HTML requires the attached CSS file for formatting.
SAM's report generator is limited in functionality and difficult to use, even with the improvements in SAM Beta 2012.3.26 -- we're working on some different ideas for improving it and would appreciate any suggestions.
Best regards,
Paul.
    For example, you could use Markdown and Pandoc to generate a PDF files from a text file generated by SamUL.
Attached is a SAM file with a SamUL script that illustrates a different approach using HTML and CSS. The script generates an HTML file with tables and graphs of SAM data. The HTML requires the attached CSS file for formatting.
SAM's report generator is limited in functionality and difficult to use, even with the improvements in SAM Beta 2012.3.26 -- we're working on some different ideas for improving it and would appreciate any suggestions.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
        Moderators: Paul Gilman    
 
  
 















