Class SceneWithEmission
java.lang.Object
org.noise_planet.noisemodelling.pathfinder.path.Scene
org.noise_planet.noisemodelling.propagation.SceneWithAttenuation
org.noise_planet.noisemodelling.jdbc.input.SceneWithEmission
Add emission information for each source in the computation scene
This is input data, not thread safe, never update anything here during propagation
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class org.noise_planet.noisemodelling.propagation.SceneWithAttenuation
cnossosParametersPerPeriod, DEFAULT_GS, defaultCnossosParameters, directionAttributes, periodSet, sourceEmissionAttenuation, sourceFieldNames, sourceGsFields inherited from class org.noise_planet.noisemodelling.pathfinder.path.Scene
computeHorizontalDiffraction, computeVerticalDiffraction, DEFAULT_G, DEFAULT_G_BUILDING, DEFAULT_MAX_PROPAGATION_DISTANCE, DEFAULT_MAXIMUM_REF_DIST, DEFAULT_RECEIVER_DIST, defaultGroundAttenuation, DIRECTIVITY_DATABASE_FIELD, GS_DATABASE_FIELD, lineSourceSpacingRatio, maxRefDist, maxSrcDist, PITCH_DATABASE_FIELD, profileBuilder, receivers, receiversPk, reflexionOrder, ROLL_DATABASE_FIELD, sourceGeometries, sourceOrientation, sourcesIndex, sourcesPk, YAW_DATABASE_FIELD -
Constructor Summary
ConstructorsConstructorDescriptionSceneWithEmission(ProfileBuilder profileBuilder) SceneWithEmission(ProfileBuilder profileBuilder, SceneDatabaseInputSettings sceneDatabaseInputSettings) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSource(Long pk, org.locationtech.jts.geom.Geometry geom, org.h2gis.utilities.SpatialResultSet rs) Add geometry with additional attributesvoidaddSourceEmission(Long sourcePrimaryKey, String period, double[] wj) Link a source with a period and a spectrumvoidaddSourceEmission(Long pk, ResultSet rs) voidvoidprocessEmission(Long pk, ResultSet rs) voidprocessTrafficFlow(Long pk, ResultSet rs) voidprocessTrafficFlowDEN(Long pk, org.h2gis.utilities.SpatialResultSet rs) Methods inherited from class org.noise_planet.noisemodelling.propagation.SceneWithAttenuation
addSource, getSourceAttenuation, getSourceGs, isOmnidirectional, setDirectionAttributesMethods inherited from class org.noise_planet.noisemodelling.pathfinder.path.Scene
addReceiver, addReceiver, addReceiver, addSource, addSource, addSource, getCloseReceiverReflectionWallDistance, getReflexionOrder, isBodyBarrier, setBodyBarrier, setCloseReceiverReflectionWallDistance, setComputeHorizontalDiffraction, setComputeVerticalDiffraction, setDefaultGroundAttenuation, setReflexionOrder
-
Field Details
-
wjSources
-
sceneDatabaseInputSettings
-
-
Constructor Details
-
SceneWithEmission
public SceneWithEmission(ProfileBuilder profileBuilder, SceneDatabaseInputSettings sceneDatabaseInputSettings) -
SceneWithEmission
-
SceneWithEmission
public SceneWithEmission()
-
-
Method Details
-
processTrafficFlowDEN
public void processTrafficFlowDEN(Long pk, org.h2gis.utilities.SpatialResultSet rs) throws SQLException - Throws:
SQLException
-
processTrafficFlow
- Parameters:
pk- Source primary keyrs- Emission source table IDSOURCE, PERIOD, LV, HV ..- Throws:
SQLException
-
processEmission
- Parameters:
pk- Source primary keyrs- Emission source table IDSOURCE, PERIOD, LV, HV ..- Throws:
SQLException
-
addSource
public void addSource(Long pk, org.locationtech.jts.geom.Geometry geom, org.h2gis.utilities.SpatialResultSet rs) throws SQLException Description copied from class:SceneWithAttenuationAdd geometry with additional attributes- Overrides:
addSourcein classSceneWithAttenuation- Parameters:
pk- Unique source identifiergeom- Source geometryrs- Additional attributes fetched from database- Throws:
SQLException
-
addSourceEmission
- Throws:
SQLException
-
addSourceEmission
Link a source with a period and a spectrum- Parameters:
sourcePrimaryKey-period-wj-
-
clearSources
public void clearSources()- Overrides:
clearSourcesin classSceneWithAttenuation
-