iso 15926 tutorial...© det norske veritas as. all rights reserved 26 february 2009 slide 3 class...

88
IOHN Introduction to Modelling in ISO 15926 The Data Model

Upload: others

Post on 14-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

IOHN

Introduction to Modelling in ISO 15926

The Data Model

Page 2: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 226 February 2009

IOHN

Tutorial OverviewThe Data Model

- Fundamental Concepts- The EXPRESS Modeling Language- The Basic Classes of 15926- Types of Reference Data Classes

Page 3: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 326 February 2009

Class Hierarchy

Part 4

Reference Data Library

Part 2

Data Model

Project Data

Page 4: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 426 February 2009

Source Material and Accessories

Part 2 can be bought from ISO as a pdf file. - Navigate to http://iso.org and search for ISO 15926

An overview of Part 2 can be found at http://ht.vestforsk.no/demo/iso15926/

The EXPRESS code and the EXPRESS diagrams of Part 2 can be foundat http://www.tc184-sc4.org/wg3ndocs/wg3n1328

Page 5: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 526 February 2009

IOHN

Tutorial OverviewThe Data Model

- Fundamental Concepts- Class- Relationship- Entity types, classes and objects

- The EXPRESS Modeling Language- The Basic Classes of 15926- Types of Reference Data Classes

Page 6: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 626 February 2009

Two fundamental concepts

Class- Pump – The collection of all pumps- Bicycle – The collection of all bicycles- Pebbles – The collection of all pebbles

Relationship- HusbandOf – The relationship between a man and his wife- ConsistsOf – The relationship between e.g. a pump and its parts

Page 7: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 726 February 2009

Fundamental Concepts: Class

Class- A collection of objects. - The objects in such a collection are called members of the class- A class is an abstraction:

- You can have a pile of pebbles and a class of the same pebbles. Dispersing the pebbles will distroy the pile, but the class remains thesame.

- A class is also an object, and can therefore …- be a member of a class- be related to other objects

Page 8: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 826 February 2009

Classes and Classifying Concepts

By a classifying concept we mean a concept which holds, or is true of, objects.

- ”is a car”

The collection of things that the concept is true of forms a class. - ”the class of all cars”

The principle of extensionality for classes: - ”If two classes have the same members, they are the same class.”

Classifying concepts are intentional: Two concepts can be true of thesame things.

- ”is a creature with heart” and ”is a creature with kidney”

Are 15926 classes Classes or classifying concepts?- For our purposes, it makes little difference

Page 9: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 926 February 2009

Two Important Notions

Membership

Inclusion

Car

My Car

Page 10: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1026 February 2009

Inclusion

VehicleCar

My bus

My car, which is also a vehicle

”All cars are vehicles”

Page 11: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1126 February 2009

A relationship is something that holds of or between two objects.

Fundamental Concepts: Relationship

Me Norway

I am a resident of Norway

Relationships are also objects, and can be used in other relationshipsand be members of classes.

Page 12: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1226 February 2009

Fundamental Concepts: Relationship, cont.

A concept with two entries corresponds to a Class of Relationship- … is a resident of …- A Relationship on the other hand, corresponds to a sentence: Jennifer is a resident

of Norway

Instead of connecting two objects, a class of relationship connects two classses

CountriesPeople

resident of

Jennifer Norway

Barack Obama USA

Page 13: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1326 February 2009

Part 2 vs. Reference Data

Reference Data Library (RDL)

Industry specific classes and relations

Data Model

Very general classes and relations

Project Data

Project or company specific data

Page 14: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1426 February 2009

Entity Types, classes and objects.

There is a ’syntactical’ difference between classes of Part 2, and everyother type of class in the ISO15926 standard:

Classes in Part 2 are modelled as entity types in the languageEXPRESS.

- Entity types are only classes, they cannot be a member of any other class, and not be related to any entity.

Every class not in Part 2 are entities, sometimes also called objects. Thisis because they are inevitably members of at least one entity type.

- Entities may be classes, but they are always objects. This means they can be members of classes, and related to other objects.

Page 15: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1526 February 2009

IOHN

Tutorial Overview

The Data ModelFundamental ConceptsThe EXPRESS Modeling LanguageThe Basic Classes of 15926Types of Reference Data Classes

Page 16: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1626 February 2009

EXPRESS

Standardized as part of the STEP standard (ISO 10303)

Data modeling language

The EXPRESS-G notation will be used to visualize EXPRESS models. (Such as 15926-2)

We will limit our discussion to features of EXPRESS used in ISO15926-2

Page 17: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1726 February 2009

Entity type

Specification of a type of data

