SlideShare ist ein Scribd-Unternehmen logo
1 von 19
CIM 2 Modelica Factory
Automated 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
luigiv@kth.se , fragom@kth.se
Electric Power Systems Dept.
KTH
Stockholm, Sweden
Luigi.Vanfretti@statnett.no
svein.harald.olsen@statnett.no
Research and Development Division
Statnett SF
Oslo, Norway
Overview
Acknowledgments
• 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
• CIM 2 Modelica
– Concept Design
– Mapping
– Simulation Engine
Research
• Development of software architecture
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,
2005
TU 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
• Generators
• Turbine Governors
• Capacitors
• Protections
• Measurements
• IEC61970 provides standard data
model for power systems components
Background
CIM for Dynamics
• Dynamic models used in the industry
today use application specific data
format and are embedded within the
solver (integration routine)
• No information on how the model is
implemented (i.e. actual equations
used)
• Dynamic models can be represented
in CIM, and exchanged among
utilities
• Need to extend CIM to support more
dynamics models
• Consider extend to support exchange of
the model representation, not only of
parameters
Background
doc Sy nchr onousGener ator MechanicalEquation
Extension for CIM
Dynamics
• Automatic model transformation
from CIM to a well defined
(equation based) language
• Information exchange,
parameters and equations with
CIM and Modelica
• The benefit / role of CIM:
• Modelling of the network are
done separate from the analytic
• Existing Steady-State Solver
Engine (SSSE) can be used to
initialize the transient study
Background
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;
Overview
• Background & Motivation
– Modelica
– CIM
– CIM for Dynamics
• Modelica
– Language Description
– MetaModelica
– CIM/UML to Modelica
• CIM 2 Modelica
– Concept Design
– Mapping
– Simulation Engine
Modeling Language
• Object-Oriented Language with
class concept
• Reuse of classes
• Reuse of components
• Scalable and Modular models
• Multi-Domain modeling
• Visual Acausal Hierarchical
Component Modeling
• Physical structure
• No specification of data flow
direction load
EM
DC
G
R L
Electrical
Mechanics
model DCMotor
Modelica.Electrical.Analog.Basic.Resistor r1(R = 10);
Modelica.Electrical.Analog.Basic.Inductor i1;
Modelica.Electrical.Analog.Basic.EMF emf1;
Modelica.Mechanics.Rotational.Inertia load;
Modelica.Electrical.Analog.Basic.Ground g;
Modelica.Electrical.Analog.Sources.ConstantVoltage v;
equation
connect(DC.p,R.n);
connect(R.p,L.n);
connect(L.p,EM.n);
connect(EM.p,DC.n);
connect(DC.n,G.p);
connect(EM.flange_b,load.flange_a);
end DCMotor;
Modelica
Modeling Language
• Modeling language based on
equations, allow specification
of mathematical models
• Typed Declarative Equation-
based Textual Language
• Decoupling the model from the
solver
model GENROU
parameter 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
der(Epq) = (1/Tpd0)*(Efd0 -XadIfd);
der(Epd) = (1/Tpq0)*(-1)*(XaqIlq);
…
anglev =atan2(p.vi, p.vr);
Vt = sqrt(p.vr^2 + p.vi^2);
anglei =atan2(p.ii, p.ir);
I = sqrt(p.ii^2 + p.ir^2);
…
end GENROU;
Variable
declaration
DAE Equations
Modelica
Power Systems Library in
Modelica
• The FP7 iTESLA project develops
a high level library for modeling
power grid components
• Generators,
• Governors,
• Controls,
• Branches,
• Loads,
• Buses,
• Events
• 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
• CIM 2 Modelica
– Concept Design
– Mapping
– Simulation Engine
Overview
Process flow design
• Automatic generation of Modelica code from
CIM/UML definition
• Manual design of CIM/UML definition and
Mapping
• Loading CIM/XML and Mapping
• Semantic transformation into Modelica code:
– Set initial values from load flow solution
– Set connection between classes
CIM 2 Modelica
CIM 2 Modelica Mapping
• Relation between CIM classes
and Power system library classes
• CIM Attributes and values ->
Modelica Variables and starting
values
• CIM relations between classes ->
Modelica connection between
components
or
• CIM relations between classes ->
Use of Modelica classes as objects
CIM 2 Modelica
Modelica Simulation Engine
(architecture)
Simulation Engine
• Open-source software for
cyber-physical system
simulation
• Plug-in different compilers and
solvers
• Enhancement to CIM:
• Integration with PMU
measurements or simulation ->
Harmonization with HDFS is an
alternative
• Include the Modelica library
code as part of the CIM standard
CIM 2 Modelica
Properties
Results
HDF5
JMOMC
PYTHON
JAVA
Dymola
Thank you! Questions?
luigiv@kth.se , fragom@kth.se
Electric Power Systems Dept.
KTH
Stockholm, Sweden
Luigi.Vanfretti@statnett.no
svein.harald.olsen@statnett.no
Research and Development Division
Statnett SF
Oslo, Norway

Weitere ähnliche Inhalte

Was ist angesagt?

Naidu_Sumit_Resume
Naidu_Sumit_ResumeNaidu_Sumit_Resume
Naidu_Sumit_Resume
S R Naidu
 
VLSI Implementation of Vedic Multiplier Using Urdhva– Tiryakbhyam Sutra in VH...
VLSI Implementation of Vedic Multiplier Using Urdhva– Tiryakbhyam Sutra in VH...VLSI Implementation of Vedic Multiplier Using Urdhva– Tiryakbhyam Sutra in VH...
VLSI Implementation of Vedic Multiplier Using Urdhva– Tiryakbhyam Sutra in VH...
iosrjce
 
Signals and systems with matlab computing and simulink modeling
Signals and systems with matlab computing and simulink modelingSignals and systems with matlab computing and simulink modeling
Signals and systems with matlab computing and simulink modeling
votasugs567
 
Contingency Ranking for Voltage Stability in Power System
Contingency Ranking for Voltage Stability in Power SystemContingency Ranking for Voltage Stability in Power System
Contingency Ranking for Voltage Stability in Power System
GovindRai14
 

Was ist angesagt? (13)

Naidu_Sumit_Resume
Naidu_Sumit_ResumeNaidu_Sumit_Resume
Naidu_Sumit_Resume
 
IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLAIMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
 
Implementation and Performance Analysis of a Vedic Multiplier Using Tanner ED...
Implementation and Performance Analysis of a Vedic Multiplier Using Tanner ED...Implementation and Performance Analysis of a Vedic Multiplier Using Tanner ED...
Implementation and Performance Analysis of a Vedic Multiplier Using Tanner ED...
 
Integration of a Railway Electromagnetic Interference Calculation Tool in ArcGIS
Integration of a Railway Electromagnetic Interference Calculation Tool in ArcGISIntegration of a Railway Electromagnetic Interference Calculation Tool in ArcGIS
Integration of a Railway Electromagnetic Interference Calculation Tool in ArcGIS
 
Binding CIM and Modelica for Consistent Power System Dynamic Model Exchange a...
Binding CIM and Modelica for Consistent Power System Dynamic Model Exchange a...Binding CIM and Modelica for Consistent Power System Dynamic Model Exchange a...
Binding CIM and Modelica for Consistent Power System Dynamic Model Exchange a...
 
Power factor and power in AC circuit
Power factor and power in AC circuitPower factor and power in AC circuit
Power factor and power in AC circuit
 
VEDIC MULTIPLIER FOR "FPGA"
VEDIC MULTIPLIER FOR "FPGA"VEDIC MULTIPLIER FOR "FPGA"
VEDIC MULTIPLIER FOR "FPGA"
 
High-Speed and Energy-Efficient MAC Design using Vedic Multiplier and Carry S...
High-Speed and Energy-Efficient MAC Design using Vedic Multiplier and Carry S...High-Speed and Energy-Efficient MAC Design using Vedic Multiplier and Carry S...
High-Speed and Energy-Efficient MAC Design using Vedic Multiplier and Carry S...
 
VLSI Implementation of Vedic Multiplier Using Urdhva– Tiryakbhyam Sutra in VH...
VLSI Implementation of Vedic Multiplier Using Urdhva– Tiryakbhyam Sutra in VH...VLSI Implementation of Vedic Multiplier Using Urdhva– Tiryakbhyam Sutra in VH...
VLSI Implementation of Vedic Multiplier Using Urdhva– Tiryakbhyam Sutra in VH...
 
Signals and systems with matlab computing and simulink modeling
Signals and systems with matlab computing and simulink modelingSignals and systems with matlab computing and simulink modeling
Signals and systems with matlab computing and simulink modeling
 
Vedic multiplier
Vedic multiplierVedic multiplier
Vedic multiplier
 
Contingency Ranking for Voltage Stability in Power System
Contingency Ranking for Voltage Stability in Power SystemContingency Ranking for Voltage Stability in Power System
Contingency Ranking for Voltage Stability in Power System
 
Review On Design Of Low Power Multiply And Accumulate Unit Using Baugh-Wooley...
Review On Design Of Low Power Multiply And Accumulate Unit Using Baugh-Wooley...Review On Design Of Low Power Multiply And Accumulate Unit Using Baugh-Wooley...
Review On Design Of Low Power Multiply And Accumulate Unit Using Baugh-Wooley...
 

