reVX.exclusions.blade_clearance.regulations.validate_blade_clearance_regulations_input
- validate_blade_clearance_regulations_input(hub_height=None, rotor_diameter=None, regulations_fpath=None)[source]
Validate the blade clearance initialization input
- Parameters:
hub_height (float | int) – Turbine hub height (m), used along with rotor diameter to compute blade clearance. By default,
None.rotor_diameter (float | int) – Turbine rotor diameter (m), used along with hub height to compute blade clearance. By default,
None.regulations_fpath (str, optional) – Path to local regulations file. This is required for blade clearance exclusions since they are local-only. By default,
None.
- Returns:
BladeClearanceRegulations – A regulations object that can be used to determine where a system does not meet the minimum blade clearance restriction.
- Raises:
RuntimeError – If not enough info is provided (all inputs are
None), or too much info is given (all inputs are notNone).