Consists of- Name- Attribute(s)- Subtype and Supertype declarations

ENTITY Personname : STRING;mother : Woman;

END_ENTITY

ENTITY Personname : STRING;mother : Woman;

END_ENTITY

Page 18: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1826 February 2009

Attributes

Built-in types- STRING, INTEGER, BOOLEAN, etc

Entity types: - An entity type defined elsewhere in the data model

Aggregate types:- A list where all elements are of the same type.

Optional attributes.

ENTITY Personname : STRING; age : INTEGER;mother : OPTIONAL Woman;

END_ENTITY

ENTITY Personname : STRING; age : INTEGER;mother : OPTIONAL Woman;

END_ENTITY

Page 19: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 1926 February 2009

The EXPRESS-G notation

ENTITY Personname : STRING; age : INTEGER;mother : OPTIONAL Woman;

END_ENTITY

ENTITY Personname : STRING; age : INTEGER;mother : OPTIONAL Woman;

END_ENTITY

Person

STRING

Woman

INTEGERage

name

mother

EXPRESS-G

EXPRESS

Page 20: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2026 February 2009

Type Hierarchy

Entity types in a data model are usually organized in a type hierarchy.

A subtype inherits all the attributes of its supertype.

Person

STRING

INTEGERage

name

mother

Woman Man

Page 21: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2126 February 2009

ENTITY ASUPERTYPE OF (ONEOF (B, C));

END_ENTITY;

ENTITY BSUBTYPE OF (A)

END_ENTITY;

ENTITY CSUBTYPE OF (A)

END_ENTITY

ENTITY ASUPERTYPE OF (ONEOF (B, C));

END_ENTITY;

ENTITY BSUBTYPE OF (A)

END_ENTITY;

ENTITY CSUBTYPE OF (A)

END_ENTITY

Hierarchy Restrictions

ONEOF – disjoint entity types

A

CB

1

An A cannot be both a B and a C

Page 22: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2226 February 2009

ENTITY ASUPERTYPE OF (B ANDOR C));

END_ENTITY;

ENTITY BSUBTYPE OF (A)

END_ENTITY;

ENTITY CSUBTYPE OF (A)

END_ENTITY

ENTITY ASUPERTYPE OF (B ANDOR C));

END_ENTITY;

ENTITY BSUBTYPE OF (A)

END_ENTITY;

ENTITY CSUBTYPE OF (A)

END_ENTITY

Hierarchy Restrictions

ANDOR – possible overlaping entity types

A

CB

&

An A may be either a B or a C, both or neither.

Page 23: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2326 February 2009

ENTITY AABSTRACT SUPERTYPE OF

(B ANDOR C);END_ENTITY;

ENTITY BSUBTYPE OF (A)

END_ENTITY;

ENTITY BSUBTYPE OF (A)

END_ENTITY;

ENTITY AABSTRACT SUPERTYPE OF

(B ANDOR C);END_ENTITY;

ENTITY BSUBTYPE OF (A)

END_ENTITY;

ENTITY BSUBTYPE OF (A)

END_ENTITY;

Hierarchy Restrictions

ANDOR – possible overlaping entity types

(ABS)A

CB

An A must be one of B or C, or both.

Page 24: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2426 February 2009

IOHN

Tutorial Overview

The Data ModelFundamental ConceptsThe EXPRESS Modeling LanguageThe Basic Classes of 15926

• Thing• Possible Individual• Abstract Object: Class• Abstract Object: Relationship

Types of Reference Data Classes

Page 25: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2526 February 2009

Thing

The top class of 15926 is Thing

All 15926 objects are Things

All 15926 classes are subclassesof Thing, exept Thing itself.

(ABS)thing

possible_individual

(ABS)abstract_object

1

Examples of things: - The French Revolution- Barack Obama- 152 kilometers- π (pi)- The class of all pumps

Page 26: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2626 February 2009

Possible Individual

All physical things

All things bound by space or time- Includes past and future objects

Considered as four dimensional space-time regions

(ABS)thing

possible_individual

(ABS)abstract_object

1

Page 27: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2726 February 2009

Possible Individual in space time

TIME

3DSPACE

A space-time extension

Page 28: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2826 February 2009

A Possible Individual in space time

TIME

3DSPACE

Space-time extension known as #1234

A unique space time extension

Page 29: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 2926 February 2009

Serial number“2-783”

Gauge pressure transmitter

Same thing through time and space

Unique space time extension

Page 30: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3026 February 2009

Scope of Possible Individual

Things that actually exist, or have existed

Things that are fictional or conjectured and possibly exist in the past, present or future

The entirety of all space time (Universe)

Things that are either all space for any time (time periods)

Things where the time dimension is vanishingly small (events)

Things that have a specific position, but zero extent in one or more space dimensions, such as points, lines, and surfaces.

Temporal parts (states) of other possible individuals

Page 31: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3126 February 2009

Abstract Objects

Things that don’t have a space or time extension- Numbers- Classes- Relationships

Page 32: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3226 February 2009

Subtypes of Abstract Object

thing

possible_individual

abstract_object

class

relationship

1

multidimensional_object

Page 33: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3326 February 2009

Subtypes of Abstract Object: Class

Class is the entity type of reference data classes.

A reference data class is an object with entity type Class.

Page 34: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3426 February 2009

Examples of Classes

Apple

Green

VLCC – very large crude carriers

Gauge pressure transmitter

ASME B1.1 Bolt threads

EN218 Gasoline

SAE 20-40W Motor engine oil

Page 35: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3526 February 2009

Gauge Pressure Transmitter Class

ClassMember

Page 36: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3626 February 2009

Why is class important?

Class enables us to describe common information once, as the class.

In practice little information is recorded about individuals. Most design is about stating I want one of ”them” or some of ”that”. ”Them” or ”that” is a class, often a manufacture’s product.

Specifications that enable compliance to be assessed are classes, a particular item can be judged against the criteria of membership of the class.

Specification of classes based on criteria for membership is the basis for part piece assembly, mass production, and economiesof scale.

Page 37: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3726 February 2009

Diagram notation

a membership relationship, the arrow head indicates the member of the class

a class that is a model entity type, where “id” is its identifier

abcde an object

id

Page 38: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3826 February 2009

Example Diagram

Pump

class

thing

#1234

Page 39: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 3926 February 2009

Exercise 1

Represent using a diagram- that 2-783 is a possible individual- that possible individual is an entity type- that 2-783 is a gauge pressure transmitter- that gauge pressure transmitter is a Class- that Class is an entity type

Page 40: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4026 February 2009

More about Class

Classes are universal, independent of time

Change is handled by classification of temporal parts of 4D objects

For a car that is repainted from red to blue, the 4D part when it is red is a member of the red class, and the blue 4D part is a member of the blue class.

Page 41: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4126 February 2009

Class membership is independent of time

TIME

3DSPACE

Space-time extension for my car

#state1 #state2

bluered

Page 42: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4226 February 2009

Membership is constant

BlueRed

Class

#state1 #state2My car

Car

Page 43: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4326 February 2009

Subclasses of Abstract Object: Relationship

thing

possible_individual

abstract_object(ABS)

class

relationship

1

multidimensional_object

Page 44: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4426 February 2009

Subclasses of Abstract Object: Relationship

A relationship is considered to be an abstract object.

Relationships are given names, as are all Things. Moreover, they should always be classified by a ClassOfRelationship.

Only classes of binary relationship are supported. More complex objects can be supported using MultidimensionalObject.

Page 45: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4526 February 2009

Subclasses of Relationship

A Relationship has the pair of objects related as attributes of therelationship.

Relationship has several subtypes:

Specialization

(ABS)relationship

Classification1

Composition

Thing

Class

classified

classifier

Class

Class

subclass

superclass

Possible Individual

Possible Individual

part

whole

Page 46: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4626 February 2009

Classification and Specialization

Classification membership

Specialization inclusion

Why create new names for familliar relations?- There is a distinction between the data model (Part2) and the RDL (Part 4)- Classes in Part 2 are entity types- Classes in Part 4 are instances of the Class entity type- Every object in the RDL must be a member of at least one entity type of Part 2

Page 47: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4726 February 2009

Classification and Specialization, cont.

An RDL class such as Pump is an object with a certain entity type (Classof arranged Individual)

Because it is a class, it may have members, or enter into inclusionrelationships.

How to indicate these relationships?

Answer: You record the required relationship as a new piece of referencedata. In other words, you create a Relationship object.

The Classification entity type contains the membership relationships

The Specialization entity type contains the inclusion relationships

Page 48: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4826 February 2009

Classification relationship

(ABS)thing

possible_ individual

(ABS)abstract_object

class

(ABS)relationship

1

classification

classifier

classified

Page 49: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 4926 February 2009

Classification Relationship

A Classification is a Relationship

The first attribute, called “classified”, is a Thing

The second attribute, called “classifier” is a Class

A Classification between a Thing and a Class says that the classified Thing is a member of the classifying Class

Page 50: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5026 February 2009

Classification Illustration

Pump class

Pump #1234

Page 51: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5126 February 2009

Example Diagram

Pump

class possible_individual

#1234

• #1234 is a possible_individual• #1234 is a pump• pump is a class• class in an entity type• possible_individual is an entity type

xyz a class that is a schema entity

abcde an object

classification relationship, pointing from the classifier to the classified

Page 52: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5226 February 2009

Specialization Relationship

superclass

class specializationsubclass

abstract_object

relationship

Page 53: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5326 February 2009

Specialization Relationship, cont.

A specialization is a relationship between two classes that says that all members of the subclass are members of the superclass.

Specialization is transitive. If A is a specialization of B and B is a specialization of C, then A is necessarily a specialization of C.

Pump

Pump #1234Pump model 106

Page 54: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5426 February 2009

Specialization Example

model 106

class

pump

a specialization relationship, the circle indicates the subclass

All model 106 membersare members of pump

Page 55: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5526 February 2009

Exercise 2

Rosemont manufacture a type of Gauge Pressure Transmitter know as 3051C

Represent by means of a diagram- That 3051C is a class- That 3051Cs are Gauge Pressure Transmitters- Gauge Pressure Transmitter is a class- Class is an entity type

Page 56: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5626 February 2009

Transitivity

Specialization is transitive

model 106

class

pump

model 106 - Bmodel 106 - A

All model 106-As are model 106sAll model 106s are pumpsAll model 106-As are pumps

Page 57: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5726 February 2009

Transitivity, cont.

Classification is not transitive

class_

red

colour

my car

possible_individual blue

My car is redRed is a colourMy car is not a colourRed is classColour is a class My car is not a class!

Page 58: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5826 February 2009

Composition Relationship

Says that something is a part of something else

possible_ individual

relationship

composition_of_ individual

part

whole

thing

abstract_object1

Page 59: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 5926 February 2009

Composition in Four Dimensions

TIME

3DSPACE

#C

#B#A

#A is a part of #B and of #C

Page 60: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6026 February 2009

Composition Example

possible_ individual

#B #A

#C

composition_of_ individual

whole

whole

part

part

a relationship that is not a classification or specialization, role1 and role2 are the role names of the relationship

role1 role2

Page 61: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6126 February 2009

Diagrammatic Notation

a class that is a model entity type, where “id” is its identifier

a relationship that is not a classification or a specialization,role1 and role2 are the role names of the relationship

a specialization relationship, the circle indicates the subclass

abcde an object

id

role1 role2

a classification relationship, the arrow head indicates the member of the class

Page 62: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6226 February 2009

Exercise 3

Represent by means of a diagram the parts of 2-783.

2-783

2-783 housing

2-783 Flange

Page 63: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6326 February 2009

IOHN

Tutorial Overview

The Data ModelFundamental ConceptsThe EXPRESS Modeling LanguageThe Basic Classes of 15926Types of Reference Data Classes

• Class of Class• Class of Relationship• Class of Individual

• Class of Arranged Individual• Property

Templates

Page 64: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6426 February 2009

Types of Class

class

class_of_ individual

class_of_ class

(ABS)class_of_ abstract_object

(ABS)class_of_ relationship

1

Page 65: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6526 February 2009

Class of Class ExamplesRed is a class of individual, its members are possible individuals that are red, only possible individuals can be red.

Colour is a class of class, the class Red is a member. The class Blue is another member of Colour. Individuals are not colours.

PolarBear is a class of individual; Its members are individual polar bears.

EndangeredSpecies is a class of class, where the class PolarBear is a member. It is the species that is endagered, not each and every polar bear.

Honda is a class of individual, its members are all Hondas.

Car is a class of individual also. The members of Car are individual cars. Honda is a specialization of Car. Every Honda is a car

CarTypes is a class of class, the class Honda is a member. Individual carsare not car types.

Page 66: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6626 February 2009

Class of Individual and Class of Class

Postman Pat’s Car

Red

Blue

Color

Red

Page 67: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6726 February 2009

Class of Individual and Class of Class

class_of_individual

red

colour

Postman Pat’s Car

class_of_class

possible_individual blue

Page 68: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6826 February 2009

Class of Relationship

Classes whose members are Relationships

class_of_ individual

class_of_ composition_of_

individual

class_of_part

class_of_whole

class_of_ relationship

Page 69: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 6926 February 2009

Class of Composition membership

Class of composition

whole

Class: Centrifugal pump

part

Class: Impeller

members

Composition of individual

Page 70: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7026 February 2009

Composition example: Pumps and Impellers

Pump model 106

Impellers of model 106 pumps

#1234

class_of_composition_of_individual

possible_ individual

Type A impeller

#az278

composition_of_ individual

whole part

class_of_whole class_of_part

class_of_ individual

