1
1. Ini&al values of variables: ini&al equa&on construct or by se7ng the (fixed=true, start=x0) a:ribute of the instance variables. 2. Ini&al value of parameters: se7ng its a:ribute to be (fixed=false, start=x0), the ini&al value is implicitly computed during ini&aliza&on and keep its value throughout the simula&on. 3. To keep a balance between the same number of unknowns and equa&ons, for each unknowns, an extra equa&on should be provied under the ini&aliza&on sec&on. The iTesla project (20122015) received funding from the European Union’s Seventh Programme for research, technological development and demonstraCon under Grant Agreement n°283012 Binding CIM and Modelica for Consistent Power System Dynamic Model Exchange and SimulaCon 1 Francisco José Gómez 1 Luigi Vanfre7 1,2 Svein Harald Olsen 2 1 KTH Royal Ins&tute of Technology, Sweden 2 Statne: SF, Norway [email protected] , [email protected] , svein.harald.olsen@statne:.no ENTSOE regula&on underling need of coordinaCon between transmission system operators (TSOs), CIM to fulfill the func&ons of Regula&on (EC) 714/2009” “use a common transmission model dealing efficiently with interdependent physical loopflows and having regard to discrepancies between physical and commercial flows”, “model used to support common network opera&on tools to ensure coordina&on of network opera&on in normal and emergency condi&ons” Propose a binding of Modelica models to CIM, allows to comply with the EC regula&on while assuring unambiguous modeling and simulaCon of power system dynamics Using standardized equaConbased modeling language that Guarantees a strict separaCon of the model from the numerical solver MoCvaCon DescripCon Towards CIM to Modelica Conclusion References Proposal for mapping CIM and Modelica for unambiguous model informa&on exchange and simula&on. Mapping offers a solu&on for assigning start values to con&nuous (differen&al), discrete and algebraic state variables from a power flow solu&on stored in a CIM data model, and to generate the corresponding Modelica classes First step into extending the CIM (or CGMES) to include a strict mathema&cal model representa&on of power system dynamic models. Implementa&on of the mapping will allow execu&ng &medomain simula&ons of cyberphysical power system models, using Modelica compiler directly from their CIM defini&on. [1] F. Gómez, L. Vanfre7, Svein H. Olsen, ”A ModelicaBased Execu&on and Simula&on Engine for Automated Power system Model Valida&on”, Innova&ve Smart Grid Technologies (ISGT) Europe, Istanbul, Oct. 1215, 2014 [2] T. Bogodorova, M. Sabate, G. Leon, L. Vanfre7, M. Halat, J.B. Heyberger and P. Pancia&ci, "A Modelica power system library for phasor&me domain simula&on," 2013 4 th IEEE/PES Innova2ve Smart Grid Technologies Europe, pp.1,5, 69 Oct. 2013 [3] G. León, M. Halat, M. Sabaté, JB Heyberger, F.J. Gómez, L. Vanfre7, “Aspects of Power System Modeling, Ini&alizaton and Simula&on using Modelica Language”, PowerTech Conference, Eindhoven, The Netherlands, June 29nd – July 3 rd 2015 Modelica is an objectoriented equa&onbased programming and modeling language, which allows the representa&on of cyberphysical systems using a strict mathema&cal representa&on Modelica models ①Mapping of CIM classes with Modelica classes / models ②Automa&c conversion from CIM to Modelica using the mapping ③Provision of ‘start values’ to the Modelica model (from power flow solu&on) – State Variable Profile in CIM ④Use Modelica model for &me domain simula&ons Dynamic models in CIM support limited informa&on on how the model is implemented. For a dynamic model representa&on in CIM, it is necessary to extend CIM to support exchange of the models representa&on and parameters Common InformaCon Model Modeling involves in interpreta&on of components of the physical world and their proper&es, and an understanding of the physical laws that bound their interac&on The CIM Standard uses UML to represent the seman&c informa&on of a real power system. defines all the basic components and topology of the power network, with its steadystate behavior. Automa&c model transforma&on from CIM to a well defined (equa&on based) language Informa&on exchange, parameters and equa&ons with CIM and Modelica Workflow

Binding CIM and Modelica for Consistent Power System Dynamic Model Exchange and Simulation

Embed Size (px)

Citation preview

Page 1: Binding CIM and Modelica for Consistent Power System Dynamic Model Exchange and Simulation

1.  Ini&al  values  of  variables:  ini&al  equa&on  construct  or  by  se7ng   the   (fixed=true, start=x0) a:ribute   of   the  instance  variables.  

2.  Ini&al   value   of   parameters:     se7ng   its   a:ribute   to   be  (fixed=false, start=x0),   the   ini&al   value   is  implicitly   computed   during   ini&aliza&on   and   keep   its  value  throughout  the  simula&on.  

3.  To   keep   a   balance   between   the   same   number   of  unknowns   and   equa&ons,   for   each   unknowns,   an   extra  equa&on   should   be   provied   under   the   ini&aliza&on  sec&on.  

 

The  iTesla  project  (2012-­‐2015)  received  funding  from  the  European  Union’s  Seventh  Programme  for  research,  technological  development  and  demonstraCon  under  Grant  Agreement  n°283012  