Ähnlich wie CIM 2 Modelica

Model Integration for Systems Engineering
Model Integration for Systems EngineeringModel Integration for Systems Engineering
Model Integration for Systems Engineering
Victor Agroskin
 
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Luigi Vanfretti
 
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
Francisco José Gómez López
 
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Luigi Vanfretti
 
Thermal Equipment Modeling in Modelica
Thermal Equipment Modeling in ModelicaThermal Equipment Modeling in Modelica
Thermal Equipment Modeling in Modelica
Kaustubh Phalak
 

Ähnlich wie CIM 2 Modelica (20)

Modelica-OpenModelica-slides para aprender.pdf
Modelica-OpenModelica-slides para aprender.pdfModelica-OpenModelica-slides para aprender.pdf
Modelica-OpenModelica-slides para aprender.pdf
 
Ford Modelon Vehicle Thermal Management 2014
Ford Modelon Vehicle Thermal Management 2014Ford Modelon Vehicle Thermal Management 2014
Ford Modelon Vehicle Thermal Management 2014
 
1293702-1578722-diegoramos-1.pptx
1293702-1578722-diegoramos-1.pptx1293702-1578722-diegoramos-1.pptx
1293702-1578722-diegoramos-1.pptx
 
Model Integration for Systems Engineering
Model Integration for Systems EngineeringModel Integration for Systems Engineering
Model Integration for Systems Engineering
 
The RaPId Toolbox for Parameter Identification and Model Validation: How Mode...
The RaPId Toolbox for Parameter Identification and Model Validation: How Mode...The RaPId Toolbox for Parameter Identification and Model Validation: How Mode...
The RaPId Toolbox for Parameter Identification and Model Validation: How Mode...
 
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
 
System on Chip Design and Modelling Dr. David J Greaves
System on Chip Design and Modelling   Dr. David J GreavesSystem on Chip Design and Modelling   Dr. David J Greaves
System on Chip Design and Modelling Dr. David J Greaves
 
IncQuery-D: Incremental Queries in the Cloud
IncQuery-D: Incremental Queries in the CloudIncQuery-D: Incremental Queries in the Cloud
IncQuery-D: Incremental Queries in the Cloud
 
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
 
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
 
Visualizing, Analyzing and Optimizing Automotive Architecture Models using Si...
Visualizing, Analyzing and Optimizing Automotive Architecture Models using Si...Visualizing, Analyzing and Optimizing Automotive Architecture Models using Si...
Visualizing, Analyzing and Optimizing Automotive Architecture Models using Si...
 
Date00417p
Date00417pDate00417p
Date00417p
 
SUNSHINE Project: Romain Nouvel, Jean Marie Bahu
SUNSHINE Project: Romain Nouvel, Jean Marie BahuSUNSHINE Project: Romain Nouvel, Jean Marie Bahu
SUNSHINE Project: Romain Nouvel, Jean Marie Bahu
 
Thermal Equipment Modeling in Modelica
Thermal Equipment Modeling in ModelicaThermal Equipment Modeling in Modelica
Thermal Equipment Modeling in Modelica
 
Thermal equipment modeling in modelica
Thermal equipment modeling in modelicaThermal equipment modeling in modelica
Thermal equipment modeling in modelica
 
Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...
 
SIMULIA-Opera-Brochure.pdf
SIMULIA-Opera-Brochure.pdfSIMULIA-Opera-Brochure.pdf
SIMULIA-Opera-Brochure.pdf
 
53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam
53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam
53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam
 
An automotive survey
An automotive surveyAn automotive survey
An automotive survey
 
Cloudsim & Green Cloud
Cloudsim & Green CloudCloudsim & Green Cloud
Cloudsim & Green Cloud
 

Kürzlich hochgeladen

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (20)

Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 

