SlideShare a Scribd company logo
1 of 22
Learning UML: Use Case Development
          and CIM Profiling

       EPRI Power Quality and Smart Distribution
             2012 Conference and Exhibition
                       June 4, 2012
                  Gerald R. Gray, PhD
                   Sr. Project Manager
  Enterprise Architecture | Utility Enterprise Integration
Disclaimer

   • Not a celebrity spokes model
   • Not a SparxSystems representative




© 2012 Electric Power Research Institute, Inc. All rights reserved.   2
Course Outline

   • EA Strengths/Weaknesses
   • Pre-requisites
   • Creating common use case related diagrams
      – Used by UCAIUG, CIMug, OpenSG, MultiSpeak…
   • Model Baselines
   • Versioning Setup & Configuration
   • CIM Profiling
      – CIMEA




© 2012 Electric Power Research Institute, Inc. All rights reserved.   3
Enterprise Architect: Uses and Benefits

   • Supports IT system, software, and business processes
   • Model, design, build, and test software
   • Uses standard Unified Modeling Language (UML)
   • Central repository for process and IT system information
   • Interfaces with version control e.g. Subversion
   • Fast, built-in or custom document generation & HTML




© 2012 Electric Power Research Institute, Inc. All rights reserved.   4
Enterprise Architect: Weaknesses

   • May be a poor choice for complex system
     diagrams
           – Visio is “prettier”
           – PowerPoint also an option
   • Complex User Interface
           – Extensive feature set may lead to confusion
           – Time saving “tricks” difficult to learn
   • Diagrams not useful if team doesn’t see value
           – UML/BPM may be used currently at their site
           – Some users intimidated by tool

© 2012 Electric Power Research Institute, Inc. All rights reserved.   5
Installation

   • SparxSystems Enterprise Architect
      – http://www.sparxsystems.com.au/
         • $135 - $699 depending on version
         • Enterprise Architect (v7.5 or greater)
         • v9.2 recently released
   • Subversion command-line client
         • http://www.collab.net/downloads/subversion/
   • TortoiseSVN (Windows)
         • http://tortoisesvn.net/downloads



© 2012 Electric Power Research Institute, Inc. All rights reserved.   6
Common UCAIUG / CIMUG Diagrams

   • Top Down Approach
      – Use Case
      – Business Process (Activity)
         • Integration Requirements
      – Sequence Diagram
      – Profile

   • Let’s look at some examples!




© 2012 Electric Power Research Institute, Inc. All rights reserved.   7
Adding a Use Case

   • Project Browser
      – New Package – grouping of diagrams
      – Add new diagram: Use Case
      – In the workspace add
         • Actors, cases, associations
      – Save changes, check-in package




© 2012 Electric Power Research Institute, Inc. All rights reserved.   8
Adding a Business Process

   • Project Browser
      – Add new diagram: Activity
      – Open workspace, right-click for
        Swimlanes and Matrix…
      – Add swimlanes
         • Create new or use classifier to
           select existing actors
      – Add Activity and flows




© 2012 Electric Power Research Institute, Inc. All rights reserved.   9
Integrations Requirements

   • Addition to the Activity diagram
      – Typically a hand-off from the business user to the
        architect/software
      – Object flow between two activities, spanning actors
        (swimlanes), between two systems
      – Add requirement (from common tools)
         • Right-click properties
         • Type dropdown: Add integration
      – Change node to identify service




© 2012 Electric Power Research Institute, Inc. All rights reserved.   10
Adding Sequence Diagram

   • Project Browser
      – Add diagram: sequence
      – Open workspace
      – Add Actors
      – Add flows (asynchronous)
      – Add returns (“Is Return” checkbox)




© 2012 Electric Power Research Institute, Inc. All rights reserved.   11
Manage Baselines

   • Corporate version required*
   • Internal “version control”
      – Can be used in conjunction with DBMS
   • Baseline can be added to each package
   • Complements import/export of XMI
      – Import XMI replaces everything in a target package
      – Can be compared to XMI to replace only desired
        changes




© 2012 Electric Power Research Institute, Inc. All rights reserved.   12
Enterprise Architecture: Version Control

      • Working Directory creation:
        – C:TestWorking
                      • In Windows Explorer, right-click on folder
                      • TortoiseSVN ►Create repository here…
             – Connecting to a remote repository:
                      • Using TortoiseSVN repo browse to repository
                        location:
                          – Enter credentials if prompted
                          – Right-click on folder in left-hand panel
                          – Select Export… to directory created above




© 2012 Electric Power Research Institute, Inc. All rights reserved.   13
Enterprise Architect: Version Control Settings

      • From main menu select
         – Project Version Control
           Version Control Settings…
         – Create a unique name
         – Select type: Subversion
         – Point to working directory
         – Subversion exe path should
           pre-populate
         – Click Save




© 2012 Electric Power Research Institute, Inc. All rights reserved.   14
Enterprise Architect: Adding a branch

      • Right-click on Package
      • Select Package Control
      • Select Add Branch to Version
        Control…
      • The key icon is added to each
        package under version control




© 2012 Electric Power Research Institute, Inc. All rights reserved.   15
CIM EA

   • Addin to Enterprise Architect
      – Easy to create
         • CIM UML profiles
         • Generate XSDs, RDFs
         • Uses CIM, MultiSpeak, and other models as reference
         • Used to design message payloads, etc
   • Other tools can create CIM profiles, e.g. CIMTool




© 2012 Electric Power Research Institute, Inc. All rights reserved.   16
Example UML Profile




© 2012 Electric Power Research Institute, Inc. All rights reserved.   17
Profile Design

   • CIMEA integrates into the EA user interface
   • Profiles built from references model, (CIM or other)
   • Right-click on reference model, select
      – Add In (“Extensions” in v9.x) CIM EA Create a CIM
        profile…
      – Give name…
      – Select classes, attributes, relationships




© 2012 Electric Power Research Institute, Inc. All rights reserved.   18
Generating artifacts

   • Using CIM EA add in facilitates quick artifacts (XSD, RDF)
     generation
      – Select Add In (“Extensions” in v9.x) CIM EA
        Generate Artifacts
      – Example CIM profile
         • Change the namespace
         • Change message – usually to just “m”
         • Change model location – this is used for sawsdl
           attributes
         • Generate – and open in your favorite XML editor



© 2012 Electric Power Research Institute, Inc. All rights reserved.   19
Recap

   • Learned how to go from
      – Use case to…
      – Business process to…
      – Identifying integration requirements…
      – Creating sequence diagrams…
   • Configuring version control
   • Design profile to…
      – Generate an artifact




© 2012 Electric Power Research Institute, Inc. All rights reserved.   20
Reference

   • EA Free Trial
           – http://www.sparxsystems.com/products/ea/trial.html
   • Subversion Documentation
           – http://svnbook.red-bean.com/en/1.5/index.html
   • EA Tutorials and Online Help
      – http://www.sparxsystems.com/resources/index.html
   • CIMEA
      – http://www.cimea.org




© 2012 Electric Power Research Institute, Inc. All rights reserved.   21
Together…Shaping the Future of Electricity




© 2012 Electric Power Research Institute, Inc. All rights reserved.   22

More Related Content

What's hot

Free Servers to Build Big Data System on: Bing’s Approach
Free Servers to Build Big Data System on: Bing’s ApproachFree Servers to Build Big Data System on: Bing’s Approach
Free Servers to Build Big Data System on: Bing’s Approach
DataWorks Summit
 

What's hot (20)

SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1
 
Scaling Security Workflows in Government Agencies
Scaling Security Workflows in Government AgenciesScaling Security Workflows in Government Agencies
Scaling Security Workflows in Government Agencies
 
