If it is a natural vent type water heater you can not vent it through the side wall it has to vent above the roof.
Water heater vent height above roof.
Not expecting anyone to remember the chart just that b vent is 1 2 8.
Other issue is the bathroom installation which isn t permitted as well unless the water heater closet is sealed from the bathroom area air tight doors and it has a separate fresh air supply from exterior or other areas of the house that can be used for this purpose.
Used where the midpoint of a gable roof would have more than 7 8 feet of run to the ridge.
That would be 30 of rise above the roof at the roof plus the 24 if you.
It is reasonable to assume that higher in the flue temperatures are much lower.
Home the vent and the water heater heater check the manufactures listing on the materials.
Manufacturers recommendations usually take precedence over local building codes but you won t know for sure which takes precedence or what those manufacturers recommendations are.
The difference is that a power vent water heater pulls in combustion air from the space around the appliance then uses a fan to propel the exhaust through the vent.
The 2 10 rule states that combustion vents should terminate at least 2 feet above any part of the roof within 10 feet.
All other gas vents shall terminate not less than 2 feet 610 mm above the highest point where they pass through the roof and at least 2 feet 610 mm higher than any portion of a building within 10 feet 3048 mm.
B vent height above roof that s why i made the b vent rule of 1 2 8 to remember it from the chimney rule of 3 2 10.
The average being about 6 foot.
Open vent pipes that extend through a roof shall be terminated at least 6 inches 152 mm above the roof or 6 inches 152 mm above the anticipated snow accumulation whichever is greater except that where a roof is to be used for any purpose other than weather protection the vent extension shall be run at least 7 feet 2134 mm above the roof.
The vent shall terminate a minimum 12 above the roof through flashing at the roof and terminate in a listed and passageway to the appliance shall not exceed 20 where the height of the access document.
Exhaust gases are vented outdoors through a separate vent duct or through a separate chamber of the same pipe this requires a double wall vent duct.
With a direct vent system air for combustion is drawn from a vent pipe that runs through an exterior wall or the roof.
The at the 1 means 1 foot minimum for 6 12 and under and then goes up according to that chart.