Power system simulation
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 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 techniques such linear programming, quadratic programming, and mixed integer programming. 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 relays 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. 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
Thermal (using coal, gas, other fossil fuels, or biomass)
Renewables (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 {0,1}, 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 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 kth 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, 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 of 2001). In the context of power system simulation, a number of techniques have been applied to simulate imperfect competition in electrical power markets:
Cournot competition
Bertrand competition
Supply function equilibrium
Residual Supply Index analysis

Various heuristics 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's MAPS (Multi-Area Production Simulation) is a production simulation model used by various Regional Transmission Organizations and Independent System Operators 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 (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 

Electric power