CIM-Compliant Model-to-Model Transformation

Similar documents
CIM 2 Modelica Factory

Automated Model Transformation for Cyber- Physical Power System Models

MDSE USE CASES. Chapter #3

A Tool to ease Modelica-based Dynamic Power System Simulations

USING GENERIC OBJECT INHERITANCE

Introduction to MDE and Model Transformation

This is the published version of a paper presented at IEEE PES General Meeting 2013.

Modelling in Enterprise Architecture. MSc Business Information Systems

OpenIPSL Tutorial. Assoc. Prof. Luigi Vanfretti. A Modelica Library for Power Systems Simulation.

Towards Unified System Modeling with the ModelicaML UML Profile

INTRODUCTION. Chapter #1

A Generic Approach for Compliance Assessment of Interoperability Artifacts

MDSE PRINCIPLES. Chapter #2

Christian Doppler Laboratory

ModelicaML: Getting Started Issue April 2012

PisaTel Meeting Roma, 29 novembre 2007

Second OMG Workshop on Web Services Modeling. Easy Development of Scalable Web Services Based on Model-Driven Process Management

Computation Independent Model (CIM): Platform Independent Model (PIM): Platform Specific Model (PSM): Implementation Specific Model (ISM):

Improving Military Information Technology Through Common Conceptual Models

On the link between Architectural Description Models and Modelica Analyses Models

An integrated framework for automated simulation of SysML models using DEVS

Almas, M., Vanfretti, L. (2014) Open Source SCADA Implementation and PMU Integration for Power System Monitoring and Control Applications.

COrDeT Cannes : Use of domain engineering process to develop reusable architectures and building-blocks

An MDD Process for IEC based Industrial Automation Systems

CIM for Dynamic 2010 CIM Workshop

Automatic generation of SysML diagrams from VHDL code

Extensible Modeling Languages

An Interdisciplinary Collaboration Platform for Smart Grid Research

CIM CGMES Applications in research projects for DER Sebastian Wende von Berg Fraunhofer IWES Kassel, Königstor 59

OMG Systems Modeling Language Tutorial May, 2012

A Modelica Power System Component Library for Model Validation and Parameter Identification

Reverse Engineering Process for Extracting Views from Domain Ontology

A Proposal for Verified Code Generation from Modelica

Multi-Agent Multi-Model Simulation of Smart Grids in the MS4SG Project

Aspects of Power System Modeling, Initialization and Simulation using the Modelica Language

WBEM Web-based Enterprise Management

Modeling Kernel Language (MKL)

EXPRESSING REQUIREMENTS IN MODELICA

Design Patterns Application with MDE

Applying Modelica and FMI Technologies for Power System Model Validation in the itesla Project

1 Developments in the Field of Control Engineering

Metamodeling with Metamodels. Using. UML/MOF including OCL

Developing Dependable Automotive Embedded Systems using the EAST-ADL

CIM University: Using Enterprise Architect Schema Composer

C I R E D 22 nd International Conference on Electricity Distribution Stockholm, June 2013

The Model Driven Architecture. Dennis Wagelaar Viviane Jonckers Software Languages Lab

Towards a Unified Component & Deployment Model for Distributed Real Time Systems

challenges in domain-specific modeling raphaël mannadiar august 27, 2009

INF5120 and INF9120 Modelbased System development

Open Research Online The Open University s repository of research publications and other research outputs

Modeling and Simulation for Heterogeneous systems

An introduction to MOF MetaObject Facility.

Enhancing the RAMSAS method for Systems Reliability Analysis through Modelica

USING PAPYRUS IN A DESIGN SPACE EXPLORATION TOOLCHAIN CURRENT DEVELOPMENTS AT FLANDERS MAKE

AN OBJECT-ORIENTED FRAMEWORK FOR THE DEVELOPMENT OF DISTRIBUTED INDUSTRIAL PROCESS MEASUREMENT AND CONTROL SYSTEMS

Variations Changes to the Network Model. Kendall Demaree - Alstom Grid June 17, 2014 Oslo, Norway

DIGITAL SUBSTATION IEC ENTSO-E ACTION PLAN TO IMPROVE IEC DATA MODELS AND ENGINEERING PROCESS

Integrity 10. Curriculum Guide

Meta-Model Guided Error Correction for UML Models

From Objects to Aspects: Assessing Modularity Evolution

