PVsyst's forum
https://forum.pvsyst.com/

Run simulation from console (or terminal)
https://forum.pvsyst.com/viewtopic.php?f=25&t=3048
Page 1 of 1

Author:  fcuevas [ Tue Jul 11, 2017 4:31 am ]
Post subject:  Run simulation from console (or terminal)

Hi, we are evaluating the use of PVsyst in our simulations. In order to connect PVsyst with other software, we would like to know if it is possible to run simulations from the console, without opening the interface.
Usually in simulation software a case is stored in text files. We would set a case and then modify the file as we need. Then, we need to simulate the modified case with an order like this:

> PVsyst.exe inputFile.in

Is it possible to do it?

Regards,
Felipe

Author:  AndrĂ© Mermoud [ Sat Jul 15, 2017 9:25 pm ]
Post subject:  Re: Run simulation from console (or terminal)

No, it is not possible. In the present time PVsyst doesn't provide an API.
The only way of performing several simulations with different parameters is the Batch mode (managed by an EXCEL file)

Author:  fcuevas [ Mon Jul 17, 2017 5:56 pm ]
Post subject:  Re: Run simulation from console (or terminal)

Hi André,

thank you for the reply. Are there plans to make it possible? it is not necessarily an API, but the possibility of running the case from the command line. The pre and post-processing would be done with Python (reading and writing files, performing calculations, storing files in a predefined format). For example, in Trnsys is possible to do it using the following commands (textual answer from the Trnsys forum)

----------------------
Both TRNSYS and PreBid can be called from the Windows command prompt.
If TRNSYS is installed in C:\Trnsys15 and you want to run a deck called MyDeckFile.dck which is in X:\MyFolder, the command line is:

"C:\Trnsys15\Trnsys.exe" "X:\MyFolder\MyDeckFile.dck"

If you don't want to have to click on "Yes-No" at the end of each simulation, you can use the /n switch. The command line is:

"C:\Trnsys15\Trnsys.exe" "X:\MyFolder\MyDeckFile.dck" /n
--------------------

PVsyst is very well evaluated by the solar community. We would really like to use it in our simulations. Please let us know if there are plans to make it possible.

Best regards,
Felipe

Author:  adrie [ Sat Nov 18, 2017 12:22 am ]
Post subject:  Re: Run simulation from console (or terminal)

Good question/suggestion. Any news?

Author:  bob123 [ Fri Apr 05, 2019 11:58 pm ]
Post subject:  Re: Run simulation from console (or terminal)

Good day,

Wondering if PVsyst now offers the ability to run from a console without launching the GUI.

Thank you

Author:  adrie [ Fri Nov 01, 2019 10:13 pm ]
Post subject:  Re: Run simulation from console (or terminal)

No, still waiting.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/