Jump to content

Recommended Posts

Posted

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

Posted

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)

Posted

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

  • 4 months later...
  • 1 year later...
  • 6 months later...
  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...