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 classNoiseMapDatabaseParameters.ExportRaysMethods
-
Field Summary
Fields Modifier and Type Field Description intcoefficientVersionCnossos revisions have multiple coefficients for road emission formulae this parameter will be removed when the final version of Cnossos will be publishedbooleancomputeLAEQOnlyFileCSVProfilerOutputPathPath to write the computation time and other statistics in a csv fileintCSVProfilerWriteIntervalCreate a new csv line after this time in secondsstatic StringDEFAULT_RECEIVERS_LEVEL_TABLE_NAMEBooleandropResultsTablebooleanexportAttenuationMatrixbooleanexportCnossosPathWithAttenuationWith attenuation export also the json of the related cnossos path, for debugging purposeNoiseMapDatabaseParameters.ExportRaysMethodsexportRaysMethodbooleanexportReceiverPositionIf true the position of the receiver (with the altitude if available) will be exported into the results tablesintgeojsonColumnSizeLimitbooleankeepAbsorptiondoublemaximumErrormaximum dB Error, stop calculation if the sum of further sources contributions are smaller than this valueintmaximumRaysOutputCountbooleanmergeSourcesdoublenoSourceNoiseLevelNoise level on the receiver for each period if mergeSources is true and no sound source were foundintoutputMaximumQueueStringraysTableStringreceiversLevelTableFilesqlOutputFileBooleansqlOutputFileCompression
-
Constructor Summary
Constructors Constructor Description NoiseMapDatabaseParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCoefficientVersion()NoiseMapDatabaseParameters.ExportRaysMethodsgetExportRaysMethod()doublegetMaximumError()intgetMaximumRaysOutputCount()StringgetRaysTable()StringgetReceiversLevelTable()booleanisComputeLAEQOnly()booleanisExportReceiverPosition()booleanisKeepAbsorption()booleanisMergeSources()voidsetCoefficientVersion(int coefficientVersion)voidsetComputeLAEQOnly(boolean computeLAEQOnly)voidsetExportAttenuationMatrix(boolean exportAttenuationMatrix)voidsetExportCnossosPathWithAttenuation(boolean exportCnossosPathWithAttenuation)voidsetExportRaysMethod(NoiseMapDatabaseParameters.ExportRaysMethods exportRaysMethod)Export rays in table (beware this could take a lot of storage space) or keep on memory or do not keepvoidsetExportReceiverPosition(boolean exportReceiverPosition)voidsetMaximumError(double maximumError)voidsetMaximumRaysOutputCount(int maximumRaysOutputCount)voidsetMergeSources(boolean mergeSources)voidsetOutputMaximumQueue(int outputMaximumQueue)Maximum result stack to be inserted in database if the stack is full, the computation core is waitingvoidsetRaysTable(String raysTable)voidsetReceiversLevelTable(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
-
-