Class 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
    • Field Detail

      • exportAttenuationMatrix

        public boolean exportAttenuationMatrix
      • 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
      • 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
    • Constructor Detail

      • NoiseMapDatabaseParameters

        public NoiseMapDatabaseParameters()
    • 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)
      • 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