A Buffalo mechanical engineering company has acquired a Lancaster industrial firm to help expand its green energy solutions capabilities and tap into the renewable natural gas market.