SlideShare a Scribd company logo
1 of 1
Download to read offline
CONTACT INFORMATION
Towards Consistent Model Exchange
and Simulation of VSC-HVdc Controls
for EMT Studies
Robert Rogersten¹, Luigi Vanfretti¹², and Wei Li¹
KEYWORDS:
VSC-HVDC;
Model Exchange;
Simulation.
• Different simulation-based studies are performed by
different parties and using different electromagnetic
transient (EMT) simulation platforms.
• Simulation results are inconsistent between EMT tools.
• This paper demonstrates a methodology that provides a
higher consistency between two simulation tools.
• Results indicate the need for a standardized equation-based
modeling language for EMT model exchange.
Abstract:
Conclusion:
• Although this approach provides a higher consistency of
simulation results between different platforms, the
implementation process with generated C code is
complex and exposes several limitations.
• This serves as evidence on the importance of the
adoption of standardized interfaces, in particular those
that are native to equation-based modeling language
(i.e. Modelica), such as FMI, between a broader set of
simulation platforms
CONTACTS:
1.School of Electrical
Engineering
Electric Power
Systems Department
KTH Royal Institute of
Technology
Teknikringen 33
100 44 Stockholm -SE
Email: rrog@kth.se
Email: luigiv@kth.se
Email: wei3@kth.se
2.Statnett SF, R & D,
Oslo, Norway
E-mail:
luigi.vanfretti@statnett.no
Test systems:
• Fortran can call a function written in C code.
• The blocks in PSCAD are Fortran code, which call the
EMTDC (Electromagnetic Transients including DC) library
to combine them into an executable file.
• In PSCAD, user defined components can be implemented
by using Fortran code, which interface with the C code
generated from Simulink. These components will thus
inherit the same behavior of the Simulink model.
• Library (.lib) and object (.obj) files can be linked in
PSCAD.
• Therefore, all C and Fortran files are compiled into one
library file that is linked to PSCAD.
Figure 2: The flowchart describes how the control.lib file is generated
and linked as a library file in PSCAD during run-time.
Limitations:
• Not possible to use multiple instances of the Fortran
components that can call a C function in PSCAD.
• The procedures within the grey box need to be manually
written or modified by the user--- time consuming and
complicated.
• The grey box is rather difficult to build and maintain and
also lacks generality. There exists a standardized
interface called the functional mock-up interface (FMI).
Unfortunately, PSCAD lacks support for this interface.
Comparison and analysis:
The point-to-point VSC-HVDC link model in Simulink is the
reference and is pedantically implemented into PSCAD.
Graphical implementation:
C code implementation:
• Start from the graphical implementation and replace each
component in PSCAD that behaves differently from the
reference model in Simulink piece-by-piece.
• Simulink Coder generates C code from Simulink block
diagrams, state flow charts, and MATLAB functions.
• The C code for controllers is generated and implemented in
the following order: outer control loop, inner control loop,
and PLL, which is shown in Fig.1. Low-pass filter blocks also
need to generate C code.
Table1: Files generated from the Simulink coder
• Modifying the ModelName_data.c file changes the parameter
values for the controller.
• ModelName.c contains the step function.
• The main execution file ert_main.c sets the inputs, then the
step function is executed, and finally the outputs are set.
Fortran Integration with C code:
Overall Integration:
Figure 1: Steps for Code Generation
Model exchange approach:
A quantitative method to determine the discrepancy
between different model implementations---the root mean
square (RMS) of the difference between simulation outputs
Table2: RMS comparison of graphical implementation (up) and C code
implementation (down)

More Related Content

What's hot

SYNTHESIS OPTIMIZATION FOR FINITE STATE MACHINE DESIGN IN FPGAS
SYNTHESIS OPTIMIZATION FOR FINITE STATE MACHINE DESIGN IN FPGASSYNTHESIS OPTIMIZATION FOR FINITE STATE MACHINE DESIGN IN FPGAS
SYNTHESIS OPTIMIZATION FOR FINITE STATE MACHINE DESIGN IN FPGASVLSICS Design
 
Advanced computer architecture unit 5
Advanced computer architecture  unit 5Advanced computer architecture  unit 5
Advanced computer architecture unit 5Kunal Bangar
 
Logic synthesis,flootplan&placement
Logic synthesis,flootplan&placementLogic synthesis,flootplan&placement
Logic synthesis,flootplan&placementshaik sharief
 
Exploring Models of Computation through Static Analysis
Exploring Models of Computation through Static AnalysisExploring Models of Computation through Static Analysis
Exploring Models of Computation through Static Analysisijeukens
 
Software code metrics
Software code metricsSoftware code metrics
Software code metricsPVS-Studio
 
Low Power Parellel Chein Search Architecture using Two- Step Approach
Low Power Parellel Chein Search Architecture using Two- Step ApproachLow Power Parellel Chein Search Architecture using Two- Step Approach
Low Power Parellel Chein Search Architecture using Two- Step ApproachMonalSarada
 
MATLAB and Simulink for Communications System Design (Design Conference 2013)
MATLAB and Simulink for Communications System Design (Design Conference 2013)MATLAB and Simulink for Communications System Design (Design Conference 2013)
MATLAB and Simulink for Communications System Design (Design Conference 2013)Analog Devices, Inc.
 
A SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHM
A SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHMA SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHM
A SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHMVLSICS Design
 
The analysis synthesis model of compilation
The analysis synthesis model of compilationThe analysis synthesis model of compilation
The analysis synthesis model of compilationHuawei Technologies
 
Remote method invocation
Remote  method invocationRemote  method invocation
Remote method invocationDEEPIKA T
 
Semantic scaffolds for pseudocode to-code generation (2020)
Semantic scaffolds for pseudocode to-code generation (2020)Semantic scaffolds for pseudocode to-code generation (2020)
Semantic scaffolds for pseudocode to-code generation (2020)Minhazul Arefin
 
2 x4 decoder using switch level(Alok singh kanpur)
2 x4 decoder using switch level(Alok singh kanpur)2 x4 decoder using switch level(Alok singh kanpur)
2 x4 decoder using switch level(Alok singh kanpur)Alok Singh
 
The Download: Tech Talks by the HPCC Systems Community, Episode 16
The Download: Tech Talks by the HPCC Systems Community, Episode 16The Download: Tech Talks by the HPCC Systems Community, Episode 16
The Download: Tech Talks by the HPCC Systems Community, Episode 16HPCC Systems
 

What's hot (20)

COMPSAC 2008 Presentation
COMPSAC 2008 PresentationCOMPSAC 2008 Presentation
COMPSAC 2008 Presentation
 
SYNTHESIS OPTIMIZATION FOR FINITE STATE MACHINE DESIGN IN FPGAS
SYNTHESIS OPTIMIZATION FOR FINITE STATE MACHINE DESIGN IN FPGASSYNTHESIS OPTIMIZATION FOR FINITE STATE MACHINE DESIGN IN FPGAS
SYNTHESIS OPTIMIZATION FOR FINITE STATE MACHINE DESIGN IN FPGAS
 
ETAPS03 SC.ppt
ETAPS03 SC.pptETAPS03 SC.ppt
ETAPS03 SC.ppt
 
Advanced computer architecture unit 5
Advanced computer architecture  unit 5Advanced computer architecture  unit 5
Advanced computer architecture unit 5
 
Logic synthesis,flootplan&placement
Logic synthesis,flootplan&placementLogic synthesis,flootplan&placement
Logic synthesis,flootplan&placement
 
Exploring Models of Computation through Static Analysis
Exploring Models of Computation through Static AnalysisExploring Models of Computation through Static Analysis
Exploring Models of Computation through Static Analysis
 
Part 6 PLC languges.
Part 6 PLC languges.Part 6 PLC languges.
Part 6 PLC languges.
 
Thesis Giani UIC Slides EN
Thesis Giani UIC Slides ENThesis Giani UIC Slides EN
Thesis Giani UIC Slides EN
 
Software code metrics
Software code metricsSoftware code metrics
Software code metrics
 
Low Power Parellel Chein Search Architecture using Two- Step Approach
Low Power Parellel Chein Search Architecture using Two- Step ApproachLow Power Parellel Chein Search Architecture using Two- Step Approach
Low Power Parellel Chein Search Architecture using Two- Step Approach
 
MATLAB and Simulink for Communications System Design (Design Conference 2013)
MATLAB and Simulink for Communications System Design (Design Conference 2013)MATLAB and Simulink for Communications System Design (Design Conference 2013)
MATLAB and Simulink for Communications System Design (Design Conference 2013)
 
A SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHM
A SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHMA SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHM
A SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHM
 
The analysis synthesis model of compilation
The analysis synthesis model of compilationThe analysis synthesis model of compilation
The analysis synthesis model of compilation
 
Remote method invocation
Remote  method invocationRemote  method invocation
Remote method invocation
 
Mini Project- ROM Based Sine Wave Generator
Mini Project- ROM Based Sine Wave GeneratorMini Project- ROM Based Sine Wave Generator
Mini Project- ROM Based Sine Wave Generator
 
Semantic scaffolds for pseudocode to-code generation (2020)
Semantic scaffolds for pseudocode to-code generation (2020)Semantic scaffolds for pseudocode to-code generation (2020)
Semantic scaffolds for pseudocode to-code generation (2020)
 
2 x4 decoder using switch level(Alok singh kanpur)
2 x4 decoder using switch level(Alok singh kanpur)2 x4 decoder using switch level(Alok singh kanpur)
2 x4 decoder using switch level(Alok singh kanpur)
 
The Download: Tech Talks by the HPCC Systems Community, Episode 16
The Download: Tech Talks by the HPCC Systems Community, Episode 16The Download: Tech Talks by the HPCC Systems Community, Episode 16
The Download: Tech Talks by the HPCC Systems Community, Episode 16
 
Lesson 1 introduction to programming
Lesson 1 introduction to programmingLesson 1 introduction to programming
Lesson 1 introduction to programming
 
Project ppt
Project pptProject ppt
Project ppt
 

Similar to Towards Consistent Model Exchange and Simulation of VSC-HVDC Controls for EMT Studies

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 GreavesSatya Harish
 
Systemc overview 2010
Systemc overview 2010Systemc overview 2010
Systemc overview 2010敬倫 林
 
Vlsi Summer training report pdf
Vlsi Summer training report pdfVlsi Summer training report pdf
Vlsi Summer training report pdfGirjeshVerma2
 
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...Luigi Vanfretti
 
Summer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy CenterSummer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy CenterKhusro Kamaluddin
 
Industrial training report of vlsi,vhdl and pcb designing
Industrial training report of vlsi,vhdl and pcb designingIndustrial training report of vlsi,vhdl and pcb designing
Industrial training report of vlsi,vhdl and pcb designingPallavi Bharti
 
Design flow for Controller Area Network systems
Design flow for Controller Area Network systemsDesign flow for Controller Area Network systems
Design flow for Controller Area Network systemsAlexios Lekidis
 
Samtec whitepaper
Samtec whitepaperSamtec whitepaper
Samtec whitepaperjohn_111
 
Portfolio control version sn_v5
Portfolio control version sn_v5Portfolio control version sn_v5
Portfolio control version sn_v5Samuel Narcisse
 
Csit77404
Csit77404Csit77404
Csit77404csandit
 
Functional Verification of Large-integers Circuits using a Cosimulation-base...
Functional Verification of Large-integers Circuits using a  Cosimulation-base...Functional Verification of Large-integers Circuits using a  Cosimulation-base...
Functional Verification of Large-integers Circuits using a Cosimulation-base...IJECEIAES
 
IRJET-Analysis and Rectification of Fault in Power System by Multilevel Modul...
IRJET-Analysis and Rectification of Fault in Power System by Multilevel Modul...IRJET-Analysis and Rectification of Fault in Power System by Multilevel Modul...
IRJET-Analysis and Rectification of Fault in Power System by Multilevel Modul...IRJET Journal
 
Transformation of simulink models to iec 61499 function blocks for verificati...
Transformation of simulink models to iec 61499 function blocks for verificati...Transformation of simulink models to iec 61499 function blocks for verificati...
Transformation of simulink models to iec 61499 function blocks for verificati...Tiago Oliveira
 
Project ppt on Rapid Battery Charger using Fuzzy Controller
Project ppt on Rapid Battery Charger using Fuzzy ControllerProject ppt on Rapid Battery Charger using Fuzzy Controller
Project ppt on Rapid Battery Charger using Fuzzy ControllerPriya_Srivastava
 

Similar to Towards Consistent Model Exchange and Simulation of VSC-HVDC Controls for EMT Studies (20)

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
 
Systemc overview 2010
Systemc overview 2010Systemc overview 2010
Systemc overview 2010
 
Vlsi Summer training report pdf
Vlsi Summer training report pdfVlsi Summer training report pdf
Vlsi Summer training report pdf
 
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
 
Summer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy CenterSummer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy Center
 
Industrial training report of vlsi,vhdl and pcb designing
Industrial training report of vlsi,vhdl and pcb designingIndustrial training report of vlsi,vhdl and pcb designing
Industrial training report of vlsi,vhdl and pcb designing
 
Design flow for Controller Area Network systems
Design flow for Controller Area Network systemsDesign flow for Controller Area Network systems
Design flow for Controller Area Network systems
 
3DD 1e Laura
3DD 1e Laura3DD 1e Laura
3DD 1e Laura
 
Samtec whitepaper
Samtec whitepaperSamtec whitepaper
Samtec whitepaper
 
Verilog
VerilogVerilog
Verilog
 
Portfolio control version sn_v5
Portfolio control version sn_v5Portfolio control version sn_v5
Portfolio control version sn_v5
 
Stability of power
Stability of powerStability of power
Stability of power
 
Thesis_Final
Thesis_FinalThesis_Final
Thesis_Final
 
Csit77404
Csit77404Csit77404
Csit77404
 
Functional Verification of Large-integers Circuits using a Cosimulation-base...
Functional Verification of Large-integers Circuits using a  Cosimulation-base...Functional Verification of Large-integers Circuits using a  Cosimulation-base...
Functional Verification of Large-integers Circuits using a Cosimulation-base...
 
IRJET-Analysis and Rectification of Fault in Power System by Multilevel Modul...
IRJET-Analysis and Rectification of Fault in Power System by Multilevel Modul...IRJET-Analysis and Rectification of Fault in Power System by Multilevel Modul...
IRJET-Analysis and Rectification of Fault in Power System by Multilevel Modul...
 
Clean architecture
Clean architectureClean architecture
Clean architecture
 
Transformation of simulink models to iec 61499 function blocks for verificati...
Transformation of simulink models to iec 61499 function blocks for verificati...Transformation of simulink models to iec 61499 function blocks for verificati...
Transformation of simulink models to iec 61499 function blocks for verificati...
 
Project ppt on Rapid Battery Charger using Fuzzy Controller
Project ppt on Rapid Battery Charger using Fuzzy ControllerProject ppt on Rapid Battery Charger using Fuzzy Controller
Project ppt on Rapid Battery Charger using Fuzzy Controller
 
10 3
10 310 3
10 3
 

More from Luigi Vanfretti

Hopf Bifurcation Control of Power Systems Nonlinear Dynamics Via a Dynamic St...
Hopf Bifurcation Control of Power Systems Nonlinear Dynamics Via a Dynamic St...Hopf Bifurcation Control of Power Systems Nonlinear Dynamics Via a Dynamic St...
Hopf Bifurcation Control of Power Systems Nonlinear Dynamics Via a Dynamic St...Luigi Vanfretti
 
Hopf Bifurcation Control of Power System Nonlinear Dynamics via a Dynamic Sta...
Hopf Bifurcation Control of Power System Nonlinear Dynamics via a Dynamic Sta...Hopf Bifurcation Control of Power System Nonlinear Dynamics via a Dynamic Sta...
Hopf Bifurcation Control of Power System Nonlinear Dynamics via a Dynamic Sta...Luigi Vanfretti
 
Vulnerability of Synchrophasor-based WAMPAC Applications’ to Time-Synchroniza...
Vulnerability of Synchrophasor-based WAMPAC Applications’ to Time-Synchroniza...Vulnerability of Synchrophasor-based WAMPAC Applications’ to Time-Synchroniza...
Vulnerability of Synchrophasor-based WAMPAC Applications’ to Time-Synchroniza...Luigi Vanfretti
 
Model-Simulation-and-Measurement-Based Systems Engineering of Power System Sy...
Model-Simulation-and-Measurement-Based Systems Engineering of Power System Sy...Model-Simulation-and-Measurement-Based Systems Engineering of Power System Sy...
Model-Simulation-and-Measurement-Based Systems Engineering of Power System Sy...Luigi Vanfretti
 
Monitoring of Transmission and Distribution Grids using PMUs
Monitoring of Transmission and Distribution Grids using PMUsMonitoring of Transmission and Distribution Grids using PMUs
Monitoring of Transmission and Distribution Grids using PMUsLuigi Vanfretti
 
Hands-on-OpenIPSL.org using OpenModelica!
Hands-on-OpenIPSL.org using OpenModelica!Hands-on-OpenIPSL.org using OpenModelica!
Hands-on-OpenIPSL.org using OpenModelica!Luigi Vanfretti
 
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
 
Phasor State Estimation Weighting Coefficients for AC and Hybrid Networks wit...
Phasor State Estimation Weighting Coefficients for AC and Hybrid Networks wit...Phasor State Estimation Weighting Coefficients for AC and Hybrid Networks wit...
Phasor State Estimation Weighting Coefficients for AC and Hybrid Networks wit...Luigi Vanfretti
 
Real-Time Testing of a Decentralized PMU Data-Based Power Systems Mode Estim...
Real-Time Testing of a Decentralized PMU Data-Based  Power Systems Mode Estim...Real-Time Testing of a Decentralized PMU Data-Based  Power Systems Mode Estim...
Real-Time Testing of a Decentralized PMU Data-Based Power Systems Mode Estim...Luigi Vanfretti
 
A SGAM-Based Architecture for Synchrophasor Applications Facilitating TSO/DSO...
A SGAM-Based Architecture for Synchrophasor Applications Facilitating TSO/DSO...A SGAM-Based Architecture for Synchrophasor Applications Facilitating TSO/DSO...
A SGAM-Based Architecture for Synchrophasor Applications Facilitating TSO/DSO...Luigi Vanfretti
 
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...Luigi Vanfretti
 
Open Source Software Tools for Synchrophasor Applications
Open Source Software Tools for  Synchrophasor ApplicationsOpen Source Software Tools for  Synchrophasor Applications
Open Source Software Tools for Synchrophasor ApplicationsLuigi Vanfretti
 
Synchrophasor Applications Facilitating Interactions between Transmission and...
Synchrophasor Applications Facilitating Interactions between Transmission and...Synchrophasor Applications Facilitating Interactions between Transmission and...
Synchrophasor Applications Facilitating Interactions between Transmission and...Luigi Vanfretti
 
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...Luigi Vanfretti
 
Real-Time Simulation for MBSE of Synchrophasor Systems
Real-Time Simulation for MBSE of Synchrophasor SystemsReal-Time Simulation for MBSE of Synchrophasor Systems
Real-Time Simulation for MBSE of Synchrophasor SystemsLuigi Vanfretti
 
Vedran Peric's PhD Defense Presentation: Non-intrusive Methods for Mode Estim...
Vedran Peric's PhD Defense Presentation: Non-intrusive Methods for Mode Estim...Vedran Peric's PhD Defense Presentation: Non-intrusive Methods for Mode Estim...
Vedran Peric's PhD Defense Presentation: Non-intrusive Methods for Mode Estim...Luigi Vanfretti
 
Workshop on Synchrophasors and Control Applications for Power Systems
Workshop on  Synchrophasors and Control Applications for Power SystemsWorkshop on  Synchrophasors and Control Applications for Power Systems
Workshop on Synchrophasors and Control Applications for Power SystemsLuigi Vanfretti
 
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
 
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...Luigi Vanfretti
 
Real-Time Hardware-in-the-Loop Testing of an Excitation Control System for Os...
Real-Time Hardware-in-the-Loop Testing of an Excitation Control System for Os...Real-Time Hardware-in-the-Loop Testing of an Excitation Control System for Os...
Real-Time Hardware-in-the-Loop Testing of an Excitation Control System for Os...Luigi Vanfretti
 

