Generally speaking, the building safety code stipulates that drilling holes in foundation beams and load-bearing beams is not allowed. In principle, at most 3-4 holes should be drilled on a load-bearing beam, and the positions of the holes should not be too concentrated. 20 cm high beam shall not be drilled up and down, and 5 cm lower beam shall not be drilled.
Clearly mark each hole and observe the trend of hydropower pipeline. Try to punch holes on both sides of the beam, and the stress on both sides is small.