NMPB08 shared libraries
Functions
RoadEmissionNMPB08.cpp File Reference

Definition of the dll functions that can be called by external software. More...

#include "RoadEmissionNMPB08.h"
#include "CalculRoadEmission.h"
#include <vector>
#include <math.h>
#include <stdio.h>

Go to the source code of this file.

Functions

double * NMPB08_Lwm (RoadTraffic *roadTraffic, RoadSpectrumType spectrumType)
 Calculation of the Sound power level per source line meter.
double * NMPB08_Lwm_rolling (RoadTraffic *roadTraffic, RoadSpectrumType spectrumType)
 Calculation of the rolling component of the Sound power level per source line meter.
double * NMPB08_Lwm_traction (RoadTraffic *roadTraffic, RoadSpectrumType spectrumType)
 Calculation of the traction component of the Sound power level per source line meter.
double * NMPB08_Lw_rolling (RoadVehicleType type, double vehicleSpeed, RoadSurfaceType surfaceType, double surfaceAge, RoadSpectrumType specType)
 Calculation of the rolling component of the Sound power level per source line meter for a vehicle type.
double * NMPB08_Lw_traction (RoadVehicleType type, double vehicleSpeed, RoadFlowType flowType, double ramp, RoadSpectrumType specType)
 Calculation of the traction component of the Sound power level per source line meter for a vehicle type.
bool NMPB08_DefineRoadSurfaceType (int idRoadSurface, double AVL, double BVL, double Vref_VL, double APL, double BPL, double Vref_PL, double const *spectrum)
 Definition of a new road surface type with data needed for rolling component and for spectrum.

Detailed Description

Definition of the dll functions that can be called by external software.

Author:
CSTB
Version:
1.0

Definition in file RoadEmissionNMPB08.cpp.


Function Documentation

bool NMPB08_DefineRoadSurfaceType ( int  idRoadSurface,
double  AVL,
double  BVL,
double  Vref_VL,
double  APL,
double  BPL,
double  Vref_PL,
double const *  spectrum 
)

Definition of a new road surface type with data needed for rolling component and for spectrum.

Parameters:
idRoadSurfaceThe road surface id
AVLThe AVL value for the Lr_w_VL calculation where Lr_w_VL = BVL + AVL * log10(V/Vref_VL)
BVLThe BVL value for the Lr_w_VL calculation where Lr_w_VL = BVL + AVL * log10(V/Vref_VL)
Vref_VLThe Vref_VL value for the Lr_w_VL calculation where Lr_w_VL = BVL + AVL * log10(V/Vref_VL)
APLThe APL value for the Lr_w_PL calculation where Lr_w_PL = BPL + APL * log10(V/Vref_PL)
BPLThe BPL value for the Lr_w_PL calculation where Lr_w_PL = BPL + APL * log10(V/Vref_PL)
Vref_PLThe Vref_PL value for the Lr_w_PL calculation where Lr_w_PL = BPL + APL * log10(V/Vref_PL)
spectrumThe spectral distribution for this road surface (if null, non draining default values will be used)
Returns:
true if all OK

Definition at line 172 of file RoadEmissionNMPB08.cpp.

double* NMPB08_Lw_rolling ( RoadVehicleType  type,
double  vehicleSpeed,
RoadSurfaceType  surfaceType,
double  surfaceAge,
RoadSpectrumType  specType 
)

Calculation of the rolling component of the Sound power level per source line meter for a vehicle type.

Calculation of the rolling component of the Sound power level of a vehicle type as a function of speed and road surface characteristics.

Parameters:
typeThe vehicle type
vehicleSpeedThe vehicle speed
surfaceTypeThe surface type
surfaceAgeThe surface age
specTypeThe spectrum type
Returns:
the rolling component of the Sound power level per source line meter, for each third-octave band

Definition at line 100 of file RoadEmissionNMPB08.cpp.

double* NMPB08_Lw_traction ( RoadVehicleType  type,
double  vehicleSpeed,
RoadFlowType  flowType,
double  ramp,
RoadSpectrumType  specType 
)

Calculation of the traction component of the Sound power level per source line meter for a vehicle type.

Calculation of the rolling component of the Sound power level of a vehicle type as a function of speed, ramp and flow type.

Parameters:
typeThe vehicle type
vehicleSpeedThe vehicle speed
flowTypeThe flow type
rampThe ramp
specTypeThe spectrum type
Returns:
the traction component of the Sound power level per source line meter, for each third-octave band

Definition at line 133 of file RoadEmissionNMPB08.cpp.

double* NMPB08_Lwm ( RoadTraffic roadTraffic,
RoadSpectrumType  spectrumType 
)

Calculation of the Sound power level per source line meter.

Parameters:
roadTrafficThe road traffic data
spectrumTypeThe spectrum type
Returns:
The Sound power level per source line meter, for each third-octave band

Definition at line 25 of file RoadEmissionNMPB08.cpp.

double* NMPB08_Lwm_rolling ( RoadTraffic roadTraffic,
RoadSpectrumType  spectrumType 
)

Calculation of the rolling component of the Sound power level per source line meter.

Parameters:
roadTrafficThe road traffic data
spectrumTypeThe spectrum type
Returns:
The rolling component of the Sound power level per source line meter, for each third-octave band

Definition at line 48 of file RoadEmissionNMPB08.cpp.

double* NMPB08_Lwm_traction ( RoadTraffic roadTraffic,
RoadSpectrumType  spectrumType 
)

Calculation of the traction component of the Sound power level per source line meter.

Parameters:
roadTrafficThe road traffic data
spectrumTypeThe spectrum type
Returns:
the traction component of the Sound power level per source line meter, for each third-octave band

Definition at line 71 of file RoadEmissionNMPB08.cpp.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines