Class RailWayCnossosParameters

java.lang.Object
org.noise_planet.noisemodelling.emission.railway.RailWayParameters
org.noise_planet.noisemodelling.emission.railway.cnossos.RailWayCnossosParameters

public class RailWayCnossosParameters extends RailWayParameters
Data result stockage
  • Field Details

    • DEFAULT_FREQUENCIES_THIRD_OCTAVE

      public static final Integer[] DEFAULT_FREQUENCIES_THIRD_OCTAVE
    • sourceType

      public static final String[] sourceType
  • Constructor Details

    • RailWayCnossosParameters

      public RailWayCnossosParameters()
  • Method Details

    • sumRailwaySource

      public static RailWayCnossosParameters sumRailwaySource(RailWayCnossosParameters lineSource1, RailWayCnossosParameters lineSource2)
      Sum two train emission instances
      Parameters:
      lineSource1 - Emission 1
      lineSource2 - Emission 2
      Returns:
      Merged level
    • getLWRolling

      public double[] getLWRolling()
    • setLWRolling

      public void setLWRolling(double[] LWRolling)
    • getLWTractionA

      public double[] getLWTractionA()
    • setLWTractionA

      public void setLWTractionA(double[] LWTractionA)
    • getLWTractionB

      public double[] getLWTractionB()
    • setLWTractionB

      public void setLWTractionB(double[] LWTractionB)
    • getLWAerodynamicA

      public double[] getLWAerodynamicA()
    • setLWAerodynamicA

      public void setLWAerodynamicA(double[] LWAerodynamicA)
    • getLWAerodynamicB

      public double[] getLWAerodynamicB()
    • setLWAerodynamicB

      public void setLWAerodynamicB(double[] LWAerodynamicB)
    • getLWBridge

      public double[] getLWBridge()
    • setLWBridge

      public void setLWBridge(double[] LWBridge)
    • getDirectionAttenuation

      public static Double getDirectionAttenuation(LineSource lineSource, double phi, double theta, double frequency)
      Compute the attenuation for the specified noise source and parameters
      Parameters:
      phi - (0 2π) 0 is front
      theta - (-π/2 π/2) 0 is horizontal π is top
      frequency - Emission frequency
      Returns:
      Directional sound power
    • computeLowSourcePower

      public double computeLowSourcePower()
      Compute the total acoustic power (in Watts) of low sources (ROLLING, TRACTIONA, AERODYNAMICA) from the railway source list. This is used as the weight for Cref averaging.
      Returns:
      total power in Watts of the low source types, or 0 if none present
    • getCref

      public double getCref()
      Returns:
      Reflection coefficient of the vehicle body barrier (0-1), power-weighted average.
    • setCref

      public void setCref(double cref)
      Set the reflection coefficient of the vehicle body barrier.
      Parameters:
      cref - 0 = open freight (no reflection), 1 = fully reflecting body
    • getCrefTotalWeight

      public double getCrefTotalWeight()
      Returns:
      Accumulated weight for cref averaging
    • setCrefTotalWeight

      public void setCrefTotalWeight(double crefTotalWeight)
      Set the accumulated weight for cref averaging.
      Parameters:
      crefTotalWeight - acoustic power in Watts of low sources