Electrical power system simulation involves power system modeling and network simulation in order to analyze electrical power systems using design/offline or real-time data. Power system simulation software's are a class of
computer simulation
Computer simulation is the process of mathematical modelling, performed on a computer, which is designed to predict the behaviour of, or the outcome of, a real-world or physical system. The reliability of some mathematical models can be dete ...
programs that focus on the operation of electrical power systems. These types of computer programs are used in a wide range of planning and operational situations for electric power systems.
Applications of power system simulation include: long-term generation and transmission expansion planning, short-term operational simulations, and market analysis (e.g. price forecasting).
These programs typically make use of
mathematical optimization
Mathematical optimization (alternatively spelled ''optimisation'') or mathematical programming is the selection of a best element, with regard to some criterion, from some set of available alternatives. It is generally divided into two subfi ...
techniques such
linear programming
Linear programming (LP), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear relationships. Linear programming is ...
,
quadratic programming
Quadratic programming (QP) is the process of solving certain mathematical optimization problems involving quadratic functions. Specifically, one seeks to optimize (minimize or maximize) a multivariate quadratic function subject to linear constr ...
, and
mixed integer programming
Linear programming (LP), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear relationships. Linear programming is ...
.
Multiple elements of a power system can be modelled. A
power-flow study calculates the loading on transmission lines and the power necessary to be generated at generating stations, given the required loads to be served. A short circuit study or fault analysis calculates the
short-circuit current that would flow at various points of interest in the system under study, for short-circuits between phases or from energized wires to ground. A coordination study allows selection and setting of
protective relay
In electrical engineering, a protective relay is a relay device designed to trip a circuit breaker when a fault is detected. The first protective relays were electromagnetic devices, relying on coils operating on moving parts to provide detec ...
s and fuses to rapidly clear a short-circuit fault while minimizing effects on the rest of the power system. Transient or dynamic stability studies show the effect of events such as sudden load changes, short-circuits, or accidental disconnection of load on the synchronization of the generators in the system. Harmonic or power quality studies show the effect of non-linear loads such as lighting on the waveform of the power system, and allow recommendations to be made to mitigate severe distortion. An optimal power-flow study establishes the best combination of generating plant output to meet a given load requirement, so as to minimize production cost while maintaining desired stability and reliability; such models may be updated in near-real-time to allow guidance to system operators on the lowest-cost way to achieve
economic dispatch
The merit order is a way of ranking available sources of energy, especially electrical generation, based on ascending order of price (which may reflect the order of their short-run marginal costs of production) and sometimes pollution, together ...
.
There are many power simulation software packages in commercial and non-commercial forms that range from utility-scale software to study tools.
Load flow calculation
The load-flow calculation is the most common network analysis tool for examining the undisturbed and disturbed network within the scope of operational and strategic planning.
Using network topology, transmission line parameters, transformer parameters, generator location and limits, and load location and compensation, the load-flow calculation can provide voltage magnitudes and angles for all nodes and loading of network components, such as cables and transformers. With this information, compliance to operating limitations such as those stipulated by voltage ranges and maximum loads, can be examined. This is, for example, important for determining the transmission capacity of underground cables, where the influence of cable bundling on the load capability of each cable has to be taken also into account.
Due to the ability to determine losses and reactive-power allocation, load-flow calculation also supports the planning engineer in the investigation of the most economical operation mode of the network.
When changing over from single and/or multi-phase infeed low-voltage meshed networks to isolated networks, load-flow calculation is essential for operational and economical reasons. Load-flow calculation is also the basis of all further network studies, such as motor start-up or investigation of scheduled or unscheduled outages of equipment within the outage simulation.
Especially when investigating motor start-up, the load-flow calculation results give helpful hints, for example, of whether the motor can be started in spite of the voltage drop caused by the start-up current.
Short circuit analysis
Short circuit analysis analyzes the power flow after a
fault occurs in a power network. The faults may be three-phase short circuit, one-phase grounded, two-phase short circuit, two-phase grounded, one-phase break, two-phase break or complex faults. Results of such an analysis may help determine the following:
# Magnitude of the fault current
# Circuit breaker capacity
# Rise in voltage in a single line due to ground fault
# Residual voltage and relay settings
# Interference due to power line.
Transient stability simulation
The goal of transient stability simulation of power systems is to analyse the stability of a power system from sub-second to several tens of seconds. Stability in this aspect is the ability of the system to quickly return to a stable operating condition after being exposed to a disturbance such as for example a tree falling over an overhead line resulting in the automatic disconnection of that line by its protection systems. In engineering terms, a power system is deemed stable if the substation voltage levels and the rotational speeds of motors and generators return to their normal values in a quick and continuous manner.

Models typically use the following inputs:
* Number, size and type of generators with any available mechanical, electrical, and control (governor, voltage regulation, etc.) parameters,
* a mix of residential, commercial and industrial load at each bus,
* location and specifications for distributed control devices such as tap-changing transformers, switched shunt compensation, static Var compensators, flexible AC transmission systems, etc.,
* location and specifications for protection devices such as relays and load shedding, and
* location and specifications of any other relevant control and/or protection devices.
The acceptable amount of time it takes grid voltages return to their intended levels is dependent on the magnitude of voltage disturbance, and the most common standard is specified by the CBEMA curve in Figure. 1. This curve informs both electronic equipment design and grid stability data reporting.
Unit commitment
The problem of
unit commitment involves finding the least-cost dispatch of available generation resources to meet the electrical load.
Generating resources can include a wide range of types:
#
Nuclear
Nuclear may refer to:
Physics
Relating to the nucleus of the atom:
*Nuclear engineering
*Nuclear physics
*Nuclear power
*Nuclear reactor
*Nuclear weapon
*Nuclear medicine
*Radiation therapy
*Nuclear warfare
Mathematics
*Nuclear space
* Nuclear ...
#
Thermal
A thermal column (or thermal) is a rising mass of buoyant air, a convective current in the atmosphere, that transfers heat energy vertically. Thermals are created by the uneven heating of Earth's surface from solar radiation, and are an example ...
(using coal, gas, other
fossil fuels, or
biomass
Biomass is plant-based material used as a fuel for heat or electricity production. It can be in the form of wood, wood residues, energy crops, agricultural residues, and waste from industry, farms, and households. Some people use the terms biom ...
)
#
Renewables
Renewable energy is energy that is collected from renewable resources that are naturally replenished on a human timescale. It includes sources such as sunlight, wind, the movement of water, and geothermal heat. Although most renewable energy ...
(including hydro, wind, wave-power, and solar)
The key decision variables that are decided by the computer program are:
#Generation level (in megawatts)
#Number of generating units ''on''
The latter decisions are binary , which means that the mathematical problem is not continuous.
In addition, generating plants are subject to a number of complex technical constraints, including:
#Minimum stable operating level
#Maximum rate of ramping up or down
#Minimum time period the unit is ''up'' and/or ''down''
These constraints have many different variants; all this gives rise to a large class of
mathematical optimization problems.
Optimal power flow
Electricity flows through an AC network according to
Kirchhoff's Laws. Transmission lines are subject to thermal limits (simple megawatt limits on flow), as well as voltage and
electrical stability
Electricity is the set of physics, physical Phenomenon, phenomena associated with the presence and motion of matter that has a property of electric charge. Electricity is related to magnetism, both being part of the phenomenon of electromagne ...
constraints.
The simulator must calculate the flows in the AC network that result from any given combination of unit commitment and generator megawatt dispatch, and ensure that AC line flows are within both the thermal limits and the voltage and stability constraints. This may include contingencies such as the loss of any one transmission or generation element - a so-called security-constrained optimal power flow (SCOPF), and if the unit commitment is optimized inside this framework we have a security-constrained unit commitment (SCUC).
In optimal power flow (OPF) the generalised scalar objective to be minimised is given by:
:
where ''u'' is a set of the control variables, ''x'' is a set of independent variables, and the subscript 0 indicates that the variable refers to the pre-contingency power system.
The SCOPF is bound by equality and inequality constraint limits. The equality constraint limits are given by the pre and post contingency power-flow equations, where ''k'' refers to the ''k''th contingency case:
:
The equipment and operating limits are given by the following inequalities:
:
represent hard constraints on controls
:
represents hard/soft constraints on variables
:
represents other constraints such as reactive reserve limits
The objective function in OPF can take on different forms relating to active or reactive power quantities that we wish to either minimise or maximise. For example we may wish to minimise transmission losses or minimise real power generation costs on a power network.
Other power flow solution methods like stochastic optimization incorporate the uncertainty found in modeling power systems by using the probability distributions of certain variables whose exact values are not known. When uncertainties in the constraints are present, such as for dynamic line ratings, chance constrained optimization can be used where the probability of violating a constraint is limited to a certain value. Another technique to model variability is the
Monte Carlo method
Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be deter ...
, in which different combinations of inputs and resulting outputs are considered based on the probability of their occurrence in the real world. This method can be applied to simulations for system security and unit commitment risk, and it is increasingly being used to model probabilistic load flow with renewable and/or distributed generation.
Models of competitive behavior
The cost of producing a megawatt of electrical energy is a function of:
#fuel price
#generation efficiency (the rate at which potential energy in the fuel is converted to electrical energy)
#operations and maintenance costs
In addition to this, generating plant incur fixed costs including:
#plant construction costs, and
#fixed operations and maintenance costs
Assuming
perfect competition, the market-based price of electricity would be based purely on the cost of producing the ''next'' megawatt of power, the so-called ''short-run marginal cost'' (SRMC). This price however might not be sufficient to cover the fixed costs of generation, and thus power market prices rarely show purely SRMC pricing. In most established power markets, generators are ''free'' to offer their generation capacity at prices of their choosing. Competition and use of financial contracts keeps these prices close to SRMC, but inevitably offers price above SRMC do occur (for example during the
California energy crisis
California is a state in the Western United States, located along the Pacific Coast. With nearly 39.2million residents across a total area of approximately , it is the most populous U.S. state and the 3rd largest by area. It is also the mo ...
of 2001).
In the context of power system simulation, a number of techniques have been applied to simulate
imperfect competition In economics, imperfect competition refers to a situation where the characteristics of an economic market do not fulfil all the necessary conditions of a perfectly competitive market. Imperfect competition will cause market inefficiency when it hap ...
in electrical power markets:
#Cournot competition
#Bertrand competition
#Supply function equilibrium
#Residual Supply Index analysis
Various
heuristics
A heuristic (; ), or heuristic technique, is any approach to problem solving or self-discovery that employs a practical method that is not guaranteed to be optimal, perfect, or rational, but is nevertheless sufficient for reaching an immediate, ...
have also been applied to this problem. The aim is to provide ''realistic'' forecasts of power market prices, given the forecast supply-demand situation.
Long-term optimization
Power system long-term optimization focuses on optimizing the multi-year expansion and retirement plan for generation, transmission, and distribution facilities. The optimization problem will typically consider the long term investment cash flow and a simplified version of OPF / UC (Unit commitment), to make sure the power system operates in a secure and economic way. This area can be categorized as:
#Generation expansion optimization
#Transmission expansion optimization
#Generation-transmission expansion co-optimization
#Distribution network optimization
Study specifications
A well-defined power systems study requirement is critical to the success of any project as it will reduce the challenge of selecting the qualified service provider and the right analysis software. The system study specification describes the project scope, analysis types, and the required deliverable. The study specification must be written to match the specific project and industry requirements and will vary based on the type of analysis.
Power system simulation software
General Electric
General Electric Company (GE) is an American multinational conglomerate founded in 1892, and incorporated in New York state and headquartered in Boston. The company operated in sectors including healthcare, aviation, power, renewable energ ...
's MAPS (Multi-Area Production Simulation) is a production simulation model used by various
Regional Transmission Organizations and
Independent System Operator
A regional transmission organization (RTO) in the United States is an electric power transmission system operator (TSO) that coordinates, controls, and monitors a multi-state electric grid. The transfer of electricity between states is considere ...
s in the United States to plan for the economic impact of proposed electric transmission and generation facilities in FERC-regulated electric wholesale markets.
Portions of the model may also be used for the commitment and dispatch phase (updated on 5 minute intervals) in operation of wholesale electric markets for RTO and ISO regions.
ABB's PROMOD is a similar software package.
These ISO and RTO regions also utilize a GE software package called MARS (Multi-Area Reliability Simulation) to ensure the power system meets reliability criteria (a
loss of load expectation (LOLE) of no greater than 0.1 days per year). Further, a GE software package called PSLF (Positive Sequence Load Flow),
Siemens software packages called PSSE (Power System Simulation for Engineering) as well as PSS SINCAL (Siemens Network Calculator), and
Electrical Transient Analyzer Program
Electrical Transient Analyzer Program (ETAP) is an electrical network modeling and simulation software tool used by power systems engineers to create an "electrical digital twin" and analyze electrical power system dynamics, transients and p ...
(ETAP) by Operation Technology Inc. analyzes load flow on the power system for short-circuits and stability during preliminary planning studies by RTOs and ISOs.
References
{{reflist
Electric power