reVX.setbacks.regulations.WindSetbackRegulations
- class WindSetbackRegulations(hub_height, rotor_diameter, regulations_fpath=None, multiplier=None)[source]
Bases:
SetbackRegulations
Wind setback regulation setback values.
- Parameters:
hub_height (float | int) – Turbine hub height (m), used along with rotor diameter to compute blade tip height which is used to determine setback distance.
rotor_diameter (float | int) – Turbine rotor diameter (m), used along with hub height to compute blade tip height which is used to determine setback distance.
regulations_fpath (str | None, optional) – Path to regulations
.csv
or.gpkg
file. At a minimum, this file must contain the following columns:Feature Type
: Contains labels for the type of setback that each row represents. This should be a “feature_type” label that can be found in theSETBACK_SPECS
dictionary (e.g."structures"
,"roads"
,"water"
, etc.), unless you have created your own setback calculator usingsetbacks_calculator()
, in which case this label can match the feature_type input you used for that function call.Feature Subtype
: Contains labels for feature subtypes. The feature subtypes are only used for down-selecting the local regulations that should be applied for a particular feature, so often you can leave this blank or set it toNone
. If you do specify this value, it should be a “feature_subtypes_to_exclude” label that can be found in theSETBACK_SPECS
dictionary, unless you have created your own setback calculator usingsetbacks_calculator()
, in which case this label can match the feature_subtypes_to_exclude input you used for that function call.Value Type
: Specifies wether the value is a multiplier or static height. See below for more info.Value
: Numeric value of the setback or multiplier.FIPS
: Specifies a unique 5-digit code for each county (this can be an integer - no leading zeros required). This is used to match the county regulations to the county’s spatial extent.
Valid options for the
Value Type
are (case-insensitive; dashes, underscores, and spaces are interchangeable):“Max-tip Height Multiplier”
“Rotor-Diameter Multiplier”
“Hub-height Multiplier”
“Meters”
If this input is
None
, a generic setback ofmax_tip_height * multiplier
is used. By defaultNone
.multiplier (int | float | str | None, optional) – A setback multiplier to use if regulations are not supplied. This multiplier will be applied to the
base_setback_dist
to calculate the setback. If supplied along withregulations_fpath
, this input will be used to apply a setback to all counties not listed in the regulations file. If this input is a string, it must be a key inMULTIPLIERS
. By default None.
Methods
Attributes
Named generic multipliers.
REQUIRED_COLUMNS
The base setback distance, in meters.
Regulations table.
Regulation value used for global regulations.
Flag indicating wether generic regulations exist.
Turbine hub height in meters
Flag indicating wether local regulations exist.
Generic setback multiplier.
Turbine rotor diameter in meters
- MULTIPLIERS = {'high': 3, 'moderate': 1.1}
Named generic multipliers.
- property hub_height
Turbine hub height in meters
- Returns:
float
- property rotor_diameter
Turbine rotor diameter in meters
- Returns:
float
- property df
Regulations table.
- Type:
geopandas.GeoDataFrame | None