Page 71: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7126 February 2009

Exercise 5

GPT-3052C housing

GPT-3052C flange

GPT-3052C

Represent by means of a diagram that all GPT-305Cs consist of a housing and a flange

Page 72: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7226 February 2009

Classes of Individual

class_of_ individual

class_of_arranged_individual

property

participating_role_and_domain

status

class_of_event

class_of_period_in_time

1

individual_dimension

class_of_point_in_time

Page 73: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7326 February 2009

Class of Arranged Individual

class_of_arranged_ individual

class_of_biological_matter

class_of_functional_object

class_of_composite_material

phase

crystalline_structure1

class_of_molecule

class_of_compound

class_of_atom

class_of_sub_atomic_particle

class_of_particulate_material

Page 74: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7426 February 2009

Increasing levels of aggregation

The classes of arranged individual recognise increasing levels of arrangement, starting at the sub atomic level and finishing at the levels of biological material and functional objects.

Each level consists of an aggregation of material of the level beneath

Page 75: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7526 February 2009

Aggregation illustration

Water

H2Omolecule

Oxygen atom

aggregations of

arrangements of

Hydrogen atoms

Page 76: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7626 February 2009

The Property Entity Type

property

class_of_individual

class

possible individual

Thing

Page 77: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7726 February 2009

Property

Property is a subtype of Class of Individual

Examples of Properties- 400 Tonnes- 4ºF

A Possible Individual is a memberof a Property if and only if it ”has” thisproperty

- ”The Eiffel Tower is a memberof the class ”100000 tonnes”

Every property is a member of a Class ofProperty

- Weight- Temperature- Volume

A

possible_individual

property

Property_space

21 C

temperature

B

Page 78: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7826 February 2009

Property and Class of Property

property class_of_property

class_of_individual

class

class_of_class

Enumerated property_set

property space

1

Page 79: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 7926 February 2009

Property Quantification

property_ quantification

arithmetic_ numberproperty

relationship

property quantifier

Page 80: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 8026 February 2009

Property Quantification

property_ quantification

arithmetic_ numberproperty

relationship

property quantifier

100100ºCproperty quantifier

Page 81: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 8126 February 2009

Property Scales

number_space

property

property_space

21.0 C

arithmetic_number

21.0

property_ quantification

scale

Celsius

temperature -273.15, infinity

Page 82: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 8226 February 2009

Indirect property

An IndirectProperty is derived from doing some tests or calculations to determine its value (as opposed to it being a current measurement).

A relationship between a Property and a PossibleIndividual.

The nature of the IndirectProperty is defined by its classification by a ClassOfIndirectProperty

Page 83: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 8326 February 2009

Indirect Property

Example: The maximum allowable working temperature of an instrument is an indirect property, it is different from its current temperature.

An indirect property is derived from doing some tests or calculations to determine its value (as opposed to it being a current measurement). This is what makes it indirect

A relationship between a property and a possible individual.

The nature of the indirect property is defined by its classification by a class of indirect property.

A property is indirect when it does not directly apply to the possible individual it applies to, but is derived from some process.

Page 84: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 8426 February 2009

Indirect property Model

property

indirect_ property

relationship

possible_ individual

possessor

property

property_space

class_of_ indirect_ property

class_of_ relationship

class_of_ individual

class of possessor

propertyspace

Page 85: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 8526 February 2009

IOHN

Tutorial Overview

The Data ModelFundamental ConceptsThe EXPRESS Modeling LanguageThe Basic Classes of 15926Types of Reference Data ClassesTemplates

Page 86: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 8626 February 2009

Templates

Even simple statements become complex 15926 structures.

”3051CG should have an ambient temperature between -40 to 80 degrees Celsius”

Page 87: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 8726 February 2009

Complex 15926 Structure

Pump model 106

Ambient Temperature

Temperature

wholepart

CO Possessor

Temperature Range -40 - 80

Temperature -40C

Temperature 80C

Celcius

40

80

Page 88: ISO 15926 Tutorial...© Det Norske Veritas AS. All rights reserved 26 February 2009 Slide 3 Class Hierarchy Part 4 Reference Data Library Part 2 Data Model Project Data

© Det Norske Veritas AS. All rights reserved Slide 8826 February 2009

Template Signatures

Template Signature

Roles Class Type of Restriction Measurement scale Upper Bound Lower Bound

EntityTypes

CO Individual CO CO Relationship Scale ArithmeticNumber

80

ArithmeticNumber

Example 3051CG PressureTransmitter

AmbientTemperature

Celcius -40

End user challenge: Filling out the template may require explicit information that

is only implicitly given by the end user’s documentation.