5

Click here to load reader

Guide Demo 5B

  • Upload
    rodolfo

  • View
    215

  • Download
    0

Embed Size (px)

DESCRIPTION

pipeline risk

Citation preview

  • C-FER Technologies

    PIRAMID TRAINING LEVEL 2 DEMO 5B Advanced Import Wizard Profile 1. Configure Program Settings / Units - select Imperial/US File / New - change to " C:\Program Files\C-FER\PIRAMID\2002 Training Seminar\Level 2\Demo 5". Enter file name Demo5B. Press Create. Select the configuration template called C-FER Historical-based Onshore Imperial from pull-down menu. Press Create. 2. Importing pipeline system data Right-click on the System folder in the Tree Diagram Workspace; select Import.... 2.1.1 Selecting the source of the data Press the ... button to the right of the first row to select a data source. Press New. Select MS Access Driver (*.mdb) and press Next. Enter Deme5B DB for the name of the data source and press the Next button follow by Finish. Press Select. Select Demo 5B Import Database.mdb from the Demo 5 folder. Press OK twice to return to the Select Data Source dialog. Select Demo5B DB from the list of available data sources and press OK. 2.1.2 Creating a configuration profile Press the New button to the right of Import Profile. This will start the Import Wizard. 2.1.2.1 SQL View Creation Press the Add button to create a new SQL query. Enter UnitChange in the Name text box. Enter the following text in the SQL text box to convert the pressure values from kPa to psi.. SELECT [Line Name], [Parameter Name], [Reference Post], iif([Parameter Name] = Pressure, [Parameter Value]/6.984, [Parameter Value]) AS [ImpValue] FROM [Attributes Coord]

    Press Apply to save the SQL query. Press Next. 2.1.2.2 Coordinate Attribute Location Field Press Search to display a list of available tables and SQL Views Select UnitChange in the Available Tables list box. Select Coordinate for the attribute type option. Select Reference Post in the Location Field pull-down list box. Press Apply. DO NOT press the Next button. 2.1.2.3 Range Attribute Start, and End Fields

    1

  • C-FER Technologies

    Select Attribute Range in the Available Tables list box. Select Range for the attribute type option. Select Start Post in the Start Field pull-down list box. Select End Post in the End Field pull-down list box. Press Apply. Repeat the previous four steps for the Diameter table. Press Next. 2.1.2.4 Associating the data with one or more pipelines Select from Attribute Range the Available Tables pull-down list box. Select the Table contains multiple pipelines with continuous stationing option. Select Line Name from the Attribute Range Pipeline name field identifier pull-down list box. Press Apply. Repeat the previous three steps for the Diameter, and UnitChange tables to set the pipeline name field.

    Remember to press Apply for each pipeline. Press Next. 2.1.2.5 Extracting attribute data Select Attribute Range from the Available Tables pull-down list box. Select the Table includes multiple attributes located in one field option. Select Parameter Name for the Attribute Field Identifier. Select Parameter Value for the Value Field Identifier. Press Apply. Select UnitChange from the Available Tables pull-down list box. Select the Table includes multiple attributes located in one field option. Select ParameterName for the Attribute Field Identifier. Select ImpValue for the Value Field Identifier. Press Apply. Select Diameter from the Available Tables pull-down list box. Select the Table includes only one attribute option. Select Diameter for the Value Field Identifier. Press Apply. Press Next. 2.1.2.6 Match attribute labels Press the Quick Match button to map external attribute names that are identical to a PIRAMID attribute name.

    Note that this may match attributes incorrectly and you should always verify the mapping. Select Attribute Range from the Available Tables pull-down list box. For each valid Available Attribute Identifier match its name to a corresponding PIRAMID attribute name. Press

    Add when you have selected an attribute name in the left box and its corresponding attribute name in the right box. NOTE: Coat Condition maps to the PIRAMID Coating Condition attribute, and Coat Type maps to the PIRAMID Coating Type attribute

    . Repeat the previous two steps for the UnitChange table.

    2

  • C-FER Technologies

    Verify that all attributes in the Diameter table were match by the Quick Match command. Press Next. 2.1.2.7 Save Import Profile Press the ... button to the right of the Profile name and location edit box. Review the mapping summary for accuracy. Enter Demo5B Profile for the File Name and Save the import profile to the Demo % folder. Press Finish. 2.1.3 Query the existing pipeline data tables Press Query Select Pipelines for the Table containing pipeline names Select Pipeline for the Pipeline name field identifier. Leave the Station series field identifier blank. For the Pipeline limits, check Data limits within table and then select Start Post and End Post for the

    corresponding fields Press OK. (Three pipelines have been added to the list: Main Line, Line 2, and New Line) 2.1.4 Importing the data Select ONLY the Main Line and New Line pipelines from the Pipelines list (to do this select Main Line and then

    while pressing the Ctrl key, select New Line). Press Import. Press Yes to merge the imported data with the current, if any, pipeline attribute data. Press OK to acknowledge the successful imports. Press Close to complete the data importing process. 3 Continue Define a product for each of these pipelines by: first expanding each pipeline folder in the tree diagram workspace

    and then double-clicking on the Products element. Select Methane and press Add, followed by OK to accept. (Repeat for both lines.) Once a product has been defined for a pipeline you can double-click on the Attributes element to view the data that you have just imported using the Import Wizard.

    Note that not all attributes are imported.

    3

  • C-FER Technologies

    4

  • C-FER Technologies

    5

    2.1.4 Importing the data3 Continue