dr rob bodington eurostep plcslib - overview. plcslib - acknowledgements norwegian defence...

40
Dr Rob Bodington Eurostep PLCSlib - Overview

Upload: gerald-johns

Post on 23-Dec-2015

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Dr Rob Bodington Eurostep

PLCSlib - Overview

Page 2: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

PLCSlib - Acknowledgements

Norwegian Defence Logistics Organisation UK MoD Defence Equipment and Support (DE&S) Sweden’s FMV French MoD - SIMMT Boeing BAE Systems Rolls Royce Black & Rossi DNV Eurostep CRESCENDO Project (EU R&D project) LOTAR project RASSC project (UK TSB R&D project)

Page 3: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Topics

Technical drivers Information architecture overview

Information layer Exchange layer Business / Domain layer

Applicability of approach to AP242 BOM

Page 4: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Topics

Technical drivers Information architecture overview

Information layer Exchange layer Business / Domain layer

Applicability of approach to AP242 BOM

Page 5: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Technical drivers

Core information model that is: Founded in AP239 ed2 ARM Easier to understand, Easier to access Easier to implement

“Formal” mechanism for semantic extension of core information model

“Formal” reusable approach to mapping business objects/concepts to the Core information model

Using COTS tools / Mainstream standard technologies Avoid bespoke where possible UML almost good enough – but not quite. SysML provides required

capability with out extensions and extensive COTS tools

Page 6: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Topics

Technical drivers Information architecture overview

Information layer Exchange layer Business / Domain layer

Applicability of approach to AP242 BOM

Page 7: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

PLCS Information Architecture

ISO 10303-239ARM EXPRESS

PLCS PSM EXPRESS

PLCS PSM SysML

PLCS PSM OWL

PLCS PSM XML Schema

Transformed Transformed

Transformed

Transformed

Exchange layer

“Core/standard” Information layer

“Business/Domain” layer

Business/Domain model

Maps Templates OWL

Ref. DataMaps

Maps

Specializes

references

Concept model

Schematron rules

Page 8: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Topics

Technical drivers Information architecture overview

Information layer Exchange layer Business / Domain layer

Applicability of approach to AP242 BOM

Page 9: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Core information model

ISO 10303-239ARM EXPRESS

PLCS PSM EXPRESS

PLCS PSM SysML

PLCS PSM OWL

Transformed Transformed Transformed

Exchange layer

“Core/standard” Information layer

“Business/Domain” layer

Concept model

Conceptual overview of PLCS model. UML model

Transformation maintains scope of ARM, but simplifies.Similar approach to AP242 BOM. I.e. simplify Id/Classification/Properties/Encapsulation of assignment/relationships

Automated transformation(REEPER) based on ISO 10303-26

Direct equivalent of PSM EXPRESSSysML reflects XSD encapsulationSysML enables formal mapping to domain model

OWL ontology based on PSM Blocks that are “Classifiable” or “Equivalent”

PLCS PSM XML Schema

Transformed

Schematron rules

XML Schema derived from PLCS PSMXSD uses same approach as Ap242

Page 10: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Core information model

ISO 10303-239ARM EXPRESS

PLCS PSM EXPRESS

PLCS PSM SysML

PLCS PSM OWL

Transformed Transformed Transformed

Exchange layer

“Core/standard” Information layer

“Business/Domain” layer

Concept model

Conceptual overview of PLCS model. UML model

PLCS PSM XML Schema

Transformed

Schematron rules

Page 11: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Scope of PLCS: Concept modelhttp://docs.oasis-open.org/plcs/plcslib/v1.0/cs01/data/PLCS/concept_model/model_base.html

Page 12: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Scope of PLCS and supported historieshttp://docs.oasis-open.org/plcs/plcslib/v1.0/cs01/data/PLCS/concept_model/model_base.html

Design and IndividualConfigurationsActivities

performed by people

and product

Statesfailure &

operational

Change Management

Page 13: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Core information model

ISO 10303-239ARM EXPRESS

PLCS PSM EXPRESS

PLCS PSM SysML

PLCS PSM OWL

Transformed Transformed Transformed

Exchange layer

“Core/standard” Information layer

“Business/Domain” layer

Concept model

Transformation maintains scope of ARM, but simplifies.Similar approach to AP242 BOM. I.e. simplify Id/Classification/Properties/Encapsulation of assignment/relationships

Automated transformation(REEPER) based on ISO 10303-26

Direct equivalent of PSM EXPRESSSysML reflects XSD encapsulationSysML enables formal mapping to domain model

PLCS PSM XML Schema

Transformed

Schematron rules

Page 14: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

PLCS PSMhttp://docs.oasis-open.org/plcs/plcslib/v1.0/cs01/data/PLCS/psm_model/model_base.html

Click icon to add clip art Aligned with AP242 BOM

EXPRESS -> SysMLSysML

Represent encapsulations Enables mapping via parametric diagrams

Easier to view/navigate model than STEPmod based AP

Page 15: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Core information model

ISO 10303-239ARM EXPRESS

PLCS PSM EXPRESS

PLCS PSM SysML

