Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore SimPowerPoint

SimPowerPoint

Published by shemonra, 2016-03-14 10:42:29

Description: Training

Keywords: none

Search

Read the Text Version

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. Sheet Data XML • The Sheet Data XML file is a listing of each sheet in the Ovation system, along with some identifying information about each. • The XML file will contain a set of data for each sheet that contains the sheet number, sheet title, the drop its logic is located on, the task its logic is associated with, and more. • This file is generated using a script supplied by the Map Tool install. • Exactly like the OCB Point List file, the Map Tool must be installed on a system with the UNEDITED plant database loaded into Ovation. This can be done directly from the plant database server or via a plant export file loaded onto the simulator database server. The latter is the recommended method as it avoids loading simulation software on the plant system. • The Sheet Data XML file generated by the Map tool is named “sheet_data.xml”. • After the plant database has been restored to the simulator database server. Generate the Sheet Data XML file. Browse to the Map Tool scripts directory. Double-click the sheetdata.bat file. 51

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. PTDB Export • The PTDB Export is retrieved from the Ovation plant system backup explained earlier. • This must be the PTDB Export file, NOT the Oracle export file. 52

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. Control Sheets • The Ovation Control Sheet *.xml’s are the source files for each control sheet in the system. • The control sheet *.xml contains the physical logic for the entire Ovation system. These files will be parsed by the Migration Tool to generate equivalent logic on the simulator system. • The control sheet *.xml’s are located in the OvPtSvr folder that was backed up from the plant drop200 in a folder named “ControlFunctions”. The path is OvPtSvr/<SystemName>/<NetworkName>/<Unit>/ControlFunctions. 53

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface – Properties File • DCS Logic Migration Tool uses a configuration file to specify the required project files and parameters. The file is modified by using a text editor. • Verify that the required configuration files released with the tool indicate the proper “pathnames”. See section 4.1.2 of WNA-GU-00303-GEN for more details. • Enter the following project specific files. files.See section 4.1.3 of WNA-GU- 00303-GEN for more details. • Logic.PTDB.V1 - Path to the version 1 PTDB export file (sim_ocb.lst) Logic.PTDB.V2 - Path to the version 2 PTDB export file (OvPtExport.exp) Logic.Sheet.Data.file - Path to the sheet_data.xml file exported from the plant system • Logic.Control.Sheets.dir - Directory containing all the control sheet XML files from the plant system 54

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface – Properties File (cont’d.) • Enter the following project specific output files.See section 4.1.4 of WNA-GU- 00303-GEN for more details. • Logic.database.file - Path to the dcs.database file generated from the GUI Logic.database.pmc - Path to the a modified dcs.database file for PMC use only Logic.database.init.file - Path to the initialization file for steady state IC Logic.log.file – Path to the log file containing error, warning and trace messages Logic.hardware.report - Path to the report of the hardware on the system to determine the malfunction tests – Logic.IO.variables.file – Path to the signal exchange list between Ovation I/O and PMC variables 55

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface – Properties File (cont’d.) • Enter the following naming conventions.See section 4.1.5 of WNA-GU-00303- GEN for more details. Logic.naming.prefix – ov_ Logic.naming.replace - -,_ |,_ Enter the following naming conventions.See section 4.1.8 and 4.10 of WNA-GU- 00303-GEN for more details Logic.slim.file - Path to the SLIM properties file. A starting template will be generated by the tool “slim.properties.template”, in the tool’s output directory 56

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface – Properties File (cont’d.) • There are additional sections in the Migration Tool properties, GUI configuration, Datalink, DCS Model configuration and Initial Condition Configuration. These are not as commonly modified as the other sections, and typically go unchanged. • Use defaults for GUI configuration see section 4.1.1 of WNA-GU-00303-GEN for more details • The Datalink tab is used to list out datalinks used by the system. see section 4.1.3 of WNA-GU-00303-GEN for more details • Use defaults for DCS ModeI configuration see section 4.1.6 of WNA-GU-00303-GEN for more details • Use defaults for Initial Condition configuration see section 4.1.7 of WNA-GU-00303-GEN for more details 57

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. DCS Migration Tool • Start the program by double-clicking on the SimDCSMigrationTool.exe found in the insatlled SimDCSMigrationTool\bin directory. • A user interface window will open and enter the project configuration file. Use Browse to find the file 58

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. Generation Process • Select “Generate Signal Exchange List”. A second pop-up window will appear with log messages ending with control logic loaded. Generates a signal exchange list between the DCS model and the other simulator models. Close the new window. 59

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. Generation Process (cont.) • Select “Generate Database”. A second pop-up window will appear with log messages ith control logic loaded. Generates the variable database used by the DCS ending w model. Close the new window. 60

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. Output Files • The output files will be created in the directory that was provided to the tool in the Preferences window. – dcs.database – io_variables.csv – slim.properties.template – algorithm_sid_fields.dat • Output no longer changes based on the PMC platform. 61

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. Output Files (cont’d) • The project script, C:\Westinghouse\SCDR\data[FAT,SAT]\projectscripts\makeASCOfiles.vbs will be executed, from a cmd window, to create the Tecnatom database add file, Malfunction and Plant Action xml files. • The project script, C:\Westinghouse\SCDR\data[FAT,SAT]\projectscripts\PMCoffsets.vbs will be executed, from a cmd prompt, to modify token files with PMC global offsets. • Output files will be located in Migration Tool output directory named TECNATOM 62

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface - Navigation • The user interface is separated into 3 major sections. • The selection below contains the layout of the system. You can navigate from the System level down to individual modules/sheets on a single drop. 63

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface - Log • The second section is the log section. As the migration process occurs, this section will list status updates, errors, and warnings encountered during the process. • The 3 tabs allow filtering of the outputted log data. 64

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface – Command Response • The lower section displays responds to any command entered. 65

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface - Commands • The followings commands are supported. See section 7.3 of WNA-GU-00303- Gen for more details. • FR – Freeze, stops execution of DCS model • RUN – Run, starts execution of DCS model • OPEN “pathname”– Open, batches in commands from a file • SET variable <Record Field> value <Bit> - Set assigns a variable a value • WH “variable”– Where, Displays all the places in the model where the variable is used • FIND VarRegex “optionalNaming” “optional format” – FIND finds all variables matching the VarRegex regular expression • MON VarRegex – MON adds variables to the monitor table 66

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface – Monitor Commands • The followings monitor commands are supported. See section 7.4 of WNA-GU- 00303-Gen for more details. • FOR index Format– Format, changes the display format for the variable Hex(X), real(F), decimal(D) and byte(B) • REM index – Remove, removes the variables from the monitor table • TYPE index type – Type, changes the variable type displayed for a variable. Supported types are BYTE, SHORT, LONG, FLOAT, and DOUBLE • Index=value - sets the variables defined in <Index> to the value specified 67

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface – Malfunctions • Use the navigation window and select drop/IOIC/node/module(1.x.y) • Select the Info tab, from the log window, to display the module information. Module ID is displayed as the tab title. • Select the malfunction tab, from the log window, to display malfunctions available for the module. Double-click any where on an index line 0 “complete module failure”. This is a Boolean type malfunction (T/F only). • A pop-up window will appear, select insert to active the malfunction. Select delete to disable an active malfunction. The index line 0 will be yellow to indicate an active malfunction. 68

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface – Malfunctions • Select malfunction tab, double-click any where on index line 1 “channel 1 failure”. This is a Analog type malfunction; 5 states with optional entered value, are available. • A pop-up window will appear, select state from drop down, select insert to active the malfunction. Select delete to disable an active malfunction. The index line 1 will be yellow for active malfunctions 69

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. User Interface – Load Ovation Data • Select “Run Model” or “Run Model with SLIMs”. A user interface window will appear with log messages ending with control logic loaded.. 70

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. Load Ovation Data (cont.) • Once the data is loaded, “Data loading complete” will appear at the bottom of the log section of the window. • The navigation section will become populated with the system, network, unit, and drops. These may be expanded to further delve into the system. 71

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. DCS/PMC MODEL • With a joint effort between Tecnatom and Westinghouse the DCS model was incorporated into the Tecnatom PMC environment. The created C++ program, Microsoft Visual Studio solution and Microsoft Visual Studio project files are released to the customer. • Pseudo code to integrate the DCS model into a PMC environment can also be found in section 10.2 of WNA-GU-00303-GEN. • The C++ program wecinterface.cpp includes the following: – INIT_ASCO2SCDR – initialize ASCO defined input variables – ASCO2SCDR – copy ASCO defined input variable values from PMC global to SCDR_MDL global – INIT_OVN_MODEL – initialize Ovation model from dcs.database.pmc – INIT_WECTCPIP – initialize TCP/IP connectionsbased on defined token files – WECTCPIP – map each token from PMC SCDR_MDL global to TCP/IP shared memory and TCP/IP shared memory to PMC SCDR_MDL global – EXECUTE_OVN_MODEL – execute emulated control sheets based on task area timing. Ovation model must run fast enough to account for fastest Ovation task area. The Ovation model will control when the emulated sheets will execute. – . 72

Westinghouse Proprietary Class 2 © 2015 Westinghouse Electric Company LLC. All Rights Reserved. Westinghouse Map & Migration Software Training Questions? 73


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook