Building height (Water Overlay): Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 5: Line 5:
  |unit=m
  |unit=m
  |functionvalue=Floor height (m)
  |functionvalue=Floor height (m)
  |description=The height of a floor in a building. Additionally each section of a building can have a different amount of floors.
  |description=The height of a floor in a [[building]]. Additionally each [[section]] of a building can have a different amount of floors.
}} </onlyinclude>
}} </onlyinclude>
}}
}}

Latest revision as of 12:19, 27 February 2023

Building height

Though not an explicit attribute or function value in and of itself, the height of a building for the water overlay is calculated as follows:

building height = floors * FLOOR_HEIGHT_M

where the FLOOR_HEIGHT_M is the building's attribute value which dictates the height of an individual floor, and floors is the amount of floors of the building's section.

Building height in water model

The height of buildings is taken into account when computing the flow of water above ground. Buildings are computed to have at most a height of DESIGN_FLOOD_ELEVATION_M. Lower buildings retain their own building height. Taller buildings have their height capped at the DESIGN_FLOOD_ELEVATION_M attribute's value.