CIM 2 Modelica Factory Automated Equation-Based Cyber-Physical Power System Modelica Model Generation and Time-Domain Simulation from CIM Francisco Gomez 1 , Prof. Luigi Vanfretti 1,2 , and Svein H. Olsen 2 [email protected] , [email protected]Electric Power Systems Dept. KTH Stockholm, Sweden [email protected][email protected]Research and Development Division Statnett SF Oslo, Norway
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
CIM 2 Modelica FactoryAutomated Equation-Based Cyber-Physical Power System Modelica
Model Generation and Time-Domain Simulation from CIM
Francisco Gomez1, Prof. Luigi Vanfretti1,2, and Svein H. Olsen2
• This work has been funded in part by the EU funded FP7 iTesla project: http://www.itesla-project.eu/ and Statnett SF, the Norwegian power system operator.
• Work related to the iTesla Modelica power systems library presented here is a result of the collaboration between RTE (France), AIA (Spain) and KTH (Sweden) within the EU funded FP7 iTesla project: http://www.itesla-project.eu/
• Special thanks for ‘special training’ and support from
• Prof. Fritzson and his team at Linköping University
• Prof. Berhard Bachmann and Lennart Ochel, FH Bielefeld
• Background & Motivation– Modelica– CIM– CIM for Dynamics
• Modelica – Language Description– MetaModelica– CIM/UML to Modelica
supporting transformation from CIM, implementing tools for either translating from CIM to Modelica models
• Development of models of cyber-physical power systems components, communication network components, and other components from other domains
Application• iTESLA: Innovative Tools for Electrical
System Security within Large Areas• CIM provides standard format for power
systems data • Use of data from TSO
– Description of data equipment, power systems topology and measurements for model validation
Motivation
Modelica
• Modelica is a non-proprietary, object-oriented, equation based language to conveniently model complex physical systems
• Suitable modeling language for standardization and exchange of models
• Modelica tools, commercial and free of charge
• Electric power steering and controller model
[1] Andreas Deuring, Johannes Gerl, Harald Wilhelm“Multi-Domain Vehicle Dynamics Simulation in Dymola”,Modelica Conference, Dresden, 2011
• Thermodinamic Network of the ICE model
[2] L. Morawietz, S. Risse, H. Zellbeck, H. Reuss, T. Christ “Modeling an automotive power train and electrical power supply for HiL applications using Modelica”,Modelica Conference, Hamburg, 2005TU Dresden, University of Stuttgart, BMW Group, Germany.
Background
Common Information Model
• Conceived for information exchange: power systems topology, equipment, measurements
• Using UML representation to design a structured data model: Semantic transformation from real world to a model
• Standardization of the model diagrams for cyber-physical components
• Modeling language based on equations, allow specification of mathematical models
• Typed Declarative Equation-based Textual Language
• Decoupling the model from the solver
model GENROUparameter Complex It=conj(S/VT) “Some comments
here“; parameter Complex Is = It + VT/Zs; parameter Complex fpp = Zs*Is; parameter Real ang_P=arg(fpp); parameter Real ang_I=arg(It); parameter Real ang_PI=ang_P-ang_I; parameter Real psi = 'abs'(fpp);equation
• The library makes available standardized power systems models usually available in power system tools only accessible through proprietary (and expensive) licenses
Modelica
CIM / UML to Modelica
• Modelica provides data definition and compilers for equation based modeling
• ModelicaML is a tool to create UML definition for Modelica models
• Design of classes, components and models using a data model representation:• Definition of start values for
components and definition of mathematical equations
• Code generation creates classes and models with relation between classes
Modelica
CIM / UML to Modelica
• Semantic transformation for automatic simulation directly from CIM definition
Modelica
• Background & Motivation– Modelica– CIM– CIM for Dynamics
• Modelica – Language Description– MetaModelica– CIM/UML to Modelica