More from Luigi Vanfretti (20)

Hopf Bifurcation Control of Power Systems Nonlinear Dynamics Via a Dynamic St...
Hopf Bifurcation Control of Power Systems Nonlinear Dynamics Via a Dynamic St...Hopf Bifurcation Control of Power Systems Nonlinear Dynamics Via a Dynamic St...
Hopf Bifurcation Control of Power Systems Nonlinear Dynamics Via a Dynamic St...
 
Hopf Bifurcation Control of Power System Nonlinear Dynamics via a Dynamic Sta...
Hopf Bifurcation Control of Power System Nonlinear Dynamics via a Dynamic Sta...Hopf Bifurcation Control of Power System Nonlinear Dynamics via a Dynamic Sta...
Hopf Bifurcation Control of Power System Nonlinear Dynamics via a Dynamic Sta...
 
Vulnerability of Synchrophasor-based WAMPAC Applications’ to Time-Synchroniza...
Vulnerability of Synchrophasor-based WAMPAC Applications’ to Time-Synchroniza...Vulnerability of Synchrophasor-based WAMPAC Applications’ to Time-Synchroniza...
Vulnerability of Synchrophasor-based WAMPAC Applications’ to Time-Synchroniza...
 
Model-Simulation-and-Measurement-Based Systems Engineering of Power System Sy...
Model-Simulation-and-Measurement-Based Systems Engineering of Power System Sy...Model-Simulation-and-Measurement-Based Systems Engineering of Power System Sy...
Model-Simulation-and-Measurement-Based Systems Engineering of Power System Sy...
 
Monitoring of Transmission and Distribution Grids using PMUs
Monitoring of Transmission and Distribution Grids using PMUsMonitoring of Transmission and Distribution Grids using PMUs
Monitoring of Transmission and Distribution Grids using PMUs
 
Hands-on-OpenIPSL.org using OpenModelica!
Hands-on-OpenIPSL.org using OpenModelica!Hands-on-OpenIPSL.org using OpenModelica!
Hands-on-OpenIPSL.org using OpenModelica!
 
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...
 
Phasor State Estimation Weighting Coefficients for AC and Hybrid Networks wit...
Phasor State Estimation Weighting Coefficients for AC and Hybrid Networks wit...Phasor State Estimation Weighting Coefficients for AC and Hybrid Networks wit...
Phasor State Estimation Weighting Coefficients for AC and Hybrid Networks wit...
 
Real-Time Testing of a Decentralized PMU Data-Based Power Systems Mode Estim...
Real-Time Testing of a Decentralized PMU Data-Based  Power Systems Mode Estim...Real-Time Testing of a Decentralized PMU Data-Based  Power Systems Mode Estim...
Real-Time Testing of a Decentralized PMU Data-Based Power Systems Mode Estim...
 
A SGAM-Based Architecture for Synchrophasor Applications Facilitating TSO/DSO...
A SGAM-Based Architecture for Synchrophasor Applications Facilitating TSO/DSO...A SGAM-Based Architecture for Synchrophasor Applications Facilitating TSO/DSO...
A SGAM-Based Architecture for Synchrophasor Applications Facilitating TSO/DSO...
 
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
 
Open Source Software Tools for Synchrophasor Applications
Open Source Software Tools for  Synchrophasor ApplicationsOpen Source Software Tools for  Synchrophasor Applications
Open Source Software Tools for Synchrophasor Applications
 
Synchrophasor Applications Facilitating Interactions between Transmission and...
Synchrophasor Applications Facilitating Interactions between Transmission and...Synchrophasor Applications Facilitating Interactions between Transmission and...
Synchrophasor Applications Facilitating Interactions between Transmission and...
 
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
 
Real-Time Simulation for MBSE of Synchrophasor Systems
Real-Time Simulation for MBSE of Synchrophasor SystemsReal-Time Simulation for MBSE of Synchrophasor Systems
Real-Time Simulation for MBSE of Synchrophasor Systems
 
Vedran Peric's PhD Defense Presentation: Non-intrusive Methods for Mode Estim...
Vedran Peric's PhD Defense Presentation: Non-intrusive Methods for Mode Estim...Vedran Peric's PhD Defense Presentation: Non-intrusive Methods for Mode Estim...
Vedran Peric's PhD Defense Presentation: Non-intrusive Methods for Mode Estim...
 
