 Modern power engineering is facing new challenges due to the increased diversity of energy sources, particularly renewables. These changes require the use of advanced mathematical and IT methods to ensure reliable and efficient operations of the power grid. Existing problems include voltage profile changes, branch loading, power flow directionality, and quality of electricity production. To address these issues, advanced optimization and forecasting techniques must be used. This article was authored by Pawell Pajarski, Piotr Kasejko, and Piotr Miller.