Building height (Water Overlay): Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{construction attributes
{{building attributes
| <onlyinclude>
| <onlyinclude>
{{building attributes|type=row|group=Water Overlay
{{building attributes|type=row|group=Water Overlay
Line 5: Line 5:
  |unit=m
  |unit=m
  |functionvalue=Floor height (m)
  |functionvalue=Floor height (m)
  |description=The height of a floor in a construction. Additionally each section of a construction can have a different amount of floors.
  |description=The height of a floor in a building. Additionally each section of a construction can have a different amount of floors.
}} </onlyinclude>
}} </onlyinclude>
}}
}}
Line 12: Line 12:
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:
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:
: ''construction height = floors * FLOOR_HEIGHT_M''
: ''construction height = floors * FLOOR_HEIGHT_M''
where the FLOOR_HEIGHT_M is the construction's attribute value which dictates the height of an individual floor, and floors is the amount of floors of the construction's section.
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===
===Building height in water model===
Line 26: Line 26:
}}
}}


{{WaterOverlay hydrological construction attribute nav}}
{{WaterOverlay hydrological building attribute nav}}

Revision as of 09:57, 5 October 2022

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:

construction 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 constructions have their height capped at the DESIGN_FLOOD_ELEVATION_M attribute's value.