Which Change Data Capture Strategy is Right for You?
Which Change Data Capture Strategy is Right for You?Which Change Data Capture Strategy is Right for You?
Which Change Data Capture Strategy is Right for You?
 
Realizing the Event Driven Enterprise
Realizing the Event Driven EnterpriseRealizing the Event Driven Enterprise
Realizing the Event Driven Enterprise
 
Understanding Distributed Databases Scalability
Understanding Distributed Databases ScalabilityUnderstanding Distributed Databases Scalability
Understanding Distributed Databases Scalability
 
Big data architecture
Big data architectureBig data architecture
Big data architecture
 
Real-time analysis using an in-memory data grid - Cloud Expo 2013
Real-time analysis using an in-memory data grid - Cloud Expo 2013Real-time analysis using an in-memory data grid - Cloud Expo 2013
Real-time analysis using an in-memory data grid - Cloud Expo 2013
 
Webinar: Overcoming the Storage Roadblock to Data Center Modernization
Webinar: Overcoming the Storage Roadblock to Data Center ModernizationWebinar: Overcoming the Storage Roadblock to Data Center Modernization
Webinar: Overcoming the Storage Roadblock to Data Center Modernization
 
Managing and Deploying High Performance Computing Clusters using Windows HPC ...
Managing and Deploying High Performance Computing Clusters using Windows HPC ...Managing and Deploying High Performance Computing Clusters using Windows HPC ...
Managing and Deploying High Performance Computing Clusters using Windows HPC ...
 
MySQL Visual Analysis and Scale-out Strategy definition - Webinar deck
MySQL Visual Analysis and Scale-out Strategy definition - Webinar deckMySQL Visual Analysis and Scale-out Strategy definition - Webinar deck
MySQL Visual Analysis and Scale-out Strategy definition - Webinar deck
 
VTU 6th Sem Elective CSE - Module 4 cloud computing
VTU 6th Sem Elective CSE - Module 4  cloud computingVTU 6th Sem Elective CSE - Module 4  cloud computing
VTU 6th Sem Elective CSE - Module 4 cloud computing
 
Building Data Warehouse in SQL Server
Building Data Warehouse in SQL ServerBuilding Data Warehouse in SQL Server
Building Data Warehouse in SQL Server
 
high performance databases
high performance databaseshigh performance databases
high performance databases
 
Free Servers to Build Big Data System on: Bing’s Approach
Free Servers to Build Big Data System on: Bing’s ApproachFree Servers to Build Big Data System on: Bing’s Approach
Free Servers to Build Big Data System on: Bing’s Approach
 
Cloud
CloudCloud
Cloud
 
Optimize Your Vertica Data Management Infrastructure
Optimize Your Vertica Data Management InfrastructureOptimize Your Vertica Data Management Infrastructure
Optimize Your Vertica Data Management Infrastructure
 
Important Terminology for the Users of Web-based Services
Important Terminology for the Users of Web-based ServicesImportant Terminology for the Users of Web-based Services
Important Terminology for the Users of Web-based Services
 
Big Data on Cloud Native Platform
Big Data on Cloud Native PlatformBig Data on Cloud Native Platform
Big Data on Cloud Native Platform
 
Big Data, Simple and Fast: Addressing the Shortcomings of Hadoop
Big Data, Simple and Fast: Addressing the Shortcomings of HadoopBig Data, Simple and Fast: Addressing the Shortcomings of Hadoop
Big Data, Simple and Fast: Addressing the Shortcomings of Hadoop
 
DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...
DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...
DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...
 

Viewers also liked

How to Design Services using UML and Enterprise Architect
How to Design Services using UML and Enterprise ArchitectHow to Design Services using UML and Enterprise Architect
How to Design Services using UML and Enterprise Architect
Edmund Groepl
 

Viewers also liked (10)

Capturing System Behaviour
Capturing System BehaviourCapturing System Behaviour
Capturing System Behaviour
 
