reV.bespoke.plant_noise.PlantNoise
- class PlantNoise(noise_inputs, shifted_obs_locs, turbine_gids)[source]
Bases:
objectEvaluate turbine and plant-level sound at observer locations.
- Parameters:
noise_inputs (PlantNoiseInputs) – Noise configuration and source file paths.
shifted_obs_locs (ndarray) – Observer coordinates shifted into each turbine-centered frame.
turbine_gids (ndarray) – Resource gids used to select turbine-specific SPL tables.
Methods
compute_noise(turbine_inds[, plant_level])Compute sound levels for a selection of turbines.
total_noise_penalty(turbine_inds)Sum plant-level sound violations above the configured limit
violation_stats(turbine_inds)Statistics about noise violations
Attributes
Interpolators that map observer offsets to turbine sound power.
Sound power at each observer for every turbine in the layout.
- property turbine_interp
Interpolators that map observer offsets to turbine sound power.
- property turbines_power
Sound power at each observer for every turbine in the layout.
- compute_noise(turbine_inds, plant_level=True)[source]
Compute sound levels for a selection of turbines.
- Parameters:
turbine_inds (ndarray) – Boolean mask or index array selecting turbines in the layout.
plant_level (bool, optional) – If True, sum turbine powers before converting to dB. If False, return the loudest single-turbine level at each observer.
- Returns:
ndarray – Sound level in dB at each observer location.