Class Railway
- java.lang.Object
-
- org.noise_planet.noisemodelling.emission.railway.Railway
-
- Direct Known Subclasses:
RailwayCnossos
public class Railway extends Object
Railway noise evaluation from Cnossos reference : COMMISSION DIRECTIVE (EU) 2015/996 of 19 May 2015 establishing common noise assessment methods according to Directive 2002/49/EC of the European Parliament and of the Council amending, for the purposes of adapting to scientific and technical progress, Annex II to Directive 2002/49/EC of the European Parliament and of the Council as regards common noise assessment methods part 2.3. Railway noise Return the dB value corresponding to the parameters- Author:
- Adrien Le Bellec, Université Gustave Eiffel, Olivier Chiello, Université Gustave Eiffel
-
-
Constructor Summary
Constructors Constructor Description Railway()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RailWayParametersevaluate(RailwayVehicleParameters vehicleParameters, RailwayTrackParameters trackParameters)Evaluate the sound level for one Vehiclecom.fasterxml.jackson.databind.JsonNodegetRailWayData()Get the CNOSSOS coefficients from a specific file version (French have their own CNOSSOS coefficients).com.fasterxml.jackson.databind.JsonNodegetTrainsetData()Specific to French adaptation of the CNOSSOS method Get the SNCF composition of a train (one train can contains one or more vehicles)com.fasterxml.jackson.databind.JsonNodegetVehicleData()Get the vehicles attributesMap<String,Integer>getVehicleFromTrainset(String trainName)Get vehicle from a trainsetcom.fasterxml.jackson.databind.JsonNodegetVehicleNode(String typeVehicle)booleanisInVehicleList(String vehicleName)Find if a specific vehicle is in the Vehicle Liststatic <T> Iterable<T>iteratorToIterable(Iterator<T> iterator)voidsetRailwayDataFile(String RailWayData)voidsetTrainSetDataFile(String TrainsetData)voidsetVehicleDataFile(String VehicleData)
-
-
-
Method Detail
-
setVehicleDataFile
public void setVehicleDataFile(String VehicleData)
-
setTrainSetDataFile
public void setTrainSetDataFile(String TrainsetData)
-
setRailwayDataFile
public void setRailwayDataFile(String RailWayData)
-
getVehicleNode
public com.fasterxml.jackson.databind.JsonNode getVehicleNode(String typeVehicle)
-
getRailWayData
public com.fasterxml.jackson.databind.JsonNode getRailWayData()
Get the CNOSSOS coefficients from a specific file version (French have their own CNOSSOS coefficients).- Returns:
- get the CNOSSOS Coefficients
-
getVehicleData
public com.fasterxml.jackson.databind.JsonNode getVehicleData()
Get the vehicles attributes- Returns:
- Coefficients related to the characteristics of vehicles
-
getTrainsetData
public com.fasterxml.jackson.databind.JsonNode getTrainsetData()
Specific to French adaptation of the CNOSSOS method Get the SNCF composition of a train (one train can contains one or more vehicles)- Returns:
- SNCF composition of a train
-
getVehicleFromTrainset
public Map<String,Integer> getVehicleFromTrainset(String trainName)
Get vehicle from a trainset- Parameters:
trainName- Name of a Trainset- Returns:
- a map of vehicles , number of vehicles
-
isInVehicleList
public boolean isInVehicleList(String vehicleName)
Find if a specific vehicle is in the Vehicle List- Parameters:
vehicleName- Name of a Vehicle- Returns:
- true if in list
-
evaluate
public RailWayParameters evaluate(RailwayVehicleParameters vehicleParameters, RailwayTrackParameters trackParameters) throws IOException
Evaluate the sound level for one Vehicle- Parameters:
vehicleParameters- Vehicle Noise emission parameterstrackParameters- Track Noise emission parameters constant speed- Returns:
- LWRoll / LWTraction A and B / LWAerodynamic A and B / LWBridge level in dB
- Throws:
IOException- io exception
-
-