Model driven Engineering & Model driven Architecture

MyCCM. A Component Based Approach for Real-Time & Critical Systems. Olivier Hachet Thales Communications

MDA and Integration of Legacy Systems: An Industrial Case Study

Model-based System Engineering for Fault Tree Generation and Analysis

M B S E. Model Transformations in Model-Based Systems Engineering. Chris Paredis Associate Director. Model-Based Systems Engineering Center

raceability Support in OpenModelica Using Open Services for Lifecycle Collaboration (OSLC)

Towards Generic Models

Modeling Requirements, Architectures, Behaviour...

An Overview of the SysML-Modelica Transformation Specification

Advanced Modelica Tutorial Exercises

Future Directions for SysML v2 INCOSE IW MBSE Workshop January 28, 2017

E-Commerce Integration Meta-Framework General Methodology (ECIMF-GM) CEN/ISSS/WS-EC/ECIMF. Draft, version 0.2 July 11, 2001

3rd Lecture Languages for information modeling

Towards a Model-Driven IEC Based Development Process in Industrial Automation*

Architecture Modeling in embedded systems

A Software Development Toolkit for Real-Time Synchrophasor Applications

An Alternative CIM Modeling Approach using JSON-LD

CHAPTER 5 CO:-Sketch component diagram using basic notations 5.1 Component Diagram (4M) Sample Component Diagram 5.2 Deployment Diagram (8M)

A Domain-Specific Language for Modeling Web User Interactions with a Model Driven Approach

Model Driven Data Interoperability (MDMI)

9LV Mk4. Use of DDS for system integration. June, 2007 Thomas Jungefeldt. Saab Systems

A UML 2 Profile for Variability Models and their Dependency to Business Processes

Language engineering and Domain Specific Languages

SysML Past, Present, and Future. J.D. Baker Sparx Systems Ambassador Sparx Systems Pty Ltd

Information systems modeling. Tomasz Kubik

Composability Test of BOM based models using Petri Nets

ICT standards for smart grids: IEC 61850, CIM and their implementation in the ERIGrid project

A Grid-Enabled Component Container for CORBA Lightweight Components

A Framework for the Implementation of Industrial Automation Systems Based on PLCs

Automatic Test Markup Language <ATML/> Sept 28, 2004

Object-Oriented Design

Enterprise Architect. User Guide Series. SysML Models. Author: Sparx Systems. Date: 30/06/2017. Version: 1.0 CREATED WITH

MODEL-DRIVEN QUANTITATIVE PERFORMANCE ANALYSIS OF UPDM-BASED ENTERPRISE ARCHITECTURE

Science of Computer Programming. Aspect-oriented model-driven skeleton code generation: A graph-based transformation approach

Integrating Simulation Capabilities in SysML using DEVS

Programming II. Modularity 2017/18

Plan. Language engineering and Domain Specific Languages. Language designer defines syntax. How to define language

METADATA INTERCHANGE IN SERVICE BASED ARCHITECTURE

Best Practices for Model-Based Systems Engineering

OMG Specifications for Enterprise Interoperability

Transcription:

CIM-Compliant Model-to-Model Transformation For Modelica Models Generation and Power Systems Dynamic Simulations Francisco J. Gómez 1, Prof. Luigi Vanfretti 1 Svein H. Olsen 2 fragom@kth.se, luigiv@kth.se Electric Power Systems Dept. KTH Stockholm, Sweden svein.harald.olsen@statnett.no Research and Development Division Statnett SF Oslo, Norway MODPROD, 8 TH February 2017, Linköping

Outline Introduction & Motivation Background on MDSE & Model Transformations M2T, M2M UML & SysML Workflow M2M Research Focus on MDSE Reverse Engineering Binding Semantics: Mapping Meta-Model Power Network SysML Meta-Model Conclusions

Exchange of information Network planning, power systems operations, demands high degree of coordination and consistency in data exchanges, Significantly streamlined through a common data exchange standard The exchange of dynamic models provides power system data related to the parameters of an associated block diagram Harmonization of the different information modeling and physical modeling computer languages attractive to support power system model exchange and dynamic applications 4

Common Information Model IEC CIM Standard based on UML to represent semantic information of a real power system. OOP principles, defines all the basic components and topology of the power network ENTSO-E adopts different IEC CIM standards to conform the Common Grid Model Exchange Standard (CGMES) 5

