Class NoiseMapDatabaseParameters
- java.lang.Object
-
- org.noise_planet.noisemodelling.jdbc.NoiseMapDatabaseParameters
-
public class NoiseMapDatabaseParameters extends Object
Global configuration of NoiseModelling computation based on database data This is input only, these settings are never updated by org.noise_planet.noisemodelling.jdbc class
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NoiseMapDatabaseParameters.ExportRaysMethods
-
Field Summary
Fields Modifier and Type Field Description int
coefficientVersion
Cnossos revisions have multiple coefficients for road emission formulae this parameter will be removed when the final version of Cnossos will be publishedboolean
computeLAEQOnly
File
CSVProfilerOutputPath
Path to write the computation time and other statistics in a csv fileint
CSVProfilerWriteInterval
Create a new csv line after this time in secondsstatic String
DEFAULT_RECEIVERS_LEVEL_TABLE_NAME
Boolean
dropResultsTable
boolean
exportAttenuationMatrix
boolean
exportCnossosPathWithAttenuation
With attenuation export also the json of the related cnossos path, for debugging purposeNoiseMapDatabaseParameters.ExportRaysMethods
exportRaysMethod
boolean
exportReceiverPosition
If true the position of the receiver (with the altitude if available) will be exported into the results tablesint
geojsonColumnSizeLimit
boolean
keepAbsorption
double
maximumError
maximum dB Error, stop calculation if the sum of further sources contributions are smaller than this valueint
maximumRaysOutputCount
boolean
mergeSources
double
noSourceNoiseLevel
Noise level on the receiver for each period if mergeSources is true and no sound source were foundint
outputMaximumQueue
String
raysTable
String
receiversLevelTable
File
sqlOutputFile
Boolean
sqlOutputFileCompression
-
Constructor Summary
Constructors Constructor Description NoiseMapDatabaseParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCoefficientVersion()
NoiseMapDatabaseParameters.ExportRaysMethods
getExportRaysMethod()
double
getMaximumError()
int
getMaximumRaysOutputCount()
String
getRaysTable()
String
getReceiversLevelTable()
boolean
isComputeLAEQOnly()
boolean
isExportReceiverPosition()
boolean
isKeepAbsorption()
boolean
isMergeSources()
void
setCoefficientVersion(int coefficientVersion)
void
setComputeLAEQOnly(boolean computeLAEQOnly)
void
setExportAttenuationMatrix(boolean exportAttenuationMatrix)
void
setExportCnossosPathWithAttenuation(boolean exportCnossosPathWithAttenuation)
void
setExportRaysMethod(NoiseMapDatabaseParameters.ExportRaysMethods exportRaysMethod)
Export rays in table (beware this could take a lot of storage space) or keep on memory or do not keepvoid
setExportReceiverPosition(boolean exportReceiverPosition)
void
setMaximumError(double maximumError)
void
setMaximumRaysOutputCount(int maximumRaysOutputCount)
void
setMergeSources(boolean mergeSources)
void
setOutputMaximumQueue(int outputMaximumQueue)
Maximum result stack to be inserted in database if the stack is full, the computation core is waitingvoid
setRaysTable(String raysTable)
void
setReceiversLevelTable(String receiversLevelTable)
-
-
-
Field Detail
-
exportAttenuationMatrix
public boolean exportAttenuationMatrix
-
DEFAULT_RECEIVERS_LEVEL_TABLE_NAME
public static final String DEFAULT_RECEIVERS_LEVEL_TABLE_NAME
- See Also:
- Constant Field Values
-
noSourceNoiseLevel
public double noSourceNoiseLevel
Noise level on the receiver for each period if mergeSources is true and no sound source were found
-
CSVProfilerOutputPath
public File CSVProfilerOutputPath
Path to write the computation time and other statistics in a csv file
-
CSVProfilerWriteInterval
public int CSVProfilerWriteInterval
Create a new csv line after this time in seconds
-
exportCnossosPathWithAttenuation
public boolean exportCnossosPathWithAttenuation
With attenuation export also the json of the related cnossos path, for debugging purpose
-
keepAbsorption
public boolean keepAbsorption
-
maximumRaysOutputCount
public int maximumRaysOutputCount
-
exportRaysMethod
public NoiseMapDatabaseParameters.ExportRaysMethods exportRaysMethod
-
coefficientVersion
public int coefficientVersion
Cnossos revisions have multiple coefficients for road emission formulae this parameter will be removed when the final version of Cnossos will be published
-
maximumError
public double maximumError
maximum dB Error, stop calculation if the sum of further sources contributions are smaller than this value
-
geojsonColumnSizeLimit
public int geojsonColumnSizeLimit
-
outputMaximumQueue
public int outputMaximumQueue
-
mergeSources
public boolean mergeSources
-
receiversLevelTable
public String receiversLevelTable
-
raysTable
public String raysTable
-
sqlOutputFile
public File sqlOutputFile
-
sqlOutputFileCompression
public Boolean sqlOutputFileCompression
-
dropResultsTable
public Boolean dropResultsTable
-
computeLAEQOnly
public boolean computeLAEQOnly
-
exportReceiverPosition
public boolean exportReceiverPosition
If true the position of the receiver (with the altitude if available) will be exported into the results tables
-
-
Method Detail
-
getMaximumRaysOutputCount
public int getMaximumRaysOutputCount()
-
isExportReceiverPosition
public boolean isExportReceiverPosition()
- Returns:
- If true the position of the receiver (with the altitude if available) will be exported into the results tables
-
setExportReceiverPosition
public void setExportReceiverPosition(boolean exportReceiverPosition)
- Parameters:
exportReceiverPosition
- If true the position of the receiver (with the altitude if available) will be exported into the results tables
-
setMaximumRaysOutputCount
public void setMaximumRaysOutputCount(int maximumRaysOutputCount)
- Parameters:
maximumRaysOutputCount
- if export rays, do not keep more than this number of rays per computation area (0 infinite)
-
isComputeLAEQOnly
public boolean isComputeLAEQOnly()
-
setComputeLAEQOnly
public void setComputeLAEQOnly(boolean computeLAEQOnly)
-
getExportRaysMethod
public NoiseMapDatabaseParameters.ExportRaysMethods getExportRaysMethod()
-
setExportRaysMethod
public void setExportRaysMethod(NoiseMapDatabaseParameters.ExportRaysMethods exportRaysMethod)
Export rays in table (beware this could take a lot of storage space) or keep on memory or do not keep- Parameters:
exportRaysMethod
-
-
setExportCnossosPathWithAttenuation
public void setExportCnossosPathWithAttenuation(boolean exportCnossosPathWithAttenuation)
-
isKeepAbsorption
public boolean isKeepAbsorption()
-
setExportAttenuationMatrix
public void setExportAttenuationMatrix(boolean exportAttenuationMatrix)
- Parameters:
exportAttenuationMatrix
- If true store absorption values in propagation path objects- See Also:
setExportAttenuationMatrix(boolean)
-
setCoefficientVersion
public void setCoefficientVersion(int coefficientVersion)
- Parameters:
coefficientVersion
- Cnossos revisions have multiple coefficients for road emission formulae this parameter will be removed when the final version of Cnossos will be published
-
getCoefficientVersion
public int getCoefficientVersion()
-
setOutputMaximumQueue
public void setOutputMaximumQueue(int outputMaximumQueue)
Maximum result stack to be inserted in database if the stack is full, the computation core is waiting- Parameters:
outputMaximumQueue
- Maximum number of elements in stack
-
getMaximumError
public double getMaximumError()
- Returns:
- maximum dB Error, stop calculation if the maximum sum of further sources contributions are smaller than this value
-
setMaximumError
public void setMaximumError(double maximumError)
- Parameters:
maximumError
- maximum dB Error, stop calculation if the maximum sum of further sources contributions compared to the current level at the receiver position are smaller than this value
-
setMergeSources
public void setMergeSources(boolean mergeSources)
-
getRaysTable
public String getRaysTable()
- Returns:
- Table name that contains rays dump (profile)
-
setRaysTable
public void setRaysTable(String raysTable)
-
isMergeSources
public boolean isMergeSources()
-
getReceiversLevelTable
public String getReceiversLevelTable()
- Returns:
- Output table with noise level per receiver/source
-
setReceiversLevelTable
public void setReceiversLevelTable(String receiversLevelTable)
- Parameters:
receiversLevelTable
- Output table with noise level per receiver/source
-
-