NMPB08 shared libraries
Classes | Defines | Enumerations | Functions | Variables
RoadEmissionNMPB08.h File Reference

Go to the source code of this file.

Classes

struct  RoadTrafficComponent
 Road traffic component. More...
struct  RoadTraffic
 Road traffic description. More...

Defines

#define _COMPILE_NMPB   extern "C"

Enumerations

enum  RoadVehicleType {
  VehicleType_VL = 1, VehicleType_PL = 2, VehicleType_VL = 1, VehicleType_PL = 2,
  VehicleType_VL = 1, VehicleType_PL = 2
}
 Vehicle type. More...
enum  RoadFlowType {
  FlowType_CONST = 0, FlowType_ACC = 1, FlowType_DEC = 2, FlowType_START = 3,
  FlowType_STOP = 4, FlowType_CONST = 0, FlowType_ACC = 1, FlowType_DEC = 2,
  FlowType_START = 3, FlowType_STOP = 4, FlowType_CONST = 0, FlowType_ACC = 1,
  FlowType_DEC = 2, FlowType_START = 3, FlowType_STOP = 4
}
 Flow type. More...
enum  RoadSurfaceType {
  RoadSurface_Default = 0, RoadSurface_R1 = 1, RoadSurface_R2 = 2, RoadSurface_R3 = 3,
  RoadSurface_DR1 = 4, RoadSurface_DR2 = 5, RoadSurface_DR3 = 6, RoadSurface_UserDefined = 7,
  RoadSurface_Default = 0, RoadSurface_R1 = 1, RoadSurface_R2 = 2, RoadSurface_R3 = 3,
  RoadSurface_DR1 = 4, RoadSurface_DR2 = 5, RoadSurface_DR3 = 6, RoadSurface_UserDefined = 7,
  RoadSurface_Default = 0, RoadSurface_R1 = 1, RoadSurface_R2 = 2, RoadSurface_R3 = 3,
  RoadSurface_DR1 = 4, RoadSurface_DR2 = 5, RoadSurface_DR3 = 6, RoadSurface_UserDefined = 7
}
 Road surface type. More...
enum  RoadSpectrumType {
  Spectrum_dBA = 0, Spectrum_oct_A = 1, Spectrum_3oct_A = 2, Spectrum_oct_lin = 3,
  Spectrum_3oct_lin = 4, Spectrum_dBA = 0, Spectrum_oct_A = 1, Spectrum_3oct_A = 2,
  Spectrum_oct_lin = 3, Spectrum_3oct_lin = 4, Spectrum_dBA = 0, Spectrum_oct_A = 1,
  Spectrum_3oct_A = 2, Spectrum_oct_lin = 3, Spectrum_3oct_lin = 4
}
 Spectrum type. More...

Functions

_COMPILE_NMPB double * NMPB08_Lwm (RoadTraffic *roadTraffic, RoadSpectrumType spectrumType)
 Calculation of the Sound power level per source line meter.
_COMPILE_NMPB double * NMPB08_Lwm_rolling (RoadTraffic *roadTraffic, RoadSpectrumType spectrumType)
 Calculation of the rolling component of the Sound power level per source line meter.
_COMPILE_NMPB double * NMPB08_Lwm_traction (RoadTraffic *roadTraffic, RoadSpectrumType spectrumType)
 Calculation of the traction component of the Sound power level per source line meter.
_COMPILE_NMPB double * NMPB08_Lw_rolling (RoadVehicleType type, double vehicleSpeed, RoadSurfaceType surfaceType, double surfaceAge, RoadSpectrumType specType)
 Calculation of the rolling component of the Sound power level of a vehicle type as a function of speed and road surface characteristics.
_COMPILE_NMPB double * NMPB08_Lw_traction (RoadVehicleType type, double vehicleSpeed, RoadFlowType flowType, double ramp, RoadSpectrumType specType)
 Calculation of the rolling component of the Sound power level of a vehicle type as a function of speed, ramp and flow type.
_COMPILE_NMPB 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.

Variables

const int BBUM_0_6 = RoadSurface_R1
 BBUM 0/6 road surface type.
const int BBDR_0_10 = RoadSurface_DR1
 BBDr 0/10 road surface type.
const int BBTM_0_6_type2 = RoadSurface_R1
 BBTM 0/6-type2 road surface type.
const int BBTM_0_6_type1 = RoadSurface_R1
 BBTM 0/6-type1 road surface type.
const int BBTM_0_10_type2 = RoadSurface_R1
 BBTM 0/10-type2 road surface type.
