Power Systems Simulation

Power Systems Simulation

  • Sajad Alal added an answer:
    Does anybody know Matlab codes for optimal placement and sizing of DG ?
    Sajad Alal · Shiraz University
    • dear Sandeap
    • if you have any files irregular to subject ,please send it for me too.
    • thanks a lot
    • i'll compensate for you.
  • James F Peters added an answer:
    How can I find the IEEE-118 bus system data?
    I am working on an economic dispatch problem considering environmental issues and want to apply a new meta-heuristic algorithm to solve this problem. I need this system data. I don`t have access to this system the B-loss coefficients. I have a B-loss coefficients matrix, but its size is 54 and in this system in papers there is just 14 units. Any advice? Can anyone send me this matrix?
    James F Peters · University of Manitoba

    This is a good question.

    In addition to the incisive answers already given, Network data for the IEEE 118-bus system is given in detail in

    S.A.Blumsack, Network topologies and transmission investment under electric-industry restructuring, Ph.D. thesis, Carnegie Mellon University, 2006:


    See Appendix A, starting on page 249, on

    bus and demand data, p. 249

    generator data, p. 254

    branch data, p. 260

    generator marginal cost data, p. 260

  • yaswanth reddy Arumalla added an answer:
    How do I simulate a nonlinear model of a single machine infinite bus system in matlab?
    In addition to Simpower.
    yaswanth reddy Arumalla · Michigan Technological University

    Mr. Hosein Karimi can you please send it for me too. Thanks 

  • Closed account added an answer:
    Can you suggest to me a reference paper on vsc hvdc load flow algorithm for initial level ?


    Deleted · Indian Institute of Technology Hyderabad


  • Gregory Diana added an answer:
    How can I represent a delay function exp(sT) in Simscape?

    I want to add a delay T to a sin function: sin(wt) must become sin(w(t-T)).

    Gregory Diana · University of KwaZulu-Natal

    Dear Gaetano,

    The transport delay or Pade function exp(sT) may be found under the Simulink extras library  or under the Simulink Library under Transport or Variable Transport Delay.

    Go to the Simulink Library browser and enter transport delay in the search window and it will find it for you.


    Greg Diana

  • Christian E. Jacob added an answer:
    How can I change the nominal power of the generator DFIG and SCIG during simulation?

    My project is depend on changing the nominal power of the generators, transformer and loads during simulation But when I do it with command set_param error appear, the error is {Cannot change parameter of generator while simulation is running.) I want to change the nominal power of these block especially generators. How can I overcome of this error? 

    Christian E. Jacob · Max Planck Institute for Plasma Physics

    Dear Mona, the PMSG model in Simulink has only an input (as definition of output load) for torque and/or speed. This PMSG model is non-qualified for output of energy in your wind farm. Please use other model! Regards Christian

  • Hajar Bagheri Tolabi added an answer:
    Does anybody knows a free software for drawing single line diagrams?
    I want to draw single line diagrams of power systems
    Hajar Bagheri Tolabi · Institute of Electrical and Electronics Engineers

    I think CYME DIST can be useful..

  • Lars Abrahamsson added an answer:
    Anyone knows any software package able to simulate railway power systems?
    I need to know which are the commercial options for simulation of electrical railway networks, not for transient simulation but for electrical power flow analysis. Do any of these packages also simulate the train behavior?
    Lars Abrahamsson · KTH Royal Institute of Technology

    Sorry, not voltage. Power.

    Yes, mainly linear, considerng R*I2, but nonlinear terms considering fix power and voltage drops.

    Still however, this curve is not realistic.

  • Tareq Aziz added an answer:
    Is there any established method to combine power system simulation with communication simulation in a smart grid?

    I am working on cyber-security and therefore I need to have simultaneous simulations in both- power and communication systems. What software platforms are generally used for this purpose? Is there any scope to do such simulations in DIgSILENT Powerfactory?

    Tareq Aziz · Ahsanullah University of Science & Tech

    To start with (specially to model cyber security), I found the following paper very useful:

    Kundur, D., Feng, X., Mashayekh, S., Liu, S., Zourntos, T. and Butler-Purry, K.L. (2011) ‘Towards modelling the impact of cyber attacks on a smart grid’, Int. J. Security and Networks.

  • Joel Kitheka added an answer:
    Does have any experience of extracting state space model in matlab format from power factory by outputting the result of model analysis?

    I am trying to do model reduction of power system using Hankel norm approximation for that I need state space model of the system. I tried to output the state space form model analysis in powerfactory in matlab readable file but I am not able to sort it into standard state space form. Any suggestions would be highly appreciated.

    Joel Kitheka · Technical University of Mombasa

    After Digsilent (power factory) simulation, identify the state space results, go to initial calculation, result variable, export, apply file name then execute, ok. execute your results to note pad. Go to matlab work space, input data, change file name, all files, matlab command window, name your data and it's column then enter. e.g A1= data1(:,2) ENTER.   

  • Ahmer Wadee added an answer:
    Is it possible to plot time solution of variables against time in AUTO 07P, such that the time axis is not limited to the value of 1?

    Hello all,

    I am using Bifurcation and Continuation Software AUTO-07p, for my thesis. I need to plot some of the variables of my system, against time. However, solutions are only plotted for the time interval of [0,1]. I was wondering if there is a way to extend the time axis and obtain the time solution of my variables in a larger interval.

    Thanks in advance for your kind attention.

    Ahmer Wadee · Imperial College London

    If you wish to solve your equations for an arbitrary time duration T0, a neat way would be re-scale your time variable from "t" to, say, "tr" such that tr=t/T0. If you then re-cast your equations in terms of "tr" rather than "t" then all you need to do is to change T0 before you begin your Auto run to change the duration since Auto will solve for tr=[0,1], hence t=[0,T0]. With this technique, you could also conceivably introduce T0 as a continuation parameter.

  • Mostafa Eidiani added an answer:
    How to simulate DFIG in digsilent?
    Simulation in digsilent
    Mostafa Eidiani · Khorasan Institute of Higher Education


    Please see these links:



  • Mostafa Eidiani added an answer:
    Where can I find microgrid smartgrid software simulators?
    We are conducting research on combined heat and power systems and we are looking at smartgrid and microgrid models for rural villages in African and India.

    We managed to find one or two simulink simulators, but was hoping to find more.
    Mostafa Eidiani · Khorasan Institute of Higher Education

    You can see also this link


  • Mostafa Eidiani added an answer:
    How to define multi-machine power system in matlab?

    how to give input in matlab a multi-machine power system? or mathematical model of multi-machine power system as SMIB is defined by Heffron's Flipines model?

    Mostafa Eidiani · Khorasan Institute of Higher Education

    You can see also this link


  • Mostafa Eidiani added an answer:
    Can any one help me with simulation of a multi-machine power system in MATLAB? 4,9,10,16,..
    Multi machine power system stability
    Mostafa Eidiani · Khorasan Institute of Higher Education

    You can see also this link


  • Imran Mabqool added an answer:
    How to do small signal stability analysis in Simpowersystem(MATLAB) using predefine models of the system?

    I am trying to build a model for kundur two area system and do small signal stability analysis in simpowersystem .The state variables in simpowersystem are different from the kundur as simpwer system takes state as curent of inductor and capacitors.  Any idea how to build state space as in kundur  would be greatly appreciated

    Imran Mabqool · Brandenburg University of Technology Cottbus - Senftenberg

    Thank you very much Morteza for your reply. I have already seen your paper you mentioned and its quite interesting but what i was hoping to get is linearizing the system in simpower system instead of simulink general environment using built in models as i am working on model reduction of the system for which i need system matrices and then i am hoping to simulate transient analysis with me reduce system

  • Lokesh Panwar added an answer:
    What are the current areas of stress in V2G technology?

    I am working on V2G model developments of power system. i want to know the current area of research in the field of V2G development.

    Lokesh Panwar · Malaviya National Institute of Technology Jaipur

    Thanks for sharing your thoughts.

    i think you are all working on V2G. 

  • Shian-Loong Bernard Lew added an answer:
    Can anyone suggest energy market simulations and share experiences?
    I am looking into available power market simulators (preferably to be used in the context of multi-agent systems).

    I am familiar with the AMES Wholesale Power Market Testbed (http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm) as well as with PowerWeb (http://www.pserc.cornell.edu/powerweb/) and MASCEM (from the university of Porto).

    Further suggestions?
    Shian-Loong Bernard Lew · Taylor's University

    pg 177-188 of the linked book

  • Ragavan Sn added an answer:
    Which is the latest Optimization technique for Power system problem solving?
    My project work is optimization in power system (like load flow, parameters and position finding, filter designing, fault location etc ) and I have used PSO (particle swarm optimization), different new improved version of PSO, HS (harmony search), and different new improved version of HS but I want a new technique, which will gives best results in comparison to all other existing Optimization technique. Please can anyone suggest a new technique which will give best result in comparison to other technique?
    Ragavan Sn · Sri Krishna College of Technology


  • Carlos da silveira added an answer:
    How can a model of a grid be represented having only the SCC of 300kVA?

    I am currently working on modelling a pv system on PSCAD, my next stage is to connect my circuit into the national grid and simulate an overall system. I only have the short circuit capacity of 300kVA. Thanks

    Carlos da silveira · Brunel University London

    Thanks Marteza.

    kind regards


  • Mostafa Eidiani added an answer:
    Where can I find the details about the IEEE standard power system models such as New England System?
    Mostafa Eidiani · Khorasan Institute of Higher Education


    Please see


  • Kandasamy kv added an answer:
    MATLAB Function block low speed ?

    I use a MATLAB Function block in simulink/simpowersystems and speed of my simulation get down very low. Please help me with this.

    Any solution exists for getting up simulation speed?

    How can I use an algoritthm in simpowersystems with high speed simulation?

    Kandasamy kv · Velammal Engineering College

    it depends on what block used. Please identify the appropriate block for the corresponding elements connected,because some time the block chosen itself gives slow run  of simulation time. You can check the properties of matlab and block to speed up. 

  • Morteza Shabanzadeh added an answer:
    Can anyone provide me with a high efficiency DC-DC converter simulator M-file or simulink file?

    I am working in the area of DC Microgrid in this regards I need a DC-DC converter. I will be thankful for this act of kindness.  

    Morteza Shabanzadeh · Tarbiat Modares University

    Dear Rajeev,

    I recommend you study the following manuscripts which are helpful for how to model Power Electronic devices using MATLAB programming and SIMULINK toolbox.


    Morteza Shabanzadeh


  • Gao Bo added an answer:
    How to make an interface between matlab and pscad?

    Hello, everyone I'm working on optimization of coordinating overcurrent relay I wrote allocation codes and optimization code in matlab but I need to recall mfiles in PSCAD. I want o know is that possible to link between matlab and pscad wich I able to use matlab codes in Pscad?

    Gao Bo · Harbin Institute of Technology

    How to use PSCAD in MATLAB?

  • Vasim Akram added an answer:
    Does anyone have a MATLAB code for QR method for evaluating Eigen Values and Eigen Vectors of a given matrix [A]?

    Power system simulation

    Vasim Akram · Sir C R Reddy College of Engineering

    thank you very much tahir sir

  • Burc Deleen added an answer:
    What is the advantage of using real time simulator in power system analysis?

    Does using real time simulator is essential in large power system analyzing ? why?

    Burc Deleen · TDi Systems Inc.

    Mr. Alhelou, can you tell us how system security and stability are improved?

  • Babak Ahmadzadeh added an answer:
    How can simulate the occurrence of three-phase short-circuit fault at the terminal of an isolated synchronous generator using programming in Matlab?

    The generator supplies a parallel RL load. The fault occurs at t1 and it is cleared at t2. The dynamic simulation interval includes pre-fault, fault, and post-fault conditions.

    Babak Ahmadzadeh · Isfahan University of Technology

    Hello Sandeep,

    Thanks for attached document. I viewed it. In your study, you have considered the SMIB system, but in the question, the synchronous generator has been supposed in the isolated situation. In other words, it has not  any connection to the infinite bus or upstream network.


  • Pouya Mahdavipour Vahdati added an answer:
    Can anyone help me to find a dataset of hyperbolic magnetization functions for representing saturation effects in synchronous generators?

    I intend to simulate synchronous generators dynamics under saturation conditions. As it is clear, the most accurate description of generator's behaviour in saturated conditions, is given by FAMILY of magnetizing curves (not just the one). Also, for implementing the saturation effects, I suppose it is better to represent the aforementioned family of curves by HYPERBOLIC functions. However, these functions are provided by manufacturers along with per unit data of generator, which I can't find anywhere. I need these functions to be in per unit quantities, as well as the data of generator.

    Thanks all for your kind attention.

    Pouya Mahdavipour Vahdati · Iran University of Science and Technology

    Dear Professor Sokalski,

    Thank you for your attention regarding my problem. I have briefly studied the book you have mentioned. Detailed and generic information regarding magnetic phenomenon and interactions is given in the book, with which one could specify functions for modelling saturation. However, derivation of functions for representation of saturation in synchronous generators, needs extensive information regarding physical aspects of the machine, which not only is in the scope of electric machinery design, but also is not easily available with required level of detail in general. Hence, for my purpose, the information has to be more case specific. For example, the data of a typical or prototype synchronous generator in per unit values, along with the saturation characteristics represented by appropriate functions.

    Nevertheless I sincerely appreciate your help and kind attention.

  • Jethro Betcke added an answer:
    How can find data of a real microgrid for designing an MPC-based controller?

    I want to design a EMS systems for a MicroGrid that determines real and reactive power set points for components of a real world MG, e.g. DGs, Compensators, Loads etc.

    I need all of the information/data about this MicroGrid for design a MPC-based controller.

    I prefer that this system includes a PV, a wind turbine, a diesel generator, and a battery storage device.

    Jethro Betcke · Carl von Ossietzky Universität Oldenburg

    Let me help you on the way:


  • Hajar Bagheri Tolabi added an answer:
    How can I solve the low speed of my simulation in simulink?

    I have a multi machine power system, and I had to simulate it by solving differential equations of the whole system in simulink, but the speed of the simulation is very low, how can I do this simulation in less time? 

    Hajar Bagheri Tolabi · Institute of Electrical and Electronics Engineers

    you can use the Discrete mode for solving the problem..Also selecting the appropriate initial value for each block can be useful..

Topic followers (4,505) See all