Professional Documents
Culture Documents
NRTSC Package NRSCP Instruction Manual (EN - GJRJ0401.0086.0001) PDF
NRTSC Package NRSCP Instruction Manual (EN - GJRJ0401.0086.0001) PDF
NRSCP
Instruction Manual
Copyright
Version: 1.00 NANJING NARI-RELAYS ELECTRIC CO., LTD.
P/N: EN_GJRJ0401.0086.0001 69 Suyuan Avenue, Jiangning, Nanjing 211102,China
Copyright © NR 2009. All rights reserved Tel: 86-25-87178185, Fax: 86-25-87178208
Website: www.nari-relays.com
We reserve all rights to this document and to the information Email: international@nari-relays.com
contained herein. Improper use in particular reproduction and
dissemination to third parties is strictly forbidden except where
expressly authorized.
Table of Content
Table of Content ......................................................................................................................... ii
Chapter 1 Overview.................................................................................................................... 1
5.7.1 Menu Shown by Clicking the Right-button of the Mouse on Project View 38
7.7 Bookmark..................................................................................................................... 62
Chapter 8 Instruction about Format Definition Files of Power Flow Data & Transient Data65
8.1 Comment...................................................................................................................... 65
Chapter 9 FAQ........................................................................................................................... 69
Chapter 10 Manual Version History........................................................................................ 71
Chapter 1 Overview
“NRSCP“ is a tool of “NRTSC Package”. The hardware configuration demands for a computer to
run “NRSCP” are listed as below.
Operation System Microsoft Windows 2000\XP and later operation system (OS).
The directory “FormatSettings” is used to store the data format files for power flow data, stability
data and the fault group data. “FormatSettings” comprises 2 kinds of files: “.def” and “.bin”. The
“.def” files are editable text files. The “.bin” files are uneditable binary files. Functions of these files
are described as below:
1) “NRBpaPfFmt.def”:
2) “NRBpaTscFmt.def”:
3) “NRFaultTempTsc.def”:
The text file corresponding to the fault group template data format.
1) “ ”
2) “ ”:
The “Menu Toolbar” consists of 2 toolbars: ”Main Interface Toolbar”, and “Text Editing
Toolbar”.
The “Main Interface Toolbar“ lies on the lower part of the “Menu Toolbar”.
The “Text Editing Toolbar“ only appears when opening text files.
l “General Tools”:
1) “ ”:
2) “ ”:
To create a new case file (Simultaneously create power flow files, transient parameter files ,
TSC fault files corresponding to this case.).
3) “ ”:
4) “ ”:
5) “ ”:
6) “ ”:
7) “ ”:
8) “ ”:
To save project.
9) “ ”:
10) “ ”:
11) “ ”:
12) “ ”:
13) “ ”:
l “Calculation/Setup Tools”:
1) “ ”:
Simulation setting.
2) “ ”:
3) “ ”:
4) “ ”:
5) “ ”:
6) “ ”:
Click this button to launch "NRVCurve" to display transient stability simulation curve.
7) “ ”:
Click this button to access the explorer to open the folder that the current active file lies in.
The “Text Editing Toolbar“ consists of : “Text Editing Tools”, “Data Card Editing Tools”,
“Finding & Replacing Tools” and “Bookmark Tools”.
These toolbars correspond to some of the submenus of " ", " " , " " ,"
", " ", " ", " " on the “Main Menu“.
1) “ ”:
2) “ ”:
3) “ ”:
4) “ ”:
5) “ ”:
6) “ ”:
7) “ ”:
8) “ ”:
1) “ ”:
To insert data card. Shortcut key combination “Ctrl + I” has the same function.
2) “ ”:
To make the data card invalid. Shortcut key combination “Ctrl + T” has the same function.
3) “ ”:
To make the data card valid. Shortcut key combination “Ctrl + U” has the same function.
4) “ ”:
To edit the item. Shortcut key combination “Ctrl + K” has the same function.
5) “ ”:
To edit the card. Shortcut key combination “Ctrl + J” has the same function.
6) “ ”:
7) “ ”:
8) “ ”:
9) “ ”:
1) “ ”:
To find the designated content. Shortcut key combination “Ctrl + F” has the same function.
2) “ ”:
To find the previous designated content. Shortcut key “F4” has the same function.
3) “ ”:
To find the next designated content. Shortcut key “F3” has the same function.
4) “ ”:
To replace the designated content. Shortcut key combination “Ctrl + H” has the same
function.
l “Bookmark Tools”:
1) “ ”:
2) “ ”:
To activate the bookmark management window. Shortcut key “F10” has the same function.
3) “ ”:
To show the position of the current document bookmark. Shortcut key “F11” has the same
function.
4) “ ”:
To locate to the previous document bookmark. Shortcut key “Alt+↑” has the same function.
5) “ ”:
To locate to the next document bookmark. Shortcut key “Alt+↓” has the same function.
6) “ ”:
To locate to the previous bookmark. Shortcut key “Alt+←” has the same function.
7) “ ”:
To locate to the next bookmark. Shortcut key “Alt+→” has the same function.
8) “ ”:
In the System & Data Management Tool “NRSCP”, 2 modes are optional to realize the simulation
calculation. In the above figure, the left branch is the “Traditional Simulation Calculation Mode”
and the right branch is the “Project Management Calculation Mode”.
In case of the first use of “NRSCP”, please set relative parameters of the “Simulation Setting” (To
set the directory of relative programs, please refer to “Chapter 3 Simulation Setting”) and the "File
open setting" (To set the opening method of each file, please refer to “Chapter 4 File Open
Setting”).
The operation is simple if the “Traditional Simulation Calculation Mode” is adopted. We only
need to open a file in case folder and set power flow file, transient parameter file, TSC fault file for
the case power flow and transient stability calculation could be done and the calculation result
could be accessed.
The case files can be managed more effectively if the “Project Management Calculation Mode”
is adopted, and the analysis process is more clearly.
Firstly, please launch the software “NRSCP” to pop up the main interface shown as below:
Click button “ ” on the “Menu Toolbar”, or to click the submenu " " of the
menu " " on the “Main Menu” to pop up the " " dialog shown as
below.
As shown in the above figure, set the items in the red circles, i.e.:
” ”,
“ ”,
” ”,
” ”,
” ”.
As shown in the above figure, click the submenu “ ” of the menu “ ” to pop up
the following dialog.
Clicking the button “ ” on the “Main Interface Toolbar” has the same function.
Click the button “ " to set the directory that the project locates in, and then Input the project
name as shown in the above figure.
To click the right-button of the mouse on the project name in the left “Project Tree List”, select the
submenu “ ” as below:
In the above figure, 3 files have been loaded in folder “ ”, and they are listed as
below:
If you want to create a data card for a busbar, please select the line started with“ ”
,and then
Input relative data in the dialog, and then click button “ ” to create busbar data in the right
“Text Editing Area” as shown in the following figure:
Use similar method to add data cards for busbars, lines, transformers, etc. to create power flow file
(*.dat) as below:
The transient parameter file include data cards of generators, excitation models, governor models,
etc.
In the transient parameter file, generator data card can be translated into relative output card.
The transient stability calculation program output the simulation calculation result of these
components according to the output card.
1) In the power flow file, put the cursor upon the data card of a busbar, line or transformer,
Click button “ ” on the “Text Editing Toolbar“ to pop up the “ ” dialog as shown in
the following dialog. The button “ ” and “ ” are grey, indicating these 2 buttons
2) Open the transient parameter file, put the cursor in the output block of busbars, click button
following dialog. Click the button “ ” or “ ” to add the output card to the file:
Double click the TSC fault file “ ” in the left “Project Tree
List” as shown below to open it.
Click button “ “ on the “Text Editing Toolbar“ to pop up the fault group template dialog, select
the fault type in the dialog, input corresponding parameters as shown in the following figure:
Click button “ ” to add the corresponding fault group to the TSC fault file.
Open the power flow file “ ” of the case “ ”, click button “ “ on the “Text
Editing Toolbar“ to start power flow calculation as shown in the following figure.
In the file view, clicking the button “ “ on the “Text Editing Toolbar“ can also launch the tool.
Open power flow file or transient parameter file, etc. of the case “ ”, click the button “
“ on the “Text Editing Toolbar“ can start transient stability calculation as shown in the following
figure.
“NRVCurve” .
In the file view, clicking button “ “ on the “Text Editing Toolbar“ can also launch the tool.
Clicking button “ ” on the “Main Interface Toolbar” has the same function.
“Simulation Setting” is the basic setup of “NRSCP”. The main functions of “Simulation Setting”
are listed as below:
2) “Calculation process level” is used to prioritize the sequence to occupy system resources
amongst the calculation processes. The higher level means that the other processes will
occupy fewer resources during the launch or operation.
4) “Backup folder” is the directory for project backing up in the “Project Management
Calculation Mode”.
6) ”Color setting“:
Different colors are adopted to prompt the completion of the project calculation in the “Project
Management Calculation Mode”.
“Transient file” is the file ends with “.swi”, case “.swi” file can be used only for the case, project
“.swi” file can be used for all cases in the project. Use similar method to deal with the “Fault file”.
As shown in the above figure, click the submenu “ ” of the menu “ ” can
pop up the following dialog. The access methods of the appointed file type can be matched with
the application program in the explorer by setting in the following dialog.
“File open setting” dialog can be used to set the relationship between a file with an application
tool. The application tools maybe “NRSCP”,” NRVCurve”,” NRVReport” or ” NRVFlowChart”.
5.1 Overview
“Project Management”:
Here, project is a concept to manage system operation cases, case model parameters and
calculation results.
l Each project may include various operation cases; each case consists of system data and
relative result files. Project files (such as “Project control report", "Project CCT report",
"Project log file" ) are shared by all cases.
l Each project corresponds to a folder; each case corresponds to a subfolder in the project
folder.
l Project files locate in the project folder, case files locates in the case folders.
The folders corresponding to the “Project Management” are shown in the following figure:
Click the button “ “ on the “Main Interface Toolbar” to show/hide the left “Workspace
Clicking the submenu “ ” of the menu “ ” has the same function as shown in the
following figure.
As shown in the above figure, click the submenu “ ” of the menu “ ” on the
“Main Menu” to pop up the dialog shown in the following figure to create a new project.
Functions of all the items in the above figure are described as below:
1) :
To select or set path of the folder where the newly created project locates.
2) :
3) :
If a “ ” is marked in the left of “ ”, a new folder named after the project name
(In the text input box of “ ”) will be created in “ ” (i.e. the folder that the
newly created project locates in.
4) :
To add a new case for the newly created project. The newly created case can be any folder
that contains case data. The newly created case will be shown in the left “ ” list
box.
5) :
6) :
To select the current disk drive where the system folder in the dialog locates.
7) :
“ ”). The current disk drive that the system folder in the dialog locates in may also
be changed.
If no “ ” is marked, current path of the system folder in the dialog will not be set.
8) :
To exit the dialog and create the new project. If the “ ” list box is not blank, the
relative folders and the data in these folders will be copied to the folder that the newly created
9) :
When the new project has been created, it will be shown in the “ ” view of the left
“Workspace window“ as shown in the following figure:
1) To click the submenu " " of the menu " " on the “Main Menu” to pop
up the " " dialog shown as below, select the project file such as
2) To click the submenu " " of the menu " " on the “Main Menu” to open a
project which has been opened before.
5.5.1 Overview
There are 2 kinds of files in project view as shown in the following figure:
Select the submenu by clicking the right-button of the mouse has the same function.
For the files not loaded (Such as the file “ ” shown as “Inactive status”), double clicking “…” is
to pop up the following figure to load the file.
Item Description
To open files in text format.
To select a file from the project folder to be the
designated type file of this project.
To cancel the designated setup of this project file.
To create a new empty file as the designated file of
this kind of project file.
To view “Project control report” by opening the
files with “NRVReport”.
To update the "Project control report" by
extracting strategy information from “TSC control
result file” of all the cases in the project.
To view “Project CCT report” by opening the files
with “NRVReport”.
Item Description
To open files in text format or by tools.
To select a file from the case folder to be the
designated type file of this case.
To cancel the designated setup of this case file.
To copy this case file for another case, it should
cooperate with “ ” of “Case Operation”.
To show power flow calculation result in
“NRVPfBrowser“.
To show transient stability simulation calculation
result in “NRVCurve“.
To show power flow calculation result in
“NRFlowChart“.
To show TSC CCT result in “NRVReport“.
To show TSC control result in “NRVReport“.
Item Description
Paste the file from another case for this case, it
Operation”.
To set the data file and the calculation result file of
current case automatically.
To set the calculation mode of the case as
“Automatic Batch Mode”, and then this case will
be considered in the project calculation.
To set the calculation mode of the case as “Manual
Mode”, and then this case will not be considered in
the project calculation.
To reset the calculation state.
To start power flow calculation for current case.
To start transient stability simulation calculation for
current case.
5.7.1 Menu Shown by Clicking the Right-button of the Mouse on Project View
Table 5.7-1 Description of Project Menu
Item Description
Add a new case to the project and create
corresponding folder and case files.
Select a folder as a case and add it to the
project.
To unfold the project view to show the project
files, the cases and the case files.
To fold all the case files to hide them, only the
project files and the cases are visible.
To set the data file and the calculation result file
of all the cases automatically.
To check the validity of all the cases files of the
project. If the cases files are renamed or deleted,
the link of this file will be deleted.
To set the calculation mode of all the cases as
“Automatic Batch Mode”, and then all the
cases will be considered in the engineering
calculation.
To set the calculation mode of all the cases as
“Manual Mode” , and then all the cases will not
be considered in the engineering calculation,
and the menu ” ” will be grey and
invalid.
To reset the calculation state.
1) :
To save all the settings of current project view, such as the settings of the project files, the
cases, the case files, .etc.
2)
To set the basic operating attributes of current project, such as the file types which is shown,
the types of the files created by the copy/backup operation of the project/case, .etc. The
attributes of “ ” are stored in the project files that end with “.prj”.
3)
To close all the projects of current project view.
The functions of all the items in the above figure are listed as below:
1) :
If it is marked as “Valid” by “ ” or “ ”, files of this type will be visible in the project view.
If it is marked as “Invalid” by “ ” or “ ”, files of this type will be invisible in the project view.
2) :
To set whether files of this type will be considered in the backup/copy of the project/case.
If it is marked as “Considered” by “ ”, files of this type will be copied to the new folders
during the operation.
If it is marked as “Not Considered” by “ ”, files of this type will not be copied to the new
5) :
If a case exists in the project file, but no corresponding folder exists in the project folder, if a
“ ” is marked in the left of “ ”, a folder named after
the case will be created in the project folder.
6) :
7) 、 :
8) :
To set the project setting to default setting and apply both the “ ” and the
3) To set the backgroup color of the selected item (i.e.: the Project, the Case, or the File).
Click the submenu " " of the menu " " on the “Main Menu” to
pop up the dialog to setup the project management view as shown in the following figure.
unavailable and is shown in grey. Click the button “ ” on toolbar or select the submenu
1) The case files setting is stored in a “.pcf” format file located in the directory of present power
flow file. Once the “.pcf” file is deleted, the related setting for case files will be deleted.
3) After the setting of power flow file, the submenu “Power Flow” will be available, similarly, after
the setting of transient file, the submenu “Transient Stability” will be available.
² Power Flow
Open the power flow file with the System & Data Management Tool “NRSCP”, power flow can be
calculated after the case files setting is done.
TSC power flow requires the correct setup of “TSC Settings” in the menu “Simulation Setting”, in
addition, option “TSC” shall be chosen in the menu “Computational Application”.
After power flow calculation, the result will be shown in the child windows “Log” in “Output
Window”. If the calculation result of power flow does not achieve convergence, a note “!!!
Calculation finished, power flow defeated !!!” will be appeared in the window “Log”.
After power flow calculation, the power flow result file can be accessed by the submenu
If in the “Case Files Setting” dialog, the corresponding flow chart file is set according to the
computational application, then after power flow calculation, the flow chart program can be
launched by the submenu “NRFlowChart” of the menu “ ” on the “Main Menu”.
² Transient Stability
The following case files are necessary for transient stability simulation calculation: the power flow
file, the transient parameter file, and the TSC fault file.
Multi fault groups can be defined in the TSC fault file, and the output of transient stability
calculation is also definable.
Run the submenu “ ” of the menu “ ” on the “Main Menu” to start simulation
calculation. The calculation result will be shown in the child window “Log” of the output window.
Figure 6.1-5 Transient stability simulation calculation for one group of fault
After transient stability simulation calculation, the transient result file can be accessed under the
submenu “ ” of the menu “ ” on the “Main Menu”.
After transient stability simulation calculation, the transient stability simulation curve can be
accessed under the submenu “NRVCurve” of the menu “ ” on the “Main Menu”.
The calculation result for multi fault groups is stored in a same result file in the sequence of fault
groups. In the TSC fault file, the fault groups are discriminated by NG card, which is defined as
follows:
To launch the transient stability simulation curve tool, click the submenu “NRVCurve” of the menu
“ ” on the “Main Menu”.
Ø In the project view, right click on the case name to pop up the menu, and choose the
submenu “Case Calculation” to start calculation, as shown below:
Ø Open the case file in the project view, then to start the calculation through the menu
“Calculation” of file view.
In the traditional simulation mode (when project view is not applied), “Case Files Setting” shall be
done before the calculation, while in the project management calculation mode, the “Case Files
Setting” of all the cases will be automatically maintained. Therefore, for the data files of cases
opened in the project view, there is no need to perform “Case Files Setting” and calculation can
be started directly by the menu “ on the “Main Menu”.
After the calculation is started, it will be noted in the child window “Log“ of output window. The
calculation started in project view will be twinkling in the project view, and the related calculation
result shown in the output window will be stored in the log file of the project.
A project calculation will perform calculation to all the cases of which the “Statement“ is marked as
“Auto“. If none of the statement of the cases is marked as “Auto“ in the project, the menu “Project
Calculation“ will not be available.
² In the following conditions, the cases marked “Auto” will not be calculated in project
calculation:
Ø As for ”Transient Stability”, ”Transient Control” and ”Transient CCT”, the stability file of
case (.SWI) is empty while the stability file of project is empty.
Ø To start a calculation process, there are various methods as ”Project Calculation”, ”Case
Calculation” or the menu ”Calculation” of the ”Main Menu”;
Ø In the System & Data Management Tool “NRSCP”, it is not allowed to launch multiple
processes of “TSC” calculation. The restraint is achieved by disabling the menu used for
starting calculation;
Ø During a calculation process, it can be ceased by the submenu “Stop”. However, for each
method there is a related submenu “Stop”, and only the corresponding submenu can cease
the calculation process.
Ø First of all, “Simulation Setting” needs to be properly set to confirm the path of transient
stability simulation curve program (the operating sequence is “Simulation Setting” -> “TSC
Setting”-> “NRVCurve.exe”);
Ø To browse the simulation curve, double click the .STD format simulation result file in the
directory of the case, or right click on the .STD format file and choose the submenu “Start
Clicking submenu “Edit setting” in the main menu “ ” can pop up the “Edit setting”
dialog. Items for edit setting are shown as below:
l Font and color of data line, comment line, command line and other line;
l Bookmark color;
l Maximum lines for one invalidating operation (setting range: 100~2000 lines);
l Action when opened file is modified and saved by other editor: whether “Auto reload file”.
l Action when opened file is deleted or renamed: whether “Close document if file does not
Clicking submenu “Output window setting” in the main menu “ ” can pop up the
“Output window setting” dialog. Subwindows of output window include:
l "Find in file 1": Display the finding content in edit window ("List lines matched" shall be
selected in Find dialog). According to content in this window, corresponding text shall be
located and file will be re-opened if it has been closed.
l "Find in file 2": Display the finding content in edit window (both "List lines matched" and “To:
Find in file 2” shall be selected in Find dialog)
l "Bookmark": Display the bookmark defined in edit window. Bookmarks can be defined in
multiple documents and saved to corresponding file. In addition, bookmarks will be
automatically labeled when “Bookmark” is activated by application program and
automatically saved to corresponding file when “Bookmark” is closed by application
program. According to defined bookmarks, corresponding file can be located and the file will
be reopened if it has been closed.
l "Check": Display checking result of data format and parameters. According to alarm
information, corresponding text shall be located and file will be reopened if it has been
closed.
l "Log": Display project calculation, case calculation and calculation information activated by
the text; if project calculation or case calculation is selected (activated by project window or
project menu or case menu), corresponding calculation information will be stored in project
log file. However, the storage shall be cancelled if project log file is unset or invalid.
l Setting of bookmark: "Auto save bookmark info" and "Auto read bookmark info". If
automatically from setting file and displayed in bookmark window when application program
launches.
l “Make it invalid”: when converting data lines where the cursor lies or data lines covered in
shaded area to comment lines, add “.” at the beginning of the data lines;
l “Make it valid”: when converting comment lines where the cursor lies or comment lines
covered in shaded area to data lines, delete “.” at the beginning of the comment lines (if
multiple “.” exist at the beginning of one line, one operation of “Make it valid” shall delete only
one “.”, which means data lines can not be achieved directly in only one operation)
l Dialog title shows instruction and located line of present editing item (they are simultaneously
displayed in status bar);
l Start-stop location and format of item are indicated in the dialog (they are simultaneously
displayed in status bar);
l Click "Previous" button and "Next" button of “Item” to change present editing item. If
"AutoUpdate" is selected, data in present editing item shall be automatically renewed before
switching to another item;
l Click “Previous” and “Next” button of “Same card” to change the located line of present
editing, search previous or next card same as the present one and locate the item;
l Dialog title shows located line of present item and the name of the card;
l Data display window shows start-stop location, format, data and instruction of data definition
about each item; Format of the value, A-marks a string, F-marks a float value, I-marks a
integer value
l No inputting character is limited for data with format of character string; only number, decimal
point and Minus “-” are accessible for data with “F” format of floating value; only number and
Minus “-” are accessible for data with “I” format of integer value. If data of floating value and
integer value are not left-justified (i.e. blank lies at the far left) or multiple decimal points or
Minus “-” are inputted, font in editing window shall turn into red-alarm type;
l Click “Renew” button to renew the item in editing window according to data in data display
window;
l Click “Previous” and “Next” button of “Card’ and “Same card” to change the located line of
l Click "Item edit" button to enter item edit dialog from card editing dialog;
The menu after clicking the right-button of the mouse on card editing dialog is shown as below:
It is feasible to make copy marks to some items in the dialog, and then copy these items via
“Paste” menu in above right-button menu or “Paste” button in card editing dialog.
l Click the right button of the mouse on card editing dialog to pop up “Make copy mark” menu;
l Click mark region of item to select the item and click spacebar to switch to copy mark;
l Card type in the card list box is determined by the present file type (."dat" or ".swi" file);
l Displayed content in the card list box can be filtered via “Filter” option, with two types of
“Name” and “Type”; three modes of “All”, “Include” and “Does not contain”. After filter
operation, displayed content can be renewed via clicking “Find” button.
l Click "Insert" button to insert selected card in list box right after present line. Multiple cards of
same or different type can be inserted via this button;
l After "OK" button is clicked, selected card in list box will be inserted right after present line; if
"Edit after Inserted" is selected before, card editing dialog will pop up for the new inserted
card after "OK" button is clicked.
l "Value": to insert required specific information for fault group, including busbar name, voltage
rating and transmission line ID;
l Check the format of power-flow(.dat) file with BPA format. Checkings include “pressure drop
of DC Valve”, “Transformer Tap Reversed” and ”Column mistake of data”.
l Checking results of the data format are displayed in "Check" output window;
l Menu function of "Check" output window comprise "Locate data", "Copy", "Select all",
"Clear", "Clear all", "Check once more", etc.
l "Locate data", "Copy", "Select all", "Clear" and "Clear all" are of similar function with
corresponding menu function in output window of “Find” and “Bookmark”; "Locate data" can
be achieved by double clicking on the "Check" output window;
l "Check once more": to restart the checking to the data format of the same text in "Check"
output window;
7.6.1 Find
“Find” is to find data matching with the specified item in present text. Find dialog is shown as
below:
l Matching modes for Find are “Case Sensitive” and “Whole words only”;
l “Up” in the “Direction”: to find data upward from present location of cursor; “Down” in the
“Direction”: to find data downward from present location of cursor;
l The initial keyword in the Find dialog is the text in shaded region in edit window. However, if
no shaded region exists in edit window, keyword of last find shall appear;
l New-line mark or Tab mark can be included in the keyword; ^p: new-line mark; ^t: tab mark;
l A menu can be popped up by clicking the right-button of the mouse on the edit combo box or
clicking < button. The menu is shown as below, including “Copy”, “Paste”, “Cut”, “Select all”,
“Clear”, “Insert new-line mark ^p” and “Insert TAB mark ^t”;
l The Find result can be outputted to Find output window via selecting “List lines matched”.
Moreover, the result shall be outputted to the output window of “Find in file2” when ‘To “Find
in file2”’ is selected, otherwise, the result shall be outputted to output window of “Find in
file1”.
l Lines including matched item are shown in the Find output window;
l Corresponding text can be located by double clicking the line in the output window. The
corresponding text will be activated when being inactive and will be opened when being
closed;
l Menu of Find window can be popped up via clicking right-button of mouse. Items in the menu
are "Locate data", "Copy ", "Select all", "Clear", "Clear all", "Continue to find previous:"
and "Continue to find next:", etc.
l "Clear" is to clear the line where the cursor lies. However, if shaded region exists in the output
window, all the lines in the shaded region shall be cleared when “Clear" is selected;
l Find output window consists of "Find in file 1" and "Find in file 2", displaying find output of
different files;
l Continuative find for matched item can be achieved in the output window even under
non-dialog mode, including "Continue to find previous:" and "Continue to find next:";
l "Find previous" and "Find next" are available in the menu of edit window when Find dialog is
closed. Find settings (“Case Sensitive” and “Whole words only”, etc.) will automatically be
the same as the ones for last find. Moreover, this operation shall not modify the content in
output window.
l Keywords for Find can be modified via opening Find dialog or selecting the text to be found in
the shaded region in edit window and clicking menu "Find next" and "Find previous".
New-line mark or Tab mark can be included in the shaded region;
7.6.2 Replace
“Replace” is to find and replace data matched with specified character string and specified
settings in present text. Refresh of data format and undo/redo operation are available for Replace.
Interface of replace dialog is shown as below:
l New-line mark (^p) or Tab mark (^t) are available for To Find/Replace (edit combo box);
l Edit menu can be popped up by clicking the right-button of the mouse on the edit combo box
or clicking < button;
l “Find next ” is to find the next matched item and the find direction is determined by selection
in “Direction”;
l “Replace” is to replace present matched item, find the next one according to selection in
“Direction” and then stop;
l “Replace to end” matches with “Down” in “Direction” while "Replace to the beginning"
matches with “Up” in “Direction”. These two buttons are to find and replace matched item
one by one downward or upward from the location of cursor to the end or beginning of file;
l In Non-Fast Replace mode, “Replace all” is to find and replace matched item one by one
from the beginning to the end of the file;
l Operations of “Replace to end” (or "Replace to the beginning") and “Replace all” in
Non-Fast Replace mode will be cancelled if “CANCEL” is clicked.
Ø “Fast Replace”
“Fast Replace” is to make fast find and replacement to matched item in the whole text while
“Case Sensitive” and “Whole words only” needs to be selected. New-line mark (^p) or Tab mark
(^t) are available here.
7.7 Bookmark
l View of bookmark: two modes are offered: view in time order and view in document order;
l "Toggle bookmark”: set bookmark for specified line in the document. The document, line and
data related with the bookmark shall all be displayed in output window; setting mark of
bookmark is shown in bookmark window and corresponds to the location of related line.
"Set/Cancel bookmark” can be achieved via double clicking on bookmark window; in editing,
location of bookmarks will be automatically renewed to correspond to related line; the existing
bookmark in a line will be cancelled if one more setting of bookmark on the line is carried out.
l "Bookmark management”: defined bookmark and related operation will be displayed in the
dialog;
l Present document bookmark: to locate the line related with the last operation of document
bookmark. Present bookmark shall be shown in yellow in bookmark output window (or dialog
window of bookmark management). Relation between document bookmark and bookmark is
shown as below:
shall be shown in yellow in bookmark output window (or dialog window of bookmark
management).
l “Cancel document bookmarks”: cancel all the defined bookmarks in specified document;
l “Cancel all bookmarks”: cancel all the defined bookmarks, which makes the bookmark
output window empty;
l “Copy”: copy the selected shaded-region in bookmark output window (or the dialog window of
bookmark management);
l “Select all”: select all the text in bookmark output window (or the dialog window of bookmark
management);
8.1 Comment
Definition line of card type/name is started with symbol of “:” and the format is shown as below:
For example:
“From” + “,” + “To” + “,” + “Form” + ”,” + “IC” + ”,” + “IW” + “,”+ “Statement” + ”,”
Ø “From”
Starting column of each item in card (the first column is fixed at 1);
Ø “To”
End column of each item in card (data of end column is also included in the item. If length of one
item is 1 and starting column is 5, the end column of the item shall be 5)
Ø “Form”
F- float value (e.g. F5.2 is a 5 length float value with 1 decimal. If no decimal point exists in the
value, the latter two bits shall be the decimal part. However, if decimal point exists in the value, the
instruction of format becomes invalid).
Ø “IC”
‘!=’: Nonequivalent to a value or a string; nonequivalent to zero or not empty when “IW” is empty;
Ø “IW”
Ø “Statement”
17 , 17 , A1 , , Generator ID,
1 , 2 , A2 , = , FF , CARD TYPE,
4 , 11 , A8 , , , BusName,
16 , 16 , A1 , , , Generator ID.
Chapter 9 FAQ
FAQ: Frequently Asked Questions.
Ø Present file is a project file. Please open case file and select "Case files setting".
For instance, TSC is selected in "Computational application option", but the path of TSC
program is empty or file corresponding to the path does not exist;
Ø No case exists in project or manual computation mode is adopted in all the case. Project
computation is only available to cases in automatic computation mode.
Ø Data for case are incomplete, and no computation can be achieved if power flow file is
missing; only power flow calculation can be achieved if transient file is missing;
Ø No power flow file and transient file are set in "Case files setting".
Software Manual
Source Documentation
Version Version
NRTSC Package
NRSCP V1.01 V1.00
NRSCP_Standard_V1.00.doc
Manual Page
Section Description of change Note
Version No.