- Posts: 3
Graphics tool automation
- Fernández
- Topic Author
Less
More
08 May 2020 06:42 #8177
by Fernández
Graphics tool automation was created by Fernández
Hello,
I am new with this tool, and I have a series of steps in the graphical interface that I have to automate, I wanted to know if it is possible with the SDK and if you could tell me which functions are equivalent.
The steps are the following:
In a Photovoltaic Commercial project
1. Load some files with macros
2. Load templates into Module and Inventer
3. In System Design, check the Estimate Subarray check
4. Finally simulate and generate a csv file from the Time series tab
Thank you very much for the help.
I am new with this tool, and I have a series of steps in the graphical interface that I have to automate, I wanted to know if it is possible with the SDK and if you could tell me which functions are equivalent.
The steps are the following:
In a Photovoltaic Commercial project
1. Load some files with macros
2. Load templates into Module and Inventer
3. In System Design, check the Estimate Subarray check
4. Finally simulate and generate a csv file from the Time series tab
Thank you very much for the help.
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5447
08 May 2020 12:04 #8178
by pgilman
Replied by pgilman on topic Graphics tool automation
Hi Juan,
The tools in the Software Development Kit (SDK) provide access to the SAM Simulation Core (SSC) library, not to the SAM user interface.
To automate tasks in the user interface, you can use the LK scripting language in the SAM desktop application. For more about how LK script works, see:
sam.nrel.gov/lk-script.html
You can find examples of LK scripts designed to run from the SAM application here:
github.com/NREL/SAM/tree/develop/samples/LK%20Scripts%20for%20SAM
Best regards,
Paul.
The tools in the Software Development Kit (SDK) provide access to the SAM Simulation Core (SSC) library, not to the SAM user interface.
To automate tasks in the user interface, you can use the LK scripting language in the SAM desktop application. For more about how LK script works, see:
sam.nrel.gov/lk-script.html
You can find examples of LK scripts designed to run from the SAM application here:
github.com/NREL/SAM/tree/develop/samples/LK%20Scripts%20for%20SAM
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
- Fernández
- Topic Author
Less
More
- Posts: 3
12 May 2020 04:26 #8182
by Fernández
Replied by Fernández on topic Graphics tool automation
Hello, thank you very much for the reply.
I was able to create a script to automate the interface steps.
Now I have another problem, how could I launch this script from a command line? I have only seen that it can be launched from the application.
Thank you very much again!
Best regards,
Juan.
I was able to create a script to automate the interface steps.
Now I have another problem, how could I launch this script from a command line? I have only seen that it can be launched from the application.
Thank you very much again!
Best regards,
Juan.
Please Log in or Create an account to join the conversation.
- McP80
Less
More
- Posts: 8
26 Jun 2020 00:14 #8360
by McP80
Replied by McP80 on topic Graphics tool automation
Hello,
Have you found out how to launch it with a command line? I'm working on something similar and would like to know whether it's possible or if I'm losing my time chasing something I won't be able to catch.
Thank you in advance!
Have you found out how to launch it with a command line? I'm working on something similar and would like to know whether it's possible or if I'm losing my time chasing something I won't be able to catch.
Thank you in advance!
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5447
26 Jun 2020 15:46 #8362
by pgilman
Replied by pgilman on topic Graphics tool automation
Hi Paul,
It will be possible to run LK from the command line as of SAM 2020.2.29 Revision 3. We are currently at Revision 2, and plan to release the next update soon:
github.com/NREL/SAM/issues/309
Best regards,
Paul.
It will be possible to run LK from the command line as of SAM 2020.2.29 Revision 3. We are currently at Revision 2, and plan to release the next update soon:
github.com/NREL/SAM/issues/309
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman