摘要:The performance of a power system can be measured and evaluated by its power flow analysis. Along with the penetration of renewable energies such as wind and solar, the power flow problem has become a complex optimization problem. In addition to this, constraint handling is another challenging task of this problem. The main critical problem of this dynamic power system having such variable energy sources is the intermittency of these VESs and complexity of constraint handling for a real-time optimal power flow (RT-OPF) problem. Therefore, optimal scheduling of generation sources with constraint satisfaction is the main goal of this study. Hence, a renewable energy forecasting–based, day-ahead dynamic optimal power flow (DA-DOPF) is presented in this paper with the forecasting of solar and wind patterns by using artificial neural networks. Moreover, contribution factors are calculated using triangular fuzzy membership function (T-FMF) in the sub-interval time slots. Furthermore, the superiority of feasible (SF) solution constraint handling approach is used to avoid the constraint violation of inequality constraints of optimal power flow. The IEEE 30-bus transmission network has been amended to integrate a solar photovoltaic and wind farm in different buses. In this approach, the computing program is based on MATPOWER which is a tool of MATLAB for load flow analysis which uses the Newton–Raphson technique because of its rapid convergence. Meteorological information has been gathered during the time frame January 1, 2015, to December 31, 2017, from Danyore Weather Station (DWS) at Hunza, Pakistan. A Levenberg–Marquardt calculation–based artificial neural network model is utilized to foresee the breeze speed and sunlight-based irradiance in light of its versatile nature. Finally, the results are discussed analytically to select the best generation schedule and control variable values.