First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
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!