Class NoiseMapDatabaseParameters
java.lang.Object
org.noise_planet.noisemodelling.jdbc.NoiseMapDatabaseParameters
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 -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanPath to write the computation time and other statistics in a csv fileintCreate a new csv line after this time in secondsstatic final StringbooleanbooleanWith attenuation export also the json of the related cnossos path, for debugging purposebooleanIf true the position of the receiver (with the altitude if available) will be exported into the results tablesintbooleandoublemaximum dB Error, stop calculation if the sum of further sources contributions are smaller than this valueintbooleandoubleNoise level on the receiver for each period if mergeSources is true and no sound source were foundint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleintbooleanbooleanbooleanbooleanvoidsetComputeLAEQOnly(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 Details
-
exportAttenuationMatrix
public boolean exportAttenuationMatrix -
DEFAULT_RECEIVERS_LEVEL_TABLE_NAME
- See Also:
-
noSourceNoiseLevel
public double noSourceNoiseLevelNoise level on the receiver for each period if mergeSources is true and no sound source were found -
CSVProfilerOutputPath
Path to write the computation time and other statistics in a csv file -
CSVProfilerWriteInterval
public int CSVProfilerWriteIntervalCreate a new csv line after this time in seconds -
exportCnossosPathWithAttenuation
public boolean exportCnossosPathWithAttenuationWith attenuation export also the json of the related cnossos path, for debugging purpose -
keepAbsorption
public boolean keepAbsorption -
maximumRaysOutputCount
public int maximumRaysOutputCount -
exportRaysMethod
-
maximumError
public double maximumErrormaximum 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
-
raysTable
-
sqlOutputFile
-
sqlOutputFileCompression
-
dropResultsTable
-
computeLAEQOnly
public boolean computeLAEQOnly -
exportReceiverPosition
public boolean exportReceiverPositionIf true the position of the receiver (with the altitude if available) will be exported into the results tables
-
-
Constructor Details
-
NoiseMapDatabaseParameters
public NoiseMapDatabaseParameters()
-
-
Method Details
-
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
-
setExportRaysMethod
Export rays in table (beware this could take a lot of storage space) or keep on memory or do not keep- Parameters:
exportRaysMethod- Export rays method
-
setExportCnossosPathWithAttenuation
public void setExportCnossosPathWithAttenuation(boolean exportCnossosPathWithAttenuation) - Parameters:
exportCnossosPathWithAttenuation- With attenuation export also the json of the related cnossos path, for debugging purpose
-
isKeepAbsorption
public boolean isKeepAbsorption()- Returns:
- With attenuation export also the json of the related cnossos path, for debugging purpose
-
setExportAttenuationMatrix
public void setExportAttenuationMatrix(boolean exportAttenuationMatrix) - Parameters:
exportAttenuationMatrix- If true store absorption values in propagation path objects- See Also:
-
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) - Parameters:
mergeSources- If true all sources contributions are merged into a single noise level per receiver. The source identifier is loosed in the output tables.
-
getRaysTable
- Returns:
- Table name that contains rays dump (profile)
-
setRaysTable
- Parameters:
raysTable- Table name that contains rays dump (profile)
-
isMergeSources
public boolean isMergeSources()- Returns:
- If true all sources contributions are merged into a single noise level per receiver. The source identifier is loosed in the output tables.
-
getReceiversLevelTable
- Returns:
- Output table with noise level per receiver/source
-
setReceiversLevelTable
- Parameters:
receiversLevelTable- Output table with noise level per receiver/source
-