Building height (Water Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Maxim@tygron.com (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
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 building can have a different amount of floors.
}} </onlyinclude>
}} </onlyinclude>
}}
}}
__NOTOC__
__NOTOC__
===Building height===
===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:
The building height for the water overlay is calculated as follows:
: ''construction height = floors * FLOOR_HEIGHT_M''
: ''building 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 FLOOR_HEIGHT_M is the height of a single floor, and floors is the number of floors in the section.


===Building height in water model===
===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 model attribute (Water Overlay)|DESIGN_FLOOD_ELEVATION_M]]. Lower buildings retain their own building height. Taller constructions have their height capped at the [[Design flood elevation m model attribute (Water Overlay)|DESIGN_FLOOD_ELEVATION_M]] attribute's value.
The height of buildings is taken into account when computing the flow of water above ground. Building height is capped at [[Design flood elevation m (Water Overlay)|DESIGN_FLOOD_ELEVATION_M]]; shorter buildings retain their actual height.


{{article end
{{article end
Line 24: Line 24:
* [[Surface model (Water Overlay)]]
* [[Surface model (Water Overlay)]]
* [[Elevation model (Water Overlay)]]
* [[Elevation model (Water Overlay)]]
|api=*[[Api session event editor building set attribute]]
*[[Api session event editor functionoverride set attribute]]
}}
}}


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

Latest revision as of 12:27, 13 July 2026

Building height

The building height for the water overlay is calculated as follows:

building height = floors * FLOOR_HEIGHT_M

where FLOOR_HEIGHT_M is the height of a single floor, and floors is the number of floors in the section.

Building height in water model

The height of buildings is taken into account when computing the flow of water above ground. Building height is capped at DESIGN_FLOOD_ELEVATION_M; shorter buildings retain their actual height.