Class Related Basic Data—Exercises
Basic Data Setup
Creating Classes
Purpose: The purpose of this exercise is to create classes.
Windows:
Class
Classes
Standard/Classes
- Create several classes, e.g. pump centrifugal design object and design
part class, power cable design part class, motor design object class,
process stream design object class, tank
and pressure vessel design object class and a relief valve design object
class.
General exercise for Creating Classes.
Entering Equipment Object Type and Object Level
Purpose: The purpose of this exercise is to enter an
equipment object type and object level.
Windows:
Equipment Basic Data/Object
Types
Equipment Basic Data/Object
Levels
- Enter the equipment object type with ID 100 and description Pump.
- Enter the equipment object level with Object Level Area, Level Sequence
200, Serials Allowed Yes.
General exercise for
Object
Type.
General exercise for
Object Level.
Creating Technical Classes
Purpose: The purpose of this exercise is to create
technical
classes.
Windows:
Technical
Classes and Attributes
- Create two technical classes - one as a design object technical class
and one as a design part technical class.
General exercise for
Creating
a Technical Class.
Main Exercise
Purpose: The purpose of this lesson is to set up class
related basic data.
Windows:
Class
ID Model
ID Separators
Object
Connection
Types
Class/Class Relations
Class/Class Properties
Class/General
Design Part Code Collections
Class/Design Part Codes
Cross
Reference Between Attributes
Report Configuration/Parameters
Report Configuration/Parameter Mappings
- Open the Class window.
- Search for the pump centrifugal class for which you want to define the
equipment object level.
- In the Equipment Object Type field, use the List of
Values to select 100.
- In the Equipment Object Level field, use the List
of Values to select Area.
- Click Save.
Note: To update objects with the class changes, on the
Class
window, click Refresh Objects with Class.
- Open the ID Model window.
- Click New.
- In the Standard field, use the List of Values to select a
standard CompanyName_standard (where CompanyName is the name of your company
or similar).
- In the ID Model field, enter xxx_ObjIDModel (replace xxx with
your initials or similar).
- Click Save.
- In the General tab, fill in the values for the Primary and
Secondary ID fields as follows:
Field |
Value |
Primary ID 01 |
Facility Code |
Primary ID 02 |
System |
Primary ID 03 |
Type Code |
Primary ID 04 |
Sequence No |
Primary ID 05 |
Parallel Item |
- Click Save.
- Click the Design Object Class tab and click
New.
- In the Class Name field, use the List of Values to select and
enter PUMP%, to apply the ID Model for all objects with class names
beginning with PUMP. Enter % as the value to set the ID Model as the Default
Design Object
ID Model.
- Click Save.
- Repeat steps 3-7 with the following information to create a design part
ID Model:
Field |
Value |
Standard |
CompanyName_standard (where CompanyName is the name
of your company or similar) |
ID Model Name |
xxx_DesPartIDModel (replace xxx with your initials
or similar) |
Primary ID 01 |
Cable Type |
Primary ID 02 |
Number of Cores |
Primary ID 03 |
Square Section Core |
Primary ID 04 |
Square Section Screen |
- Click Save.
- Click the Design Part Class tab and click
New.
- In the Class Name field, use the List of Values to select and
enter POWER CABLE, to apply the ID Model for all design parts of the power
cable class. Enter % as the value to set the ID Model as the Default Design
Part
ID Model.
- Click Save.
- Open the ID Separators
window and click New.
- In the Standard field, use the List of Values to select a
standard CompanyName_standard (where CompanyName is the name of your company
or similar).
- In the Class Name field, use the List of Values to select and
enter PUMP%, to apply the ID Separator for all objects with class names
beginning with PUMP. Enter % as the value to set the ID Model as the default
ID Separator.
- Select the Design Object check box to ensure that the ID separator will apply to
the design object class selected in the previous step.
- In the Separator A1, A2, A3, and A4 fields,
enter the value - (dash).
- Click Save.
- Click New and define an ID Separator for a design part of the
POWER CABLE class entering the following values in the Separator fields:
Field |
Value |
Separator A1 |
SP(space) |
Separator A2 |
* |
Separator A3 |
/ |
- Click Save.
- Open the Object
Connection
Types window.
- Click New.
- In the Connection Type ID field, a value is automatically assigned.
Edit this value if required.
- Enter the following values in the following fields:
Field |
Value |
Class Relation Super Description |
can affect |
Class Relation Sub Description |
can be affected by |
Object Connection Super Description |
affects |
Object Connection Sub Description |
is affected by |
Super Only One check box |
selected |
Sub Only One check box |
cleared |
- Click Save
- Open the Class window.
- Search for the PUMP CENTRIFUGAL design object and design part class.
- Click the Class Relations tab.
- Click New (+).
- In the Class Relation Description field, select the 'can be driven by' relation type
from the list.
- In the Sub Class field, use the List of Values to select the
MOTOR class.
- Click Save.
- Click New (+).
- In the Class Relation Description field, select the 'can have process
data' relation type
from the list.
- In the Sub Class field, use the List of Values to select the
PROCESS STREAM class.
- Click Save
- Click Search and search for the TANK AND PRESSURE VESSEL class.
- Click the Class Relations tab.
- Click New (+).
- In the Class Relation Description field, select the 'can affect' relation type
from the list.
- In the Sub Class field, use the List of Values to select the
RELIEF VALVE class.
- Click Save. A class relation is created based on
the Object Connection Type you created in the previous exercise.
- Open the Class window.
- Search for the PUMP CENTRIFUGAL design object and design part class.
- Click the Class Properties tab.
- Click New (+).
- In the Name field, select the 'can have mechanical nozzles' class
property from the list.
- In the Value field, select the check box.
- Click New (+) to create a new class property.
- In the Name field, select the 'update nozzle from part' class
property from the list.
- In the Value field, select the check box.
- Click Save.
- Open the Class window.
- Search for the PUMP CENTRIFUGAL design object and design part class.
- In the Design Object
Tech Class field, enter PA-OBJ01.
- In the Design Part
Tech Class field, enter PA-ART01.
- Click Save.
- Open the
Design Part Code Collections window.
- Click New.
- In the Design Part Code Collection field,
enter PWRC_CC or similar to create a design part code collection for a power
cable class.
- In the Standard field, use the List of Values to select a
standard CompanyName_standard (where CompanyName is the name of your company
or similar).
- Click Save.
- Open the Class window.
- Search for the POWER CABLE design object and design part class.
- Click the Design Part Codes tab and click New. If a
default code collection has been defined in System Variables, that will be
the code collection that will be displayed here.
- In the Code Collection field, use the List of Values to enter the code
collection PWRC_CC.
- Enter the following information:
- Code No. - 1
- Description - Cable Type AKKJ
- Code - AKKJ
- Click Save.
- Create other design part codes one at a time using the following
information:
Code No. |
Description |
Code |
1 |
Cable Type EKKJ |
EKKJ |
1 |
Cable Type FKKJ |
FKKJ |
|
|
|
2 |
2.5 Square Section Screen |
2sec |
2 |
4 Square Section Screen |
4sec |
2 |
6 Square Section Screen |
6sec |
2 |
10 Square Section Screen |
10sec |
2 |
15 Square Section Screen |
15sec |
2 |
16 Square Section Screen |
16sec |
2 |
21 Square Section Screen |
21sec |
2 |
25 Square Section Screen |
25sec |
2 |
29 Square Section Screen |
29sec |
2 |
35 Square Section Screen |
35sec |
2 |
41Square Section Screen |
41sec |
2 |
50 Square Section Screen |
50sec |
2 |
57 Square Section Screen |
57sec |
2 |
72 Square Section Screen |
72sec |
2 |
88 Square Section Screen |
88sec |
2 |
95 Square Section Screen |
95sec |
2 |
120 Square Section Screen |
120sec |
|
|
|
3 |
2.5 Square Section Core |
2sq |
3 |
4 Square Section Core |
4sq |
3 |
6 Square Section Core |
6sq |
3 |
10 Square Section Core |
10sq |
3 |
16 Square Section Core |
16sq |
3 |
25 Square Section Core |
25sq |
3 |
35 Square Section Core |
35sq |
3 |
50 Square Section Core |
50sq |
3 |
70 Square Section Core |
70sq |
3 |
95 Square Section Core |
95sq |
3 |
120 Square Section Core |
120sq |
3 |
150 Square Section Core |
150sq |
3 |
185 Square Section Core |
185sq |
3 |
240 Square Section Core |
240sq |
3 |
300 Square Section Core |
300sq |
|
|
|
4 |
3 Core Cable |
3core |
4 |
4 Core Cable |
4core |
4 |
5 Core Cable |
5core |
4 |
6 Core Cable |
6core |
4 |
7 Core Cable |
7core |
4 |
8 Core Cable |
8core |
- Click Save.
- Open the Default Data Generators
window.
- Click New.
- In the Standard field, the standard of the default plant is
displayed. Leave this value as it is.
- In the Business Object Type field, use the List of
Values to select the Plant_Object business object type, for which the default data
generator will apply.
- In the Key field, use the List of Values to select a key for the
default data generator. The key is a concatenated value of the class and
standard for which the default data generator will apply.
- In the Implementation field, use the List of Values to select the TEST_API customized package containing commands to insert default values or modify
values when creating an object or design part.
- Click Save.
Note: Depending on how the API was written, object or design part data
will change during the create or modify processes.
- Open the Cross Reference Between Attributes window.
- Click New. The standard of the default plant if defined in the
User Settings
dialog box, will be displayed by default.
- In the Consumer Class field, use the List of Values to
select PUMP CENTRIFUGAL, the name of the class to which the attribute value
will be inherited.
- In the Consumer Attribute field, use the List of Values to
select the attribute with the Pumping Temperature, min attribute
description .
- In the Class Relation Description field, select the can have process
data class relation, which when created or updated for related objects,
attributes will be inherited.
- In the Producer Class field, use the List of Values to
select PROCESS STREAM, the name of the Class from which the attribute values
should be inherited.
- In the Producer Attribute field, use the List of Values to
select the attribute with the Temperature, min attribute description.
- Click Save.
Use the following procedure to copy all attributes for classes:
- Repeat steps 1-3.
- Enter required classes in the Consumer Class and
Producer Class fields. Use the List of Values to select suitable
classes.
- Select the Copy All Equal Attributes check
box to enable all equally named attributes to be inherited from the producer
class to the consumer class. This is a simplified way to copy all relevant
attributes instead of having to define an attribute copy for each individual
attribute when the attribute naming convention is the same for both producer
and consumer classes.
- Click Save.
Use the following procedure to create dummy cross-reference records that do
not copy changed process data:
- Repeat steps 1 -2. Note: Do not define attributes for either
class.
- In the Class Relation Description field, select the can have process
data relation type.
- Click Save.
- Repeat steps 1-4 to create another dummy cross-reference record.
- Open the
Report Configuration window and click on the
Parameters tab
-
Click
New.
- In the Report ID field, use the List of
Values to enter the value PLANT_GEN_MECH_ITEM_REP.
- In the Report Parameter field, enter the PURCHASE_PACKAGE parameter, you wish to
define for the report.
- In the Description field, enter Purchase Package
as the description corresponding to
the defined report parameter.
- Select the System Defined check box. Note:
All other report parameters created afterwards cannot be set to System
Defined.
- Click Save.
- Repeat the entire procedure described above to create more than one report
parameter. For example: Add new report parameters SUB_SYSTEM and its description,
Sub System, as well as PAGE_BREAK and its description, Page Break.
Report ID |
Report Description |
Report Parameter |
Description |
System Defined |
PLANT_GEN_MECH_ITEM_REP |
General Item List |
SUB_SYSTEM |
Sub System |
Not selected |
PLANT_GEN_MECH_ITEM_REP |
General Item List |
PAGE_BREAK |
Page Break |
Selected |
- Open the
Report Configuration window and click on the Parameter Mappings tab.
-
Click New.
- In the Report ID field, use the List of
Values to enter the value PLANT_GEN_MECH_ITEM_REP. A value in the
Report Description field appears automatically with the
description of the report parameter that was defined in the Parameters tab.
- In the Report Parameter field, use the List
of Values to enter PURCHASE_PACKAGE.
- In the Standard field, leave the value as it is at % to apply the setting for all standards.
- In the Class field, use the List of Values to enter PUMP.
- In the Technical Attribute field, use the
List of Values
to select the technical attribute 00000000002913 with the Pumping Temperature, max
attribute description. A value in the Description field appears automatically with the description
of the technical attribute.
- Click Save.
- Repeat the procedure described above to create several entries for
report parameters with mappings to several standards, classes and technical
attributes.
Report ID |
Report Description |
Report Parameter |
Standard |
Class |
Technical Attribute |
Description |
PLANT_GEN_MECH_ITEM_REP |
General Item List |
PURCHASE_PACKAGE |
IFS_BASIC_CONFIGURATION |
VALVE CONTROL |
0000000000921 |
Temperature, max |
- Open the
Report Configuration window and click on the
Parameter Mappings tab.
-
Click New.
- In the Report ID field, use the List of Values to enter
the value PLANT_GEN_MECH_ITEM_REP. A value in the Report Description field appears automatically with the
description of the report parameter that was defined in the Parameters tab.
- In the Report Parameter field, use the List of Values to enter PAGE_BREAK.
- In the Standard field, leave the value as it is at % to apply the setting for all standards.
- In the Class field, leave the value as it is at % to apply
the setting for all classes.
- In the Item Name field, use the List of
Values
to select KEYA01. The item will be mapped to the page break parameter to enforce page
breaks in the report at the selected item points. Note: You can break
pages specifying a maximum of two items per page break report parameter
by using the semicolon separator (;) between item names. You
can also define more than one page break per report by mapping the page
break report parameter to a different standard each time.