## 7 Conclusions  
In distribution networks in the last decade, in order to reduce the increasing amounts of harmonics, the possibilities of APFs were most often investigated. Their advantage is manifested in the continuous monitoring of harmonic currents and the generation of currents that successfully reduce unwanted harmonic currents and meet all the requirements prescribed by reference norms and standards. In an LV network with a significant number of nonlinear devices, integrating APFs requires the development of a method that would solve the problem of determining the position and optimal settings of the filter. An optimization approach is needed to encompass the entire LV network with its technical capabilities and the physical properties of the connected loads and sources. By determining the position and optimal settings of APFs through an optimization approach, this research aims to create an optimization framework that enables monitoring different network states through changes in power and associated harmonic spectra during the optimization problem for different load and source models. A comprehensive analysis of the research conducted using a co-simulation model for determining the optimal settings of active filters in a low-voltage network and the application of the created algorithm for determining the optimal settings of active filters in an LV network brought certain conclusions: The created model shows a larger number of harmonics on the buses (and nodes) in the depth of the network, which is proof of the justification of this method. The model shows an increased occurrence of 3 rd-order harmonics, which justifies the defined order of harmonic suppression: first triplen harmonics and then the remaining odd harmonics. The most common solution of the optimization procedure in the 24 observed time intervals was in nodes under ordinal numbers 41 and 25. The nodes are locations where the installation of APFs would ensure a satisfactory level of \(\mathit{THD_{\text{V}}}\) in all nodes of the test network during the vast majority of days. However, the authors see the solution in the multifunctional renewable energy source (MFRES) is one of the possible solutions. MFRES, as the latest generation devices, are renewable energy sources (RESs) with a multipurpose role that will play a significant role in future networks. Such REs are continuously being developed for more efficient use. Adding auxiliary services for converters in power systems, such as an active filter or BEES, is possible. Further research will undoubtedly be related to the possibilities of using MFRES, and further expansion of individual models of system elements and the addition of new ones is also planned. In addition to the above, the authors will focus their future research on the application of other metaheuristic methods and adding a financial aspect to the objective function. **Author Contributions:** Conceptualization, M.P. and H.A. ; Methodology, M.P., Z.K. and H.A. ; Formal analysis, M.P., H.A. and M.Z. ; Writing--original draft, M.P. and H.A. ; Writing--review & editing, Z.K. and M.Z. ; Funding acquisition, Z.K. All authors have read and agreed to the published version of the manuscript. The APC was funded by the Croatian Science Foundation under the project \"Prosumer-rich distribution power network\" (project number: UIP-2020-02-5796) and the European Union's Horizon Europe Framework Programme: HORIZONWIDERA-2023-ACCESS-04, Pathways to Synergies--Coordination and Support Actions--under the project name SynGRID--Creating synergies in Widening countries on the topic of low-voltage grid management (grant number 101160145). Not applicable. The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.