'Yes?' - How to take this away (Python + PSS/E)

asked 2019-10-29 12:09:42 -0500

NunoFul gravatar image

Everytime I run PSS/E with Python, if using the shortcut "shift+F10" from Pycharm, the execution starts, but eventually stops with this "Yes?" question in the prompt. By magic, when I use the "run" button from the IDE it does not occur...

This comes right after the:

ierr = psspy.psseinit(0)

After this I redirect the progress output to files:

psspy.progress_output(2, progress_file, [0, 0])
psspy.report_output(2, report_file, [0, 0])
psspy.alert_output(2, alert_file, [0, 0])
psspy.prompt_output(2, prompt_file, [0, 0])

Any idea what should it be? This is how it looks:

PSS(R)E Version 34
Copyright (c) 1976-2019
Siemens Industry, Inc.,
Power Technologies International                            (PTI)
This program is a confidential  unpublished  work  created  and  first
licensed in 1976.  It is a trade secret which is the property of  PTI.
All use,  disclosure,  and/or reproduction not specifically authorized
by  PTI  is prohibited.   This  program is protected  under  copyright
laws  of  non-U.S.  countries  and  by  application  of  international
treaties.  All  Rights  Reserved  Under  The  Copyright  Laws.

           SIEMENS POWER TECHNOLOGIES INTERNATIONAL

      50000 BUS POWER SYSTEM SIMULATOR--PSS(R)E-34.5.1

             INITIATED ON TUE, OCT 29 2019  17:08

Yes?

Thank you very much!

edit retag flag offensive close merge delete

Comments

You mean if you do not redirect, it won't happen?

drsgao gravatar imagedrsgao ( 2019-10-31 08:37:52 -0500 )edit

Not really, it does happen anyways. I only added that info because it could be related with that command, seen it comes right after that 'Yes?'. I have no idea why it happens...

NunoFul gravatar imageNunoFul ( 2019-10-31 09:19:06 -0500 )edit