This paper discusses the optimal sizing and placement of offshore wind farms and D-STATCOM devices within a coastal distribution power system, specifically modeled on an IEEE 33-bus system. A multi-objective optimization framework is employed, utilizing a teaching-learning algorithm to enhance reactive power compensation and minimize costs while ensuring voltage stability and network security. The results from MATLAB simulations indicate that the proposed methods yield efficient placements and improve overall system performance.