PLCS PSM OWL

Transformed Transformed Transformed

Exchange layer

“Core/standard” Information layer

“Business/Domain” layer

Concept model

OWL ontology based on PSM Blocks that are “Classifiable” or “Equivalent”

PLCS PSM XML Schema

Transformed

Schematron rules

Page 16: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

PLCS PSMhttp://docs.oasis-open.org/plcs/plcslib/v1.0/cs01/data/PLCS/psm_model/refdata/plcs-psm-en.owl

Click icon to add clip art OWL converted from PSM forms “upper” ontology

Domain specific class are specializations of “upper” ontology. E.g.

Date / times Idenitifiers Activities Properties Units

Page 17: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Reference Data

Meta dataSKOS Dublin Core

PLCSmodel plcs-psm-en.owl plcs-psm-sv.owl

PLCSref data

plcs-rdl-en.owl plcs-rdl-sv.owl

Domainref data <domain>-en.owl <domain>-sv.owl

imports

imports

imports

Business Objects

Templates

Business process

PLCS PSM XSD

PLCS PSM

Page 18: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support
Page 19: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Topics

Technical drivers Information architecture overview

Information layer Exchange layer Business / Domain layer

Applicability of approach to AP242 BOM

Page 20: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Core information model

ISO 10303-239ARM EXPRESS

PLCS PSM EXPRESS

PLCS PSM SysML

PLCS PSM OWL

Transformed Transformed Transformed

Exchange layer

“Core/standard” Information layer

“Business/Domain” layer

Concept model

PLCS PSM XML Schema

Transformed

Schematron rules

XML Schema derived from PLCS PSMXSD uses same approach as Ap242

Page 21: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

PLCS PSM XSDhttp://docs.oasis-open.org/plcs/plcslib/v1.0/cs01/data/PLCS/psm_model/plcs_psm.xsdhttp://docs.oasis-open.org/plcs/plcslib/v1.0/cs01/data/PLCS/psm_model/common.xsd

Aligned with AP242 BOMSchematron + XSD used for

data validationXSD intended to be easier to

use than P28 XSDEncapsulation of assignments,

relationships

Page 22: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Core information model

ISO 10303-239ARM EXPRESS

PLCS PSM EXPRESS

PLCS PSM SysML

PLCS PSM OWL

Transformed Transformed Transformed

Exchange layer

“Core/standard” Information layer

“Business/Domain” layer

Concept model

Conceptual overview of PLCS model. UML model

Transformation maintains scope of ARM, but simplifies.Similar approach to AP242 BOM. I.e. simplify Id/Classification/Properties/Encapsulation of assignment/relationships

Automated transformation(REEPER) based on ISO 10303-26

Direct equivalent of PSM EXPRESSSysML reflects XSD encapsulationSysML enables formal mapping to domain model

OWL ontology based on PSM Blocks that are “Classifiable” or “Equivalent”

PLCS PSM XML Schema

Transformed

Schematron rules

XML Schema derived from PLCS PSMXSD uses same approach as Ap242

Page 23: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Topics

Technical drivers Information architecture overview

Information layer Exchange layer Business / Domain layer

Applicability of approach to AP242 BOM

Page 24: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Templates & Business / Domain model

ISO 10303-239ARM EXPRESS

PLCS PSM EXPRESS

PLCS PSM SysML

PLCS PSM OWL

PLCS PSM XML Schema

Transformed Transformed

Transformed

Transformed

Exchange layer

“Core/standard” Information layer

“Business/Domain” layer

Business/Domain model

Maps Templates OWL

Ref. DataMaps

Maps

Specializes

references

Concept model

Schematron rules

Page 25: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Templates & Business / Domain modelhttp://docs.oasis-open.org/plcs/plcslib/v1.0/cs01/sys/template_index_base.html

Use SysML Blocks to represent Business / Domain ObjectsUse SysML Parametric diagrams to map Business / Domain

Objects to PLCS PSM SysML

Templates are SysML Blocks therefore reusable in multiple models.

Ensures consistency of mapping. E.g. “Standard Part” + mapping can be used in multiple Business DEXs

Parametric diagrams: provide an unambiguous specification of how the business/domain objects are

mapped are computer interpretable and can be the basis for code generation

Page 26: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Why templates?

Model business objects. Formally map to PLCS PSM Formally define repeatable patterns Allow code to generated from the templates

Business Objects Templates

Templates

PLCS PSM

Page 27: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

SysML Block definition diagram

Page 28: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

SysML Block definition diagram

SysML Block: Business object representing pattern of objects: A template

Pattern of PLCS PSM objects to be instantiated by the template

Page 29: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

SysML Block definition diagramTemplate: SysML Block

Template: Parametric Diagram

Template: Output ports

Template: Public properties

Template: Constraints

Template: Private properties

Pattern of PLCS PSM objects to be instantiated by the template defined by parametric diagram

Page 30: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Organization A Organization B

Translator Translator

System A System B

Consumption of life (DEX)

Data exchange

Product operator

Product maintainer

Bike identification• Part No / S.No / Stock No

Life properties• Cycling hours

