Power Systems Simulation

Power Systems Simulation

  • Hamza Kerbouai added an answer:
    We are using magnetic Generators, Why can't we use electro static generators to produce Electric power?

    coil wound alternators are used everywhere to Generate electric power in all  kind generating stations.Though it is demonstrated by vande graf (static generator)  it is is not popular  in power generation. Let me know the limitations and constraints if any

    Hamza Kerbouai

    In nanotechnology, there are electrostatic generator !
    It is limited as a generator in the power stations seen their performance

  • Emad Bahra added an answer:
    How do I simulate a nonlinear model of a single machine infinite bus system in matlab?
    In addition to Simpower.
    Emad Bahra

    can you please send it for me too. Thanks

  • Noureddine Ould cherchali added an answer:
    How can I estimate Wind Velocity and Direction using Sentinel 1?

    Actually I'm trying to generate wind direction and velocity using sentinel
    1 images.
    But I'm having some problems.
    After processing the imaging, using Sentinel 1 toolbox (SNAP), we have been
    obtained this kind of image (see file attached). In this image appears
    wind direction (with ambiguity) and velocity in m/s.

    Where I tried to export these parameters those that are exported are in
    the .txt file attached.

    My questions is: 1 - How to extract the wind velocity from these image and
    export it in as made in .txt file attached ?
    2 - How eliminate the ambiguity in order to obtain the
    wind direction?

    Do you know anybody that is working in these theme using sentinel 1 data
    in order to help me.
    With my best regards,


    + 1 more attachment

    Noureddine Ould cherchali

    I would like to help you but not enough time for me for that click in the link below. it can help you:

  • Sunny Singh added an answer:
    Why we need earthing if my source is delta connected/isolated star connected ?

    Earthing is return path. If my source is isolated from earth we don't need earthing. Then why we use earthing based system?

    Sunny Singh

    Dear Sanjay , the system become more unstable if the ground fault occure in grounded system because of heavy current flow through grounded phase. so in such case generation become stable.

    On other hand single phasing on load side occure in grounded and ungrounded system but ungrounded system is more reliable if we consider voltage regulation generation , power angle etc 

  • Shreya Dutta asked a question:
    Is it possible to develop models within Simulink (without using Matlab code) for load flow calculation, load forecasting and optimal power flow?

    For our project, we need to explore the possibility of developing functional blocks for load flow, load forecasting, optimal power flow, etc. in Simulink, without using Matlab code so that the functions can be easily converted as function blocks to hardware using other software. Is it feasible? 

  • Debasish Mondal 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

    Debasish Mondal

    You follow this book. It is presented your problem in very lucid way. you can easily understand and derive state space model of any multimachine power system.

    " Power System Small signal Stability Analysis and Control"  by

    D. Mondal, A. Chkrabarti, A. Sengupta, 

  • Debasish Mondal added an answer:
    Any advice on optimal location of facts and DG?

    if i have solve optimal power flow problem for following function
    1. fuel cost
    2. active power loss minimization
    3. reactive power loss
    4. voltage deviation minimization
    5.Lmax improvement

    how to find out where optimal location of DG-TCSC-SVC-UPFC-IPFC-STATCOM-DSTATCOM

    and which case improvement when find its optimal location

    Debasish Mondal

    you can for optiumization of any one of the said objective or may solve for multiobjective optimization problem

  • Debasish Mondal added an answer:
    How can I design hardware for Power system stabilizer in power system?

    i have worked on design of PSS for SMIB and multimachine system.

    At present my task, design hardware of PSS in power plants.

    plz provide best suggestion to solve above problem.

    Debasish Mondal

    You can follow this book:

    Power System Small Signal Stability Analysis and Control 
    by Debasish Mondal (Author), Abhijit Chakrabarti (Author), Aparajita Sengupta (Author)

  • Imam Robandi added an answer:
    How to use McPat power simulator to perform power simulation of any benchmark program?

    What is the process to carry out power simulation of any benchmark program using McPat simulator. How to get counter values need to be configured in xml file which is needs to be provided as input to simulator and how to get ptrace fie as output.

    Imam Robandi
    1. McPat software is not common for me, we use MATLAB for dynamics problem
  • Mohammed Abdeldjalil DJEHAF added an answer:
    Can you suggest to me a reference paper on vsc hvdc load flow algorithm for initial level ?


    Mohammed Abdeldjalil DJEHAF

    Dear Sunil,

    maybe this file can help you

    good luck

  • Frank Joswig added an answer:
    When modeling a Permanent Magnet Synchronous Machine in SimPowerSystems, how can I calculate Ld(H), Lq(H), Ra, Tm/Imax ratio from machine ratings?

    The machine ratings are 415v(ph-ph,rms),7.5HP or 5.5kw, sinusoidal back EMF configuration. 

    Frank Joswig

    You could try to extract these values from short circuit or directly from the magnetic circuit of the machine. Rated values are therefore useless.

  • Rajagopalan Raghavan added an answer:
    How can two renewable energy sources interconnected?
    Eg. A solar array and a wind turbine are to be interconnected... Can they be connected directly in parallel or does some special arrangement have to be made while connecting them... Can both the sources work simultaneously?
    Rajagopalan Raghavan

    Parallel operation of Different renewable energy sources are possible and this is a basic requirement especially when we are talking of green energy and atmospheric pollution due to normal energy sources.   The decision on interconnection has tobe taken based on the grid to which these sources are getting connected and the impact of addition of these sources on the system.   Normally interconnecting at ac level could be conveniently adopted,

  • Bala Dabhade added an answer:
    How to generate ptrace file from wattch power simulator which is used as input to hotspot?

    I want to to generate the power trace input file for HotSpot.

    I am using Wattch power simulator. Wattch doesn't generate the power trace for directly.

    can any one help me what changes required in wattch source code to generate ptrace file

    Bala Dabhade

    Hello Aripriharta Sir,

    I am simulating c program compiled for alpha (A6) architecture using gcc cross compiler.

    My goal is to generate thermal profile of c program(any c application). I am able to get power statistics from wattch but I need ptrace file which I can use as input for HotSpot to get thermal profile along with floor plan. I have floor plan ready for alpha-A6.

    I found may places we need to change the code of wattch simulator to get the ptrace file, however I am not able to figure out where to do exact changes so that i can get power trace file in wattch code.

  • Sandeep Biswal added an answer:
    Does anybody know Matlab codes for optimal placement and sizing of DG ?
  • Mayur Sailor added an answer:
    How can i get a data sheet for IEEE 24 Bus test system with per unit values ?

    I need to perform Power flow on IEEE 24 Bus system using PSAT Tool in MATLAB. And for that i need proper data sheet of IEEE 24 BUS test system.

    Mayur Sailor

    thank you so much Tapan Prakash for your answer &  attachment.

  • Mahamad Nabab Alam 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?
    Mahamad Nabab Alam

    Algorithm References Inventor&Year
    1. Ant colony optimization (ACO) ; I Dorigo and Stutzle (2004)
    2. Artificial immune system optimization; Cutello and Nicosia (2002)
    3. Bacterial foraging optimization ; Kim, Abraham and Cho (2007)
    4. Bee optimization ; Karaboga and Bosturk (2007)
    Pham et al (2006)
    5. Cuckoo algorithm ; Yang and Deb (2009, 2010)
    6. Differential evolution (DE) ; Storn and Price (1995, 1997)
    7. Firefly optimization ; Yang (2010)
    8. Fish optimization ; Huang and Zhou (2008)
    9.Genetic algorithms (GA) ; Haupt and Haupt (2004)
    10.Particle swarm optimization (PSO), Binary Particle Swarm Optimization (BPSO); Eberhart and Kennedy (1995)
    11.Raindrop optimization ; Shah-Hosseini (2009)
    12.Simulated annealing ; Kirkpatrick, Gelatt and Vecchi (1983)
    13.Biogeography-based optimization (BBO),
    14. Chemical reaction optimization (CRO)
    15. A group search optimizer (GSO),
    16. Imperialist algorithm
    17. Swine flow Optimization Algorithm.
    18. Teaching Learning Based Optimization(TLBO)
    19. Bayesian Optimization Algorithms (BOA)
    20. Population-based incremental learning (PBIL)
    21. Evolution strategy with covariance matrix adaptation (CMA-ES)
    22. Charged system search Optimization Algorithm
    23. Continuous scatter search (CSS) Optimization Algorithm
    24. Tabu search Continuous Optimization
    25. Evolutionary programming
    26. League championship algorithm
    27. Harmony search Optimization algorithm
    28. Gravitational search algorithm Optimization
    29. Evolution strategies Optimization
    30. Firework algorithm, Ying Tan, 2010
    31. Big-bang big-crunch Optimization algorithm, OK Erol, 2006
    32. Artificial bee colony optimization (ABC), Karaboga,2005
    33. Backtracking Search Optimization algorithm (BSA)
    34. Differential Search Algorithm (DSA) (A modernized particle swarm optimization algorithm)
    35. Hybrid Particle Swarm Optimization and Gravitational Search Algorithm (PSOGSA)
    36. Multi-objective bat algorithm (MOBA) Binary Bat Algorithm (BBA)
    37. Flower Pollination Algorithm
    38. The Wind Driven Optimization (WDO) algorithm
    39. Grey Wolf Optimizer (GWO)
    40. Generative Algorithms
    41. Hybrid Differential Evolution Algorithm With Adaptive Crossover Mechanism
    42.Lloyd's Algorithm
    43.One Rank Cuckoo Search (ORCS) algorithm: An improved cuckoo search optimization algorithm
    44. Huffman Algorithm
    45. Active-Set Algorithm (ASA)
    46. Random Search Algorithm
    47. Alternating Conditional Expectation algorithm (ACE)
    48. Normalized Normal Constraint (NNC) algorithm

    What are the recently invented Evolutionary algorithms (EAs)/ Optimization method? Which method you found en effective method ? - ResearchGate. Available from: https://www.researchgate.net/post/What_are_the_recently_invented_Evolutionary_algorithms_EAs_Optimization_method_Which_method_you_found_en_effective_method [accessed Nov 16, 2015].

  • Jeremy Lin added an answer:
    Any advice on an infeasible solution for reduced gradient less than tolerance?

    Dear all ;

    Am working on MINLP to minimize the total power losses of the network.

    All the used equations were typed correctly.But when i run the GAMS code it gives this error : Infeasible solution. Reduced gradient less than tolerance?

    I need assistance in that error ?

    Best Regards.


    Jeremy Lin

     Yes, it is not easy to solve MINLP problem. One has to be very familiar with solution method. If MINLP does not work, consider linearizing the non-linear part and solve it with LP algorithm, where the solution is global optimum. With MINLP, the optimal solution may not be global optimum.

    Sorry for replying so late......

  • Bala Dabhade added an answer:
    How to calculate power usage of single C program running on desktop ?

    I have a C program running on a linux platform and I have to measure the power consumption of program. Please suggest a power simulator apart from XEEMU and Wattch. I basically want it for power optimization at software level work.

    Bala Dabhade

    Thanks a lot for everyone for your quick help its really helped me to get more insight into topic.

    My research area is related to code optimization for low power(reducing switching activity to reduce dynamic power dissipation). For validation purpose, I need a tool which can give me power usage before and after optimization. There are few tools like XEEMU or Wattch available but they are working  on linux 64 machine.

    Can you please suggest some more open source tools available or any better technique for validation


  • Ashu Taneja added an answer:
    Can someone please tell me the steps to follow when performing a simulation on power consumption of multi-user systems with matlab?

    I am working on reducing the power consumption of multi-user systems .Can anyone provide me with the steps to be followed while writing its code for simulation in matlab?

    Ashu Taneja

    By "Multi-User Systems" i mean  Multi-user wireless communication systems with base station with number of antennas serving number of terminals.

    And Power consumption includes both the transmit power and RF circuit power.

  • Srete Nikolovski added an answer:
    Is there any practical data or literature where the accelerating time from zero to nominal speed for turbo generators can be found?

    Generators are rated power from 3-50 MW. In attachment is one test diagram for 5 MW generator

    Srete Nikolovski

    Dear Gabriel. Thank you

    That is it. I have found answers on Fig 11 in the first and Fig 12 in the second paper which confirm our measurements for 5 MW steam generator which time was 40 min.


  • Pouyan Asgharian 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?

    Pouyan Asgharian

    Hi ,

    i have this problem too!if you find your answer , please help me.

    thanks alot

  • Mostafa Eidiani added an answer:
    Which is the best method to analyze both voltage stability and transient stability in normal IEEE systems?
    Voltage stability analysis by using continuous power flow analysis, transient stability analysis in the equal area criteria and swing equation. I want to know, if any analysis method is available to find both voltage and transient stability at the same time?
    Mostafa Eidiani


    Please download my paper:



    • Source
      [Show abstract] [Hide abstract]
      ABSTRACT: This paper presents a fast and accurate dynamic method for ATC calculations considering transient stability analysis (TSA) and voltage stability analysis (VSA) termination criteria (CTV method). This method can be used for contingency screening and ranking. Estimation of the determinant of Jacobian matrix is used for assessment of voltage stability. This method is compared with the following methods: energy difference between SEP (stable equilibrium point) and UEP (unstable equilibrium point), ts index of Chiang, and continuation power flow. The TSA method uses Athay's PEBS (potential energy boundary surface) and a new method named POMP. The POMP method follows the Point Of Maximum Potential energy on post-fault system trajectory. This point is approximated by Taylor's expansion of second order. Because this method does not use any convergent algorithm, it is more reliable than all existing methods that use UEP. The goals of this method are assessment of ATC considering VSA and TSA and assessment of dangerous contingencies. The ideas are demonstrated on 2, 3, 7 (Cigre), 10, 30 (IEEE) and 145 (Iowa State) bus networks.
      Full-text · Article · Jan 2006 · International Journal of Power and Energy Systems
  • 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

    Phew! Here it is - finally?

  • Fayas Ahamed added an answer:
    Can someone suggest a Dc microgrid test bench system, tested for telecommunication loads?

    Simulations done using PSCAD/EMTDC is preferable. 

    Fayas Ahamed

    Thanks for the tip Saeed.

  • Ammar Mishal added an answer:
    Can anyone explain how to create subsystem In PSCAD?

    Hi, can anyone explain how to create subsystem in Pscad?

    Ammar Mishal

    I have tried to do the same steps that you described but I did not success so please help me more

  • Mahamad Nabab Alam 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?
    Mahamad Nabab Alam

    google search can provide it. The following links may be useful:






  • 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

    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

    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

    I think CYME DIST can be useful..

  • 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

    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.

Topic followers (4,488) See all