Beruflich Dokumente
Kultur Dokumente
Page 1 of 6
A file selector window opens for specification of the type of file to record and the file name.
When done recording, select I/O Control > Stop recording to close the file.
An experienced user can create a response file using a text editor. The simplest and most robust way, however,
is to select the I/O Control > Start recording option. Note that this is equivalent to executing activity ECHO in
previous versions of PSSE.
Having selected a file, the user executes the required sequence of activities or operations using the menu and
toolbar functions in the interface. The resulting response file will contain, in Response File form, a series of
commands reflecting the users sequence of activities. The user can to tailor this basic Response File for
subsequent runs by editing the created response file by changing some of the filenames and bus numbers
specifying faulted nodes, switched branches, and so on.
As an example it can be assumed that, using the savnw.sav power flow case, the user wishes to open one
circuit between buses 151 and 152, solve the case, and then display the power flow results for bus 151.
Using the interface:
Right-click the branch in [Diagram] and select Switch from the pop-up menu.
Employ the Power Flow > Solution > Solve option or the Solve toolbar button.
Select the Bus Based Output toolbar button and, subsequently, bus number 151.
If this series of operations were recorded, a response file would be constructed (see Figure 23-1 Created
Response File).
mk:@MSITStore:C:\Program%20Files\PTI\PSSE33\PSSBIN\PSSE_OnlineHelp.chm::/G... 28/05/2015
GUI_Automation
Page 2 of 6
create a Python file using the Python programming language. This will facilitate a
of PSSE by enabling looping and decision making based on results of analyses.
looping and subroutine calling are available. For details on the Python programming
reference book or http://www.python.org.
It is not possible to construct an IPLAN file using the PSSE recording facility. The file must be created
manually and compiled. It is very beneficial to be familiar with at least one programming language and the
standard programming concepts such as assignment statements, looping and subroutine calls.
For details on the IPLAN programming language, the IPLAN language interface to the PSSE working case and
dynamics data, and the IPLAN compiler, refer to the IPLAN Program Manual.
Additional Information
Existing Python scripts (*.py), Response files (*.idv), IPLAN programs (*.irf) and PSAS/PSEB (*.psa/*.pse)
command files may be executed from within the user interface. PSSE will open a file selector window and
prompt for the appropriate filename to execute. Figure 23-2 Select Program Automation File Dialog shows
the dialog for selecting an Automation File:
mk:@MSITStore:C:\Program%20Files\PTI\PSSE33\PSSBIN\PSSE_OnlineHelp.chm::/G... 28/05/2015
GUI_Automation
Page 3 of 6
mk:@MSITStore:C:\Program%20Files\PTI\PSSE33\PSSBIN\PSSE_OnlineHelp.chm::/G... 28/05/2015
GUI_Automation
Page 4 of 6
Select the desired IPLAN File (*.irf) from [Select Program Automation File to Run].
For details on the IPLAN programming language, the IPLAN language interface to the PSSE working case and
dynamics data, and the IPLAN compiler, refer to the IPLAN Program Manual.
Additional Information
Select the desired PSEB Command File (*.pse) from [Select Program Automation File to Run].
Additional Information
mk:@MSITStore:C:\Program%20Files\PTI\PSSE33\PSSBIN\PSSE_OnlineHelp.chm::/G... 28/05/2015
GUI_Automation
Page 5 of 6
Requirements / Prerequisites
PSAS Command file (*.psa)
Select the desired PSAS Command File (*.psa) from [Select Program Automation File to Run].
Additional Information
Argument Passing
These actions allow arguments to be passed to a response file. Highlight the desired file on [Select Program
Automation File to Run] (Figure 23-2 Select Program Automation File Dialog). Click [Arguments]. The
[Automation Arguments] dialog (Figure 23-4 Automation Arguments Dialog) allows a single line of
arguments to be input.
Enter the argument string in the text box provided, and click [OK]. Click [Open] to run the automation file.
The response file will be executed within the PSSE user interface with results being displayed appropriately to
[Spreadsheet] and Report and Progress tabs.
When the re-run option is selected, the last-run automation file will run again without reselecting it from a file
selector window. The [Terminal Read] dialog (Figure 23-3 Terminal Read Dialog for Automated Activity)
allows specification of data output to a file. Clicking [OK] without specifying a filename sends the data to a
Report tab.
mk:@MSITStore:C:\Program%20Files\PTI\PSSE33\PSSBIN\PSSE_OnlineHelp.chm::/G... 28/05/2015
GUI_Automation
Page 6 of 6
If a text editor has been defined in the [Preferences] dialog (see Changing Program Preferences), selecting
this option will display the last Automation file recorded by the program. If this is selected, the text editor will
display the file as it is created. You may have to refresh the view in the text editor to see the changes in the
file.
If a text editor has been defined in the [Preferences] dialog, selecting this option will display the last
Automation file run by the program. If this is selected, the text editor will display the last Automation file run
by the program. Selecting this item will re-run the last selected program automation file without forcing you to
re-select it.
Additional Information
During the operation of PSSE, a variety of information is sent to the Progress tab. This function provides a
mechanism for inserting descriptive comments. Comments can be directed to any output device selected for
recording the work session (see OPEN). A comment or message is entered directly into the input field in the
dialog.
mk:@MSITStore:C:\Program%20Files\PTI\PSSE33\PSSBIN\PSSE_OnlineHelp.chm::/G... 28/05/2015