CIM 2 Modelica

  • 1. CIM 2 Modelica Factory Automated 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 luigiv@kth.se , fragom@kth.se Electric Power Systems Dept. KTH Stockholm, Sweden Luigi.Vanfretti@statnett.no svein.harald.olsen@statnett.no Research and Development Division Statnett SF Oslo, Norway
  • 2. Overview Acknowledgments • 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 • CIM 2 Modelica – Concept Design – Mapping – Simulation Engine
  • 3. Research • Development of software architecture 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
  • 4. 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, 2005 TU Dresden, University of Stuttgart, BMW Group, Germany. Background
  • 5. 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 • Generators • Turbine Governors • Capacitors • Protections • Measurements • IEC61970 provides standard data model for power systems components Background
  • 6. CIM for Dynamics • Dynamic models used in the industry today use application specific data format and are embedded within the solver (integration routine) • No information on how the model is implemented (i.e. actual equations used) • Dynamic models can be represented in CIM, and exchanged among utilities • Need to extend CIM to support more dynamics models • Consider extend to support exchange of the model representation, not only of parameters Background doc Sy nchr onousGener ator MechanicalEquation
  • 7. Extension for CIM Dynamics • Automatic model transformation from CIM to a well defined (equation based) language • Information exchange, parameters and equations with CIM and Modelica • The benefit / role of CIM: • Modelling of the network are done separate from the analytic • Existing Steady-State Solver Engine (SSSE) can be used to initialize the transient study Background 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;
  • 8. Overview • Background & Motivation – Modelica – CIM – CIM for Dynamics • Modelica – Language Description – MetaModelica – CIM/UML to Modelica • CIM 2 Modelica – Concept Design – Mapping – Simulation Engine
  • 9. Modeling Language • Object-Oriented Language with class concept • Reuse of classes • Reuse of components • Scalable and Modular models • Multi-Domain modeling • Visual Acausal Hierarchical Component Modeling • Physical structure • No specification of data flow direction load EM DC G R L Electrical Mechanics model DCMotor Modelica.Electrical.Analog.Basic.Resistor r1(R = 10); Modelica.Electrical.Analog.Basic.Inductor i1; Modelica.Electrical.Analog.Basic.EMF emf1; Modelica.Mechanics.Rotational.Inertia load; Modelica.Electrical.Analog.Basic.Ground g; Modelica.Electrical.Analog.Sources.ConstantVoltage v; equation connect(DC.p,R.n); connect(R.p,L.n); connect(L.p,EM.n); connect(EM.p,DC.n); connect(DC.n,G.p); connect(EM.flange_b,load.flange_a); end DCMotor; Modelica
  • 10. Modeling Language • Modeling language based on equations, allow specification of mathematical models • Typed Declarative Equation- based Textual Language • Decoupling the model from the solver model GENROU parameter 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 der(Epq) = (1/Tpd0)*(Efd0 -XadIfd); der(Epd) = (1/Tpq0)*(-1)*(XaqIlq); … anglev =atan2(p.vi, p.vr); Vt = sqrt(p.vr^2 + p.vi^2); anglei =atan2(p.ii, p.ir); I = sqrt(p.ii^2 + p.ir^2); … end GENROU; Variable declaration DAE Equations Modelica
  • 11. Power Systems Library in Modelica • The FP7 iTESLA project develops a high level library for modeling power grid components • Generators, • Governors, • Controls, • Branches, • Loads, • Buses, • Events • The library makes available standardized power systems models usually available in power system tools only accessible through proprietary (and expensive) licenses Modelica
  • 12. 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
  • 13. CIM / UML to Modelica • Semantic transformation for automatic simulation directly from CIM definition Modelica
  • 14. • Background & Motivation – Modelica – CIM – CIM for Dynamics • Modelica – Language Description – MetaModelica – CIM/UML to Modelica • CIM 2 Modelica – Concept Design – Mapping – Simulation Engine Overview
  • 15. Process flow design • Automatic generation of Modelica code from CIM/UML definition • Manual design of CIM/UML definition and Mapping • Loading CIM/XML and Mapping • Semantic transformation into Modelica code: – Set initial values from load flow solution – Set connection between classes CIM 2 Modelica
  • 16. CIM 2 Modelica Mapping • Relation between CIM classes and Power system library classes • CIM Attributes and values -> Modelica Variables and starting values • CIM relations between classes -> Modelica connection between components or • CIM relations between classes -> Use of Modelica classes as objects CIM 2 Modelica
  • 18. Simulation Engine • Open-source software for cyber-physical system simulation • Plug-in different compilers and solvers • Enhancement to CIM: • Integration with PMU measurements or simulation -> Harmonization with HDFS is an alternative • Include the Modelica library code as part of the CIM standard CIM 2 Modelica Properties Results HDF5 JMOMC PYTHON JAVA Dymola
  • 19. Thank you! Questions? luigiv@kth.se , fragom@kth.se Electric Power Systems Dept. KTH Stockholm, Sweden Luigi.Vanfretti@statnett.no svein.harald.olsen@statnett.no Research and Development Division Statnett SF Oslo, Norway

Hinweis der Redaktion

  1. Conveniently model complex physical systems
  2. Put the dynamics parameters into the equations of the model The model has a specific structure and is embedded within the solver.
  3. Put the dynamics parameters into the equations of the model The model has a specific structure and is embedded within the solver.
  4. Si preguntan por performance, simulation is better than psse
  5. Semantic transformation for automatic simulation directly from CIM definition
  6. Gane-Sarson
  7. Store values en