How to Design Services using UML and Enterprise Architect
How to Design Services using UML and Enterprise ArchitectHow to Design Services using UML and Enterprise Architect
How to Design Services using UML and Enterprise Architect
 
Six Practical, Tactical Tips for the Enterprise Architect
Six Practical, Tactical Tips for the Enterprise ArchitectSix Practical, Tactical Tips for the Enterprise Architect
Six Practical, Tactical Tips for the Enterprise Architect
 
Data Virtualization Reference Architectures: Correctly Architecting your Solu...
Data Virtualization Reference Architectures: Correctly Architecting your Solu...Data Virtualization Reference Architectures: Correctly Architecting your Solu...
Data Virtualization Reference Architectures: Correctly Architecting your Solu...
 
Career Development for Architects
Career Development for ArchitectsCareer Development for Architects
Career Development for Architects
 
Wanna Be An Architect?
Wanna Be An  Architect?Wanna Be An  Architect?
Wanna Be An Architect?
 
Use Case Modeling
Use Case ModelingUse Case Modeling
Use Case Modeling
 
From Use case to User Story
From Use case to User StoryFrom Use case to User Story
From Use case to User Story
 
Reforma y contrarreforma religiosa
Reforma y contrarreforma religiosaReforma y contrarreforma religiosa
Reforma y contrarreforma religiosa
 
Real world continuous delivery
Real world continuous deliveryReal world continuous delivery
Real world continuous delivery
 

Similar to Learning UML with Enterprise Architect

Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
ghodgkinson
 

Similar to Learning UML with Enterprise Architect (20)

Platform Engineering for the Modern Oracle World
Platform Engineering for the Modern Oracle WorldPlatform Engineering for the Modern Oracle World
Platform Engineering for the Modern Oracle World
 
SPCA2013 - Building a SharePoint Factory
SPCA2013 - Building a SharePoint FactorySPCA2013 - Building a SharePoint Factory
SPCA2013 - Building a SharePoint Factory
 
Oracle ADF Architecture TV - Design - Advanced ADF Task Flow Concepts
Oracle ADF Architecture TV - Design - Advanced ADF Task Flow ConceptsOracle ADF Architecture TV - Design - Advanced ADF Task Flow Concepts
Oracle ADF Architecture TV - Design - Advanced ADF Task Flow Concepts
 
Custom Development with Novell Teaming
Custom Development with Novell TeamingCustom Development with Novell Teaming
Custom Development with Novell Teaming
 
Custom Development with Novell Teaming
Custom Development with Novell TeamingCustom Development with Novell Teaming
Custom Development with Novell Teaming
 
Custom Development with Novell Teaming
Custom Development with Novell TeamingCustom Development with Novell Teaming
Custom Development with Novell Teaming
 
Custom Development with Novell Teaming
Custom Development with Novell TeamingCustom Development with Novell Teaming
Custom Development with Novell Teaming
 
Software Archaeology
Software ArchaeologySoftware Archaeology
Software Archaeology
 
(ATS4-DEV01) Accelrys Draw Enterprise Edition is more than an end user applic...
(ATS4-DEV01) Accelrys Draw Enterprise Edition is more than an end user applic...(ATS4-DEV01) Accelrys Draw Enterprise Edition is more than an end user applic...
(ATS4-DEV01) Accelrys Draw Enterprise Edition is more than an end user applic...
 
XPages: No Experience Needed
XPages: No Experience NeededXPages: No Experience Needed
XPages: No Experience Needed
 
toolkit
toolkittoolkit
toolkit
 
Developer want change Ops want control - devops
Developer want change Ops want control - devopsDeveloper want change Ops want control - devops
Developer want change Ops want control - devops
 
Building a Modern Enterprise SOA at LinkedIn
Building a Modern Enterprise SOA at LinkedInBuilding a Modern Enterprise SOA at LinkedIn
Building a Modern Enterprise SOA at LinkedIn
 
