The minimum height you need for your simulator would be 8.5ft (2.59m) and a comfortable height more like 10ft.
Height is comfortably the most important dimension when planning a golf simulator room. If your ceiling is too low for you to swing a club your simulator build journey ends here.
You should be able to take a full swing with your driver and not feel any anxiety about hitting a wall or ceiling.