const int BBSG_0_10 = RoadSurface_R2
 BBSG 0/10 road surface type.
const int BBTM_0_10_type1 = RoadSurface_R2
 BBTM 0/10-type1 road surface type.
const int BBUM_0_10 = RoadSurface_R2
 BBUM 0/10 road surface type.
const int ECF = RoadSurface_R2
 ECF road surface type.
const int BBSG_0_14 = RoadSurface_R3
 BBSG 0/14 road surface type.
const int BBTM_0_14 = RoadSurface_R3
 BBTM 0/14 road surface type.
const int ES_6_10 = RoadSurface_R3
 ES 6/10 road surface type.
const int BC = RoadSurface_R3
 BC road surface type.
const int ES_10_14 = RoadSurface_R3
 ES 10/14 road surface type.

Define Documentation

#define _COMPILE_NMPB   extern "C"

Definition at line 38 of file RoadEmissionNMPB08.h.


Enumeration Type Documentation

Flow type.

Enumerator:
FlowType_CONST 

Constant flow.

FlowType_ACC 

Acceleration section.

FlowType_DEC 

Deceleration section.

FlowType_START 

Startup section.

FlowType_STOP 

Stopping section.

FlowType_CONST 

Constant flow.

FlowType_ACC 

Acceleration section.

FlowType_DEC 

Deceleration section.

FlowType_START 

Startup section.

FlowType_STOP 

Stopping section.

FlowType_CONST 

Constant flow.

FlowType_ACC 

Acceleration section.

FlowType_DEC 

Deceleration section.

FlowType_START 

Startup section.

FlowType_STOP 

Stopping section.

Definition at line 62 of file RoadEmissionNMPB08.h.

Spectrum type.

Enumerator:
Spectrum_dBA 

The global value in dB(A) : only one value.

Spectrum_oct_A 

Octave bands (dB(A)) : 6 frequencies from 125 to 4000.

Spectrum_3oct_A 

Third-octave bands (dB(A)) : 18 frequencies from 100 to 5000.

Spectrum_oct_lin 

Octave bands : 6 frequencies from 125 to 4000.

Spectrum_3oct_lin 

Third-octave bands : 18 frequencies from 100 to 5000.

Spectrum_dBA 

The global value in dB(A) : only one value.

Spectrum_oct_A 

Octave bands (dB(A)) : 6 frequencies from 125 to 4000.

Spectrum_3oct_A 

Third-octave bands (dB(A)) : 18 frequencies from 100 to 5000.

Spectrum_oct_lin 

Octave bands : 6 frequencies from 125 to 4000.

Spectrum_3oct_lin 

Third-octave bands : 18 frequencies from 100 to 5000.

Spectrum_dBA 

The global value in dB(A) : only one value.

Spectrum_oct_A 

Octave bands (dB(A)) : 6 frequencies from 125 to 4000.

Spectrum_3oct_A 

Third-octave bands (dB(A)) : 18 frequencies from 100 to 5000.

Spectrum_oct_lin 

Octave bands : 6 frequencies from 125 to 4000.

Spectrum_3oct_lin 

Third-octave bands : 18 frequencies from 100 to 5000.

Definition at line 187 of file RoadEmissionNMPB08.h.

Road surface type.

Enumerator:
RoadSurface_Default 

default type

RoadSurface_R1 

R1 type.

RoadSurface_R2 

R2 type.

RoadSurface_R3 

R3 type.

RoadSurface_DR1 

Draining R1 type.

RoadSurface_DR2 

Draining R2 type.

RoadSurface_DR3 

Draining R3 type.

RoadSurface_UserDefined 

User defined type.

RoadSurface_Default 

default type

RoadSurface_R1 

R1 type.

RoadSurface_R2 

R2 type.

RoadSurface_R3 

R3 type.

RoadSurface_DR1 

Draining R1 type.

RoadSurface_DR2 

Draining R2 type.

RoadSurface_DR3 

Draining R3 type.

RoadSurface_UserDefined 

User defined type.

RoadSurface_Default 

default type

RoadSurface_R1 

R1 type.

RoadSurface_R2 

R2 type.

RoadSurface_R3 

R3 type.

RoadSurface_DR1 

Draining R1 type.

RoadSurface_DR2 

Draining R2 type.

RoadSurface_DR3 

Draining R3 type.

RoadSurface_UserDefined 

User defined type.

Definition at line 89 of file RoadEmissionNMPB08.h.

Vehicle type.

Enumerator:
VehicleType_VL 

Light vehicle.

VehicleType_PL 

Heavy goods vehicle.

VehicleType_VL 

Light vehicle.

VehicleType_PL 

Heavy goods vehicle.

VehicleType_VL 

Light vehicle.

VehicleType_PL 

Heavy goods vehicle.

Definition at line 47 of file RoadEmissionNMPB08.h.


Function Documentation

_COMPILE_NMPB 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.

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

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 of the vehicle, in third octave bands
Note:
this function returns a pointer to an internal memory buffer maintained within the library and shared by calls to NMPB08_LW_traction and NMPB08_Lw_traction. Any call to these functions will invalidate the results obtained by previous calls. It is highly recommended that applications take a copy of the return values into dedicated memory immediately after the call to any of these functions.

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.

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

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
Note:
this function returns a pointer to an internal memory buffer maintained within the library and shared by calls to NMPB08_LW_traction and NMPB08_Lw_traction. Any call to these functions will invalidate the results obtained by previous calls. It is highly recommended that applications take a copy of the return values into dedicated memory immediately after the call to any of these functions.

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.

_COMPILE_NMPB 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
Note:
this function returns a pointer to an internal memory buffer maintained within the library and shared by calls to NMPB08_Lwm_traction, NMPB08_Lwm_traction and NMPB08_Lwm. Any call to these functions will invalidate the results obtained by previous calls. It is highly recommended that applications take a copy of the return values into dedicated memory immediately after the call to any of these functions.
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.

_COMPILE_NMPB 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
Note:
this function returns a pointer to an internal memory buffer maintained within the library and shared by calls to NMPB08_Lwm_traction, NMPB08_Lwm_traction and NMPB08_Lwm. Any call to these functions will invalidate the results obtained by previous calls. It is highly recommended that applications take a copy of the return values into dedicated memory immediately after the call to any of these functions.
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.

_COMPILE_NMPB 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
Note:
this function returns a pointer to an internal memory buffer maintained within the library and shared by calls to NMPB08_Lwm_traction, NMPB08_Lwm_traction and NMPB08_Lwm. Any call to these functions will invalidate the results obtained by previous calls. It is highly recommended that applications take a copy of the return values into dedicated memory immediately after the call to any of these functions.
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.


Variable Documentation

const int BBDR_0_10 = RoadSurface_DR1

BBDr 0/10 road surface type.

Definition at line 133 of file RoadEmissionNMPB08.h.

const int BBSG_0_10 = RoadSurface_R2

BBSG 0/10 road surface type.

Definition at line 149 of file RoadEmissionNMPB08.h.

const int BBSG_0_14 = RoadSurface_R3

BBSG 0/14 road surface type.

Definition at line 165 of file RoadEmissionNMPB08.h.

const int BBTM_0_10_type1 = RoadSurface_R2

BBTM 0/10-type1 road surface type.

Definition at line 153 of file RoadEmissionNMPB08.h.

const int BBTM_0_10_type2 = RoadSurface_R1

BBTM 0/10-type2 road surface type.

Definition at line 145 of file RoadEmissionNMPB08.h.

const int BBTM_0_14 = RoadSurface_R3

BBTM 0/14 road surface type.

Definition at line 169 of file RoadEmissionNMPB08.h.

const int BBTM_0_6_type1 = RoadSurface_R1

BBTM 0/6-type1 road surface type.

Definition at line 141 of file RoadEmissionNMPB08.h.

const int BBTM_0_6_type2 = RoadSurface_R1

BBTM 0/6-type2 road surface type.

Definition at line 137 of file RoadEmissionNMPB08.h.

const int BBUM_0_10 = RoadSurface_R2

BBUM 0/10 road surface type.

Definition at line 157 of file RoadEmissionNMPB08.h.

const int BBUM_0_6 = RoadSurface_R1

BBUM 0/6 road surface type.

Definition at line 129 of file RoadEmissionNMPB08.h.

const int BC = RoadSurface_R3

BC road surface type.

Definition at line 177 of file RoadEmissionNMPB08.h.

const int ECF = RoadSurface_R2

ECF road surface type.

Definition at line 161 of file RoadEmissionNMPB08.h.

const int ES_10_14 = RoadSurface_R3

ES 10/14 road surface type.

Definition at line 181 of file RoadEmissionNMPB08.h.

const int ES_6_10 = RoadSurface_R3

ES 6/10 road surface type.

Definition at line 173 of file RoadEmissionNMPB08.h.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines