Weir angle (Water Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{overlay attribute
[[File:Weir_angle_explain_(Water_Overlay).png|thumb|right|x300px|Weir placed along a waterway. Elevation is raised along the line perpendicular to the weir angle.]]
|key=[[Weir_angle_(Water_Overlay)|WEIR_ANGLE]]
{{Overlay keys|<onlyinclude>
{{Overlay keys|type=row|group=Water Overlay
|key=WEIR_ANGLE
|unit={{geoangle}}
|unit={{geoangle}}
|description=The top down orientation angle of the weir.
|description=The top down orientation angle of the [[Weir (Water Overlay)|weir]].
|defaultvalue=0
|defaultvalue=0
|icon=[[File:waterwizard_icon_weir_angle.png]]
|icon=waterwizard_icon_weir_angle.png
|range=-{{doublemaxvalue}} to {{doublemaxvalue}}
}}</onlyinclude>}}
 
The weir angle converts point-based weir data into a line, defining the direction of water flow across the weir during the simulation.
In the Water Wizard a weir angle is automatically generated. There are currently 4 options on how this is (automatically) generated:
# The weir is located on the edge of 2 water level areas. The weir is then automatically installed correctly and no message is displayed. Note that while weirs are automatically oriented, the waterways are not blocked, allowing water to flow past them. Therefore, it is recommended to use a dataset where the attribute is already present to ensure the block is in effect.
# The weir is located in exactly 1 level area. Then the warning appears that the weir has no angle, with the option to fix it.
# The weir is located in exactly 0 level areas. Then a comment is displayed about the absence of a water level area.
# The weir angle attribute is pre-added to a dataset and this dataset is imported into the project. No angle needs to be generated automatically.
 
[[File:Set_Multi_Weir_value.jpg|thumb|left|x200px|The weir angle is adjustable in the weir step of a [[Water Overlay]] wizard]]
{{article end
|notes=
* The width of the generated dam is equal to the weir's [[Weir width (Water Overlay)|WEIR_WIDTH]], multiplied by the [[Weir dam multiplier (Water Overlay)|WEIR_DAM_MULTIPLIER]] of the [[Water Overlay]].
* If a weir angle is available for a weir which is already line-shaped, the weir is first interpreted as a point, and then the direction and elevation are adjusted accordingly. The centre of the weir's polygon is used.
* If no angle is available as an attribute, weirs are automatically oriented based on the water level areas.
* The weir angle is automatically converted to a range within 0 and 360.
|seealso=
* [[Weir width (Water Overlay)]]
* [[Weir dam multiplier (Water Overlay)]]
|api=*[[Api session event editor overlay set key value]]
*[[Api session event editor building set attribute]]
*[[Api session event editor functionoverride set attribute]]
}}
}}
[[File:Weir_angle_explain_(Water_Overlay).png|thumb|right|x300px]]
The weir angle is used to convert a weir loaded in as point-based data to a line which is used in the simulation to define from where to where the water should flow across the weir. It also automatically adjusts the elevation perpendicular to the direction of the weir, so that water can only flow from one side of the weir to the other through the weir, rather than around it.
{{clear}}


==Notes==
[[File:Weirs_angel.jpg|thumb|right|x300px]]
* If a weir angle is available for a weir which is already line-shaped, the weir is first interpreted as a point, and then the direction and elevation are adjusted accordingly. The centre of the weir's polygon is used.
* If no angle is available as an attribute, the angle can be calculated by using the Generate Angles option in the Weirs step of the wizard.
{{WaterOverlay hydraulic structure nav}}
{{WaterOverlay hydraulic structure nav}}

Latest revision as of 11:49, 14 July 2026

Weir placed along a waterway. Elevation is raised along the line perpendicular to the weir angle.

The weir angle converts point-based weir data into a line, defining the direction of water flow across the weir during the simulation. In the Water Wizard a weir angle is automatically generated. There are currently 4 options on how this is (automatically) generated:

  1. The weir is located on the edge of 2 water level areas. The weir is then automatically installed correctly and no message is displayed. Note that while weirs are automatically oriented, the waterways are not blocked, allowing water to flow past them. Therefore, it is recommended to use a dataset where the attribute is already present to ensure the block is in effect.
  2. The weir is located in exactly 1 level area. Then the warning appears that the weir has no angle, with the option to fix it.
  3. The weir is located in exactly 0 level areas. Then a comment is displayed about the absence of a water level area.
  4. The weir angle attribute is pre-added to a dataset and this dataset is imported into the project. No angle needs to be generated automatically.
The weir angle is adjustable in the weir step of a Water Overlay wizard

Notes

  • The width of the generated dam is equal to the weir's WEIR_WIDTH, multiplied by the WEIR_DAM_MULTIPLIER of the Water Overlay.
  • If a weir angle is available for a weir which is already line-shaped, the weir is first interpreted as a point, and then the direction and elevation are adjusted accordingly. The centre of the weir's polygon is used.
  • If no angle is available as an attribute, weirs are automatically oriented based on the water level areas.
  • The weir angle is automatically converted to a range within 0 and 360.

See also

API Endpoints