NMPB08 Shared Libraries
|
Classes | |
class | Attenuation |
Class used to sound attenuation calculations along a given path, with a specified frequency. More... | |
Functions | |
double | SumLevels (int n, double const *levels) |
Calculates sound levels sum. | |
double | SoundLevelForPath (double soundLevel_h, double soundLevel_f, double favourableProbability) |
Calculates long-term sound level for the given the sound levels (homogeneous and favorable) for a path. | |
double | GetFavorableConditionProbability (Position3D const *sourcePos, Position3D const *receiverPos, int nbAngles, double const *fcpAngles, double angleNorth) |
Calculates the favorable conditions probability for the (SR) direction. | |
void | CalculateLeqLT (int nbFreq, double const *Lw, double const *attH, double const *attF, double fcp, double *LeqH, double *LeqF, double *LeqLT) |
Calculates the Long-term sound level Leq due to one source at point R, in each given frequency band. |
void CalculPropagationNMPB::CalculateLeqLT | ( | int | nbFreq, |
double const * | Lw, | ||
double const * | attH, | ||
double const * | attF, | ||
double | fcp, | ||
double * | LeqH, | ||
double * | LeqF, | ||
double * | LeqLT | ||
) |
Calculates the Long-term sound level Leq due to one source at point R, in each given frequency band.
nbFreq | The frequencies number (user data) |
Lw | The sound power levels of the source, in each frequency band (user data) |
attH | Attenuations due to the propagation between source and receiver in homogeneous conditions, in each frequency band (user data) |
attF | Attenuations due to the propagation between source and receiver in downward-refraction conditions, in each frequency band (user data) |
fcp | Probability of occurrence of downward-refraction conditions over a long-term period in a given direction, p in [0, 1] (user data) |
LeqH | Sound levels due to source Si at point R in homogeneous conditions, in each frequency band (calculated in this function) |
LeqF | Sound levels due to source Si at point R in downward-refraction conditions, in each frequency band (calculated in this function) |
LeqLT | Long-term sound levels due to source Si at point R, in each given frequency band (calculated in this function) |
Definition at line 170 of file CalculPropagation.cpp.
double CalculPropagationNMPB::GetFavorableConditionProbability | ( | Position3D const * | sourcePos, |
Position3D const * | receiverPos, | ||
int | nbAngles, | ||
double const * | fcpAngles, | ||
double | angleNorth | ||
) |
Calculates the favorable conditions probability for the (SR) direction.
sourcePos | The source position 3D |
receiverPos | The receiver position 3D |
nbAngles | The number of angle probabilities (should be 18) |
fcpAngles | The favorable conditions probabilities for the angles 20, 40, 60, ..., 360 |
angleNorth | The north direction (Ox,ON) |
ERRAngle |
Definition at line 103 of file CalculPropagation.cpp.
double CalculPropagationNMPB::SoundLevelForPath | ( | double | soundLevel_h, |
double | soundLevel_f, | ||
double | favourableProbability | ||
) |
Calculates long-term sound level for the given the sound levels (homogeneous and favorable) for a path.
p.18 - § 5.2.3 Formula (7)
soundLevel_h | The sound level in homogeneous conditions |
soundLevel_f | The sound level in downward-refraction conditions |
favourableProbability | The average occurrence of downward-refraction conditions in the direction of the path |
ERRProbability |
Definition at line 75 of file CalculPropagation.cpp.
double CalculPropagationNMPB::SumLevels | ( | int | n, |
double const * | levels | ||
) |
Calculates sound levels sum.
Used for § 5.2.4 Formula (8) and § 5.2.5 Formula (9)
n | the sound levels number |
levels | The sound levels to sum |
Definition at line 47 of file CalculPropagation.cpp.