The OpenIPSL Power System Library OpenIPSL Modelica library for modeling power grid components. Model components Tested and validated against reference software tools Sample test networks (IEEE models, and others) The library makes available standardized and de facto standard power systems models usually available in power system tools only accessible through proprietary (and expensive) licenses 6

Outline Background on MDSE & Model Transformations M2T, M2M UML & SysML M. Brambilla, J. Cabot, and M. Wimmer, Model-driven Software Engineering (MDSE) in Practice, Morgan & Claypool, USA, 2012, pp. 9-11, ISBN: 978-1-608-45882-0

Model transformation M2T Model-2-Text - parsers or data file format converters/filters. Input File Model is implemented and processed using the same programming language used to produce the computation core of the analysis tool

Model transformation M2T Model-2-Text - code generation, model-level to code level Adopting the CIM standards, Implementation software interfaces to perform model-to-text transformations (M2T) so to adopt the modeling semantics from CIM

Model transformation M2M Model-2-Model transformation processes source models to generate target models, Endogenous (in-place) transformation defined within the same modeling language Exogenous (out-place) transformation between different modeling languages Mappings model gensal parameter Real wbase = 2 * pi * 50 "system base speed"; parameter Complex Epqp = fpp + a * It; parameter Real delta0 = arg(epqp); parameter Real Pm0 = p0 + (id0 * id0 + iq0 * iq0) * Ra; Real delta "rotor angle"; Real w "machine speed deviation, p.u."; initial equation delta = delta0; w = 0; equation der(w) = ((Pm0 - D * w) / (w + 1) - Te) / (2 * H); der(delta) = wbase * w; end gensal;

UML & CIM UML: set of model elements representing an analysis of the properties and behavior of a system. IEC 61970-301 CIM Base UML package containing static information IEC 61970-457 CIM for Dynamics Profile, UML package containing dynamic information Limited description of the dynamics information doc SynchronousGeneratorMechanicalEquation

SysML & Modelica SysML: Add design principles such as requirements modeling and reuse of UML class diagrams as block diagrams supporting parametric modeling interoperability Document and design concept model that we want to implement Modelica language offers mechanism to implement SysML models

Outline Workflow M2M Research Focus on MDSE Reverse Engineering Binding Semantics: Mapping Meta-Model Power Network SysML Meta-Model F. J. Gómez, L. Vanfretti and S. H. Olsen, Binding CIM and Modelica for consistent power system dynamic model exchange and simulation, 2015 IEEE Power & Energy Society General Meeting, Denver, CO, 2015, pp. 1-5. doi: 10.1109/PESGM.2015.7286434

Reverse engineering CIM 2 Modelica Factory XML for component mapping, JAVA code implementation Apply Model-Driven Software Engineering principles: Let s formalized this solution! Mappings Model Transformation SysML CIM Semantics UML Modelica language

Model-2-Model Transformation Design of a M2M workflow to generate power system Modelica models generation from CIM Automatically generate target Modelica models from source CIM models General workflow, represent key actions to implement

Binding Semantics: Mapping meta-model Identification of relevant attributes from CIM and OpenIPSL Each OpenIPSL component has mapping rules Class Structure / Meta-Model to populate CIM values JAXB (XML/JAVA parser)

Binding Semantics: Mapping Meta-Model Class to map the connections between CIM classes Component s mapping: Specific class for each component and general classes for common attributes

Power Network SysML Meta-Model Modelica language stereotypes for models and components. Model for a high-level power system model Class for component-level power system model Connector Identification of relevant keywords to use for parameter, variable and object declaration Meta-model, to instantiate component objects

Power Network SysML Meta-Model One class for each stereotype with the relevant keywords for parameter declaration Define the declaration of the component s variables 11

Power Network SysML Meta-Model Class implementation for the connections Class implementation for the high-level models. Store the instances of library components that compose the power system models 11

Model-2-Model Transformation 9-Bus System SMIB 11

Outline Conclusions

Conclusions Workflow that defines a modeling process that takes advantage of CIM semantics, UML/SysML and Modelica languages. Defines a method to complement CIM Dynamics profile with equation-based component model definitions for physical modeling behavior, Using the Modelica language for supporting the CIM, for dynamic simulation analysis. Defines of a scalable, modular and reusable mapping between different modeling semantics for M2M transformation. 12

Thank you! MODPROD, 8 TH February 2017, Linköping