Page 31: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Business Objects Model

PLCS PSM XSD

maps

Templates

Transformed

maps

PLCS PSM

Organization A Organization B

specifiesExchange process

System modelSystem model

Ref. Datauses

specializes

Translator Translator

System A System B

Data Exchange Specification (DEX)

mapsmaps

1) Why exchange data?2) What data to be exchanged?3) How to exchange data?

References

Page 32: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Topics

Technical drivers Information architecture overview

Information layer Exchange layer Business / Domain layer

Applicability of approach to AP242 BOM

This is for illustrating the art of the possible and to provide input for next weeks workshop. They are not intended be anything other than that

Page 33: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

PLCS Information Architecture

ISO 10303-239ARM EXPRESS

PLCS PSM EXPRESS

PLCS PSM SysML

PLCS PSM OWL

PLCS PSM XML Schema

Transformed Transformed

Transformed

Transformed

Exchange layer

“Core/standard” Information layer

“Business/Domain” layer

Business/Domain model

Maps Templates OWL

Ref. DataMaps

Maps

Specializes

references

Concept model

Schematron rules

Page 34: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

AP242 PLCSlib Information Architecturehttp://www.plcs.org/STEPlib/242lib.html

ISO 10303-242ARM EXPRESS

ISO 10303-242BOM EXPRESS

ISO 10303-242BOM SysML

PLCS PSM OWL

ISO 10303-242XML Schema

Maps Transformed

TransformedExchange layer

“Core/standard” Information layer

“Business/Domain” layer

Business/Domain model

Maps Templates OWL

Ref. DataMaps

Maps

Specializes

references

Page 35: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

AP242 PLCSlib Information Architecturehttp://www.plcs.org/STEPlib/242lib.html

ISO 10303-242ARM EXPRESS

ISO 10303-242BOM EXPRESS

ISO 10303-242BOM SysML

PLCS PSM OWL

ISO 10303-242XML Schema

Maps Transformed

TransformedExchange layer

“Core/standard” Information layer

“Business/Domain” layer

Business/Domain model

Maps Templates OWL

Ref. DataMaps

Maps

Specializes

references

As an exercise to investigate applicability of approach to AP242 we did the following:1) Ran REEPER on AP242 BOM EXPRESS to generate BOM

SysML2) Drew a subset of SysML Block Diagrams in Magicdraw3) Developed Templates for part using same scope of PLCS

Part Assembly Template. • Classifier• DatedEffectivity• Descriptor• Indentification• Name• Part• PartAssembly• ViewDefinitionContext

Page 36: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

ISO 10303-242BOM SysML

ISO 10303-242 BOM SysML Block Definition diagram

Direct equivalent of PSM EXPRESSSysML reflects XSD encapsulation

SysML reflects EXPRESS rules in OCL

See: http://www.plcs.org/STEPlib/242lib.html

Page 37: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

ISO 10303-242 Part Template as per PLCS Part

templates

See: http://www.plcs.org/STEPlib/242lib.html

Page 38: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Observation

Generation of SysML Blocks from AP242 BOM was an automated process using REEPER.

99% converted. Some minor issues to be addressed We were able to reuse some of the PLCS reference data EXPRESS rules can be represented as OCL constraints.

A manual process Not all 242 rules have been converted

SysML reflects the encapsulation. For code generation of SysML this required addition of EXPRESS rules Issue against AP242 BOM re encapsulation

Page 39: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Encapsulation

ENTITY ActivityMethodAssignment; id : OPTIONAL IdentifierSelect; description : OPTIONAL DescriptorSelect; classifiedAs : OPTIONAL SET[1:?] OF Classification; role : ClassSelect; assignedActivityMethod : ActivityMethod;(* RBN assignedTo : SET[1:?] OF ActivityMethodAssignmentSelect;http://www.wikistep.org/bugzilla/show_bug.cgi?id=5067 *) assignedTo : ActivityMethodAssignmentSelect;WHERE(* RBN Encapsulate into assignedTo attribute https://sourceforge.net/p/plcslib/plcs-psmmodel/205/*) encapsulateInto: EXISTS(assignedTo);END_ENTITY;

ENTITY ActivityMethodRelationship; id : OPTIONAL IdentifierSelect; description : OPTIONAL DescriptorSelect; classifiedAs : OPTIONAL SET[1:?] OF Classification; relationType : ClassSelect; relating : ActivityMethod; related : ActivityMethod;WHERE WR1: relating :<>: related;(* RBN Encapsulate into relating attribute https://sourceforge.net/p/plcslib/plcs-psmmodel/205/*) encapsulateInto: EXISTS(relating);END_ENTITY;

Page 40: Dr Rob Bodington Eurostep PLCSlib - Overview. PLCSlib - Acknowledgements  Norwegian Defence Logistics Organisation  UK MoD Defence Equipment and Support

Conclusion

PLCSlib publication environment is targeted at PLCS PSM – hence some work will be required to adopt it to AP242.

The experiment shows that the use of the SysML approach to author templates and illustrate the AP242 BOM as a SysML Block Definition diagram is straightforward.