Workshop on Synchrophasors and Control Applications for Power Systems
Workshop on  Synchrophasors and Control Applications for Power SystemsWorkshop on  Synchrophasors and Control Applications for Power Systems
Workshop on Synchrophasors and Control Applications for Power Systems
 
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...
 
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...
 
Real-Time Hardware-in-the-Loop Testing of an Excitation Control System for Os...
Real-Time Hardware-in-the-Loop Testing of an Excitation Control System for Os...Real-Time Hardware-in-the-Loop Testing of an Excitation Control System for Os...
Real-Time Hardware-in-the-Loop Testing of an Excitation Control System for Os...
 

Recently uploaded

power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 

Towards Consistent Model Exchange and Simulation of VSC-HVDC Controls for EMT Studies

  • 1. CONTACT INFORMATION Towards Consistent Model Exchange and Simulation of VSC-HVdc Controls for EMT Studies Robert Rogersten¹, Luigi Vanfretti¹², and Wei Li¹ KEYWORDS: VSC-HVDC; Model Exchange; Simulation. • Different simulation-based studies are performed by different parties and using different electromagnetic transient (EMT) simulation platforms. • Simulation results are inconsistent between EMT tools. • This paper demonstrates a methodology that provides a higher consistency between two simulation tools. • Results indicate the need for a standardized equation-based modeling language for EMT model exchange. Abstract: Conclusion: • Although this approach provides a higher consistency of simulation results between different platforms, the implementation process with generated C code is complex and exposes several limitations. • This serves as evidence on the importance of the adoption of standardized interfaces, in particular those that are native to equation-based modeling language (i.e. Modelica), such as FMI, between a broader set of simulation platforms CONTACTS: 1.School of Electrical Engineering Electric Power Systems Department KTH Royal Institute of Technology Teknikringen 33 100 44 Stockholm -SE Email: rrog@kth.se Email: luigiv@kth.se Email: wei3@kth.se 2.Statnett SF, R & D, Oslo, Norway E-mail: luigi.vanfretti@statnett.no Test systems: • Fortran can call a function written in C code. • The blocks in PSCAD are Fortran code, which call the EMTDC (Electromagnetic Transients including DC) library to combine them into an executable file. • In PSCAD, user defined components can be implemented by using Fortran code, which interface with the C code generated from Simulink. These components will thus inherit the same behavior of the Simulink model. • Library (.lib) and object (.obj) files can be linked in PSCAD. • Therefore, all C and Fortran files are compiled into one library file that is linked to PSCAD. Figure 2: The flowchart describes how the control.lib file is generated and linked as a library file in PSCAD during run-time. Limitations: • Not possible to use multiple instances of the Fortran components that can call a C function in PSCAD. • The procedures within the grey box need to be manually written or modified by the user--- time consuming and complicated. • The grey box is rather difficult to build and maintain and also lacks generality. There exists a standardized interface called the functional mock-up interface (FMI). Unfortunately, PSCAD lacks support for this interface. Comparison and analysis: The point-to-point VSC-HVDC link model in Simulink is the reference and is pedantically implemented into PSCAD. Graphical implementation: C code implementation: • Start from the graphical implementation and replace each component in PSCAD that behaves differently from the reference model in Simulink piece-by-piece. • Simulink Coder generates C code from Simulink block diagrams, state flow charts, and MATLAB functions. • The C code for controllers is generated and implemented in the following order: outer control loop, inner control loop, and PLL, which is shown in Fig.1. Low-pass filter blocks also need to generate C code. Table1: Files generated from the Simulink coder • Modifying the ModelName_data.c file changes the parameter values for the controller. • ModelName.c contains the step function. • The main execution file ert_main.c sets the inputs, then the step function is executed, and finally the outputs are set. Fortran Integration with C code: Overall Integration: Figure 1: Steps for Code Generation Model exchange approach: A quantitative method to determine the discrepancy between different model implementations---the root mean square (RMS) of the difference between simulation outputs Table2: RMS comparison of graphical implementation (up) and C code implementation (down)