Binding  CIM  and  Modelica  for  Consistent  Power  System    Dynamic  Model  Exchange  and  SimulaCon    

1  Francisco  José  Gómez1  Luigi  Vanfre71,2  Svein  Harald  Olsen2  1KTH  Royal  Ins&tute  of  Technology,  Sweden        2Statne:  SF,  Norway  [email protected],  [email protected],  svein.harald.olsen@statne:.no    

Ø ENTSO-­‐E  regula&on  underling  need  of  coordinaCon  between  transmission  system  operators  (TSOs),  CIM  to  fulfill  the  func&ons  of  Regula&on  (EC)  714/2009”  Ø “use  a  common  transmission  model  dealing  efficiently  with  interdependent  physical  loop-­‐flows  and  having  regard  to  discrepancies  between  physical  and  commercial  flows”,  

Ø “model  used  to  support  common  network  opera&on  tools  to  ensure  coordina&on  of  network  opera&on  in  normal  and  emergency  condi&ons”    

Ø  Propose  a  binding  of  Modelica  models  to  CIM,  allows  to  comply  with  the  EC  regula&on  while  assuring  unambiguous  modeling  and  simulaCon  of  power  system  dynamics    

Ø  Using  standardized  equaCon-­‐based  modeling  language  that    Ø  Guarantees  a  strict  separaCon  of  the  model  from  the  numerical  solver  

MoCvaCon   DescripCon  

Towards  CIM  to  Modelica  

Conclusion   References  

ü Proposal  for  mapping  CIM  and  Modelica  for  unambiguous  model  informa&on    exchange  and  simula&on.  

ü Mapping  offers  a  solu&on  for  assigning  start  values  to  con&nuous  (differen&al),  discrete  and  algebraic  state  variables  from  a  power  flow  solu&on  stored  in  a  CIM  data  model,  and  to  generate  the  corresponding  Modelica  classes    

ü First  step  into  extending  the  CIM  (or  CGMES)  to  include  a  strict  mathema&cal  model  representa&on  of  power  system  dynamic  models.  

ü Implementa&on  of  the  mapping  will  allow  execu&ng  &me-­‐domain  simula&ons  of  cyber-­‐physical  power  system  models,  using  Modelica  compiler  directly  from  their  CIM  defini&on.  

[1]  F.  Gómez,  L.  Vanfre7,  Svein  H.  Olsen,  ”A  Modelica-­‐Based  Execu&on  and  Simula&on  Engine  for  Automated  Power  system  Model  Valida&on”,  Innova&ve  Smart  Grid  Technologies  (ISGT)  Europe,  Istanbul,  Oct.  12-­‐15,  2014  [2]  T.  Bogodorova,  M.  Sabate,  G.  Leon,  L.  Vanfre7,  M.  Halat,  J.B.  Heyberger  and  P.  Pancia&ci,  "A  Modelica  power  system  library  for  phasor-­‐&me  domain  simula&on,"  2013  4th    IEEE/PES  Innova2ve  Smart  Grid  Technologies  Europe,  pp.1,5,  6-­‐9  Oct.  2013  [3]  G.  León,  M.  Halat,  M.  Sabaté,  JB  Heyberger,  F.J.  Gómez,  L.  Vanfre7,  “Aspects  of  Power  System    Modeling,  Ini&alizaton  and  Simula&on  using  Modelica  Language”,  PowerTech  Conference,  Eindhoven,  The  Netherlands,  June  29nd  –  July  3rd  2015  

•  Modelica   is   an   object-­‐oriented   equa&on-­‐based  programming   and   modeling   language,   which   allows   the  representa&on   of   cyber-­‐physical   systems   using   a   strict  mathema&cal  representa&on    

Modelica  models  

 

 ① Mapping  of  CIM  classes  with  Modelica  classes  /  models  

② Automa&c  conversion  from  CIM  to  Modelica  using  the  mapping  

③ Provision  of  ‘start  values’  to  the  Modelica  model  (from  power  flow  solu&on)  –  State  Variable  Profile  in  CIM  

④ Use  Modelica  model  for  &me  domain  simula&ons  •  Dynamic  models  in  CIM  support  limited  informa&on  

on   how   the  model   is   implemented.   For   a   dynamic  model   representa&on   in   CIM,   it   is   necessary   to  extend   CIM   to   support   exchange   of   the   models  representa&on  and  parameters    

Common  InformaCon  Model    

•  Modeling   involves   in   interpreta&on  of   components  of   the   physical   world   and   their   proper&es,   and   an  understanding  of  the  physical  laws  that  bound  their  interac&on    

•  The   CIM   Standard   uses   UML   to   represent   the  seman&c   informa&on   of   a   real   power   system.  defines   all   the   basic   components   and   topology   of  the  power  network,  with  its  steady-­‐state  behavior.  

 

•  Automa&c  model   transforma&on   from  CIM   to   a  well  defined  (equa&on  based)  language  

•  Informa&on  exchange,  parameters  and  equa&ons  with  CIM  and  Modelica  

Workflow