Applied Medical, a surgical device maker, has finished work on a 2.94-megawatt solar system at its headquarters in Rancho Santa Margarita.

The system was designed and built by REC Solar and consists of rooftop arrays on eight buildings. Combined, they will generate almost 5 million kilowatt hours of electricity annually, enough to power more than 370 homes, or about 15 percent of the facility’s energy.

“We do everything — from product design to development to manufacturing — in-house, and it is a natural fit to also generate our own power onsite,” said Zoran Falkenstein, acting group president of Advanced Technologies at Applied Medical.

The undisclosed investment by Applied Medical supports the company’s sustainability efforts to reduce carbon emissions, conserve energy and water, and reduce waste.

Applied Medical in a statement said other sustainable initiatives at its Orange County facilities include using a fuel cell, a cogeneration system, a water chiller system, and programs to reduce packaging waste. Combined, the solar and other technologies generate over 40 percent of the power at Applied Medical’s headquarters from renewable energy sources.

Founded in 1987, Applied Medical says its global team includes 3,500 employees and its products serve customers in more than 75 countries.

REC Solar is based in San Luis Obispo and touts 600 solar installations over 20 years.