Twelve Factor - Designing for Change
Twelve Factor - Designing for ChangeTwelve Factor - Designing for Change
Twelve Factor - Designing for Change
 
SAP Teched 2012 Session Tec3438 Automate IaaS SAP deployments
SAP Teched 2012 Session Tec3438 Automate IaaS SAP deploymentsSAP Teched 2012 Session Tec3438 Automate IaaS SAP deployments
SAP Teched 2012 Session Tec3438 Automate IaaS SAP deployments
 
Automating Infrastructure as a Service Deployments and monitoring – TEC213
Automating Infrastructure as a Service Deployments and monitoring – TEC213Automating Infrastructure as a Service Deployments and monitoring – TEC213
Automating Infrastructure as a Service Deployments and monitoring – TEC213
 
The Rocky Cloud Road
The Rocky Cloud RoadThe Rocky Cloud Road
The Rocky Cloud Road
 
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
 
Accelerating time to delivery: Modernizing Application Development
Accelerating time to delivery: Modernizing Application DevelopmentAccelerating time to delivery: Modernizing Application Development
Accelerating time to delivery: Modernizing Application Development
 
Command Central Overview
Command Central OverviewCommand Central Overview
Command Central Overview
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

Learning UML with Enterprise Architect

  • 1. Learning UML: Use Case Development and CIM Profiling EPRI Power Quality and Smart Distribution 2012 Conference and Exhibition June 4, 2012 Gerald R. Gray, PhD Sr. Project Manager Enterprise Architecture | Utility Enterprise Integration
  • 2. Disclaimer • Not a celebrity spokes model • Not a SparxSystems representative © 2012 Electric Power Research Institute, Inc. All rights reserved. 2
  • 3. Course Outline • EA Strengths/Weaknesses • Pre-requisites • Creating common use case related diagrams – Used by UCAIUG, CIMug, OpenSG, MultiSpeak… • Model Baselines • Versioning Setup & Configuration • CIM Profiling – CIMEA © 2012 Electric Power Research Institute, Inc. All rights reserved. 3
  • 4. Enterprise Architect: Uses and Benefits • Supports IT system, software, and business processes • Model, design, build, and test software • Uses standard Unified Modeling Language (UML) • Central repository for process and IT system information • Interfaces with version control e.g. Subversion • Fast, built-in or custom document generation & HTML © 2012 Electric Power Research Institute, Inc. All rights reserved. 4
  • 5. Enterprise Architect: Weaknesses • May be a poor choice for complex system diagrams – Visio is “prettier” – PowerPoint also an option • Complex User Interface – Extensive feature set may lead to confusion – Time saving “tricks” difficult to learn • Diagrams not useful if team doesn’t see value – UML/BPM may be used currently at their site – Some users intimidated by tool © 2012 Electric Power Research Institute, Inc. All rights reserved. 5
  • 6. Installation • SparxSystems Enterprise Architect – http://www.sparxsystems.com.au/ • $135 - $699 depending on version • Enterprise Architect (v7.5 or greater) • v9.2 recently released • Subversion command-line client • http://www.collab.net/downloads/subversion/ • TortoiseSVN (Windows) • http://tortoisesvn.net/downloads © 2012 Electric Power Research Institute, Inc. All rights reserved. 6
  • 7. Common UCAIUG / CIMUG Diagrams • Top Down Approach – Use Case – Business Process (Activity) • Integration Requirements – Sequence Diagram – Profile • Let’s look at some examples! © 2012 Electric Power Research Institute, Inc. All rights reserved. 7
  • 8. Adding a Use Case • Project Browser – New Package – grouping of diagrams – Add new diagram: Use Case – In the workspace add • Actors, cases, associations – Save changes, check-in package © 2012 Electric Power Research Institute, Inc. All rights reserved. 8
  • 9. Adding a Business Process • Project Browser – Add new diagram: Activity – Open workspace, right-click for Swimlanes and Matrix… – Add swimlanes • Create new or use classifier to select existing actors – Add Activity and flows © 2012 Electric Power Research Institute, Inc. All rights reserved. 9
  • 10. Integrations Requirements • Addition to the Activity diagram – Typically a hand-off from the business user to the architect/software – Object flow between two activities, spanning actors (swimlanes), between two systems – Add requirement (from common tools) • Right-click properties • Type dropdown: Add integration – Change node to identify service © 2012 Electric Power Research Institute, Inc. All rights reserved. 10
  • 11. Adding Sequence Diagram • Project Browser – Add diagram: sequence – Open workspace – Add Actors – Add flows (asynchronous) – Add returns (“Is Return” checkbox) © 2012 Electric Power Research Institute, Inc. All rights reserved. 11
  • 12. Manage Baselines • Corporate version required* • Internal “version control” – Can be used in conjunction with DBMS • Baseline can be added to each package • Complements import/export of XMI – Import XMI replaces everything in a target package – Can be compared to XMI to replace only desired changes © 2012 Electric Power Research Institute, Inc. All rights reserved. 12
  • 13. Enterprise Architecture: Version Control • Working Directory creation: – C:TestWorking • In Windows Explorer, right-click on folder • TortoiseSVN ►Create repository here… – Connecting to a remote repository: • Using TortoiseSVN repo browse to repository location: – Enter credentials if prompted – Right-click on folder in left-hand panel – Select Export… to directory created above © 2012 Electric Power Research Institute, Inc. All rights reserved. 13
  • 14. Enterprise Architect: Version Control Settings • From main menu select – Project Version Control Version Control Settings… – Create a unique name – Select type: Subversion – Point to working directory – Subversion exe path should pre-populate – Click Save © 2012 Electric Power Research Institute, Inc. All rights reserved. 14
  • 15. Enterprise Architect: Adding a branch • Right-click on Package • Select Package Control • Select Add Branch to Version Control… • The key icon is added to each package under version control © 2012 Electric Power Research Institute, Inc. All rights reserved. 15
  • 16. CIM EA • Addin to Enterprise Architect – Easy to create • CIM UML profiles • Generate XSDs, RDFs • Uses CIM, MultiSpeak, and other models as reference • Used to design message payloads, etc • Other tools can create CIM profiles, e.g. CIMTool © 2012 Electric Power Research Institute, Inc. All rights reserved. 16
  • 17. Example UML Profile © 2012 Electric Power Research Institute, Inc. All rights reserved. 17
  • 18. Profile Design • CIMEA integrates into the EA user interface • Profiles built from references model, (CIM or other) • Right-click on reference model, select – Add In (“Extensions” in v9.x) CIM EA Create a CIM profile… – Give name… – Select classes, attributes, relationships © 2012 Electric Power Research Institute, Inc. All rights reserved. 18
  • 19. Generating artifacts • Using CIM EA add in facilitates quick artifacts (XSD, RDF) generation – Select Add In (“Extensions” in v9.x) CIM EA Generate Artifacts – Example CIM profile • Change the namespace • Change message – usually to just “m” • Change model location – this is used for sawsdl attributes • Generate – and open in your favorite XML editor © 2012 Electric Power Research Institute, Inc. All rights reserved. 19
  • 20. Recap • Learned how to go from – Use case to… – Business process to… – Identifying integration requirements… – Creating sequence diagrams… • Configuring version control • Design profile to… – Generate an artifact © 2012 Electric Power Research Institute, Inc. All rights reserved. 20
  • 21. Reference • EA Free Trial – http://www.sparxsystems.com/products/ea/trial.html • Subversion Documentation – http://svnbook.red-bean.com/en/1.5/index.html • EA Tutorials and Online Help – http://www.sparxsystems.com/resources/index.html • CIMEA – http://www.cimea.org © 2012 Electric Power Research Institute, Inc. All rights reserved. 21
  • 22. Together…Shaping the Future of Electricity © 2012 Electric Power Research Institute, Inc. All rights reserved. 22