comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCrossSectionProcessor.java @ 9533:d9fda7af24ca

No discharge zone calculation and output for gauges unknown in flys for sinfo collision (Meilenstein 2, 2.2.1)
author mschaefer
date Thu, 04 Oct 2018 12:48:57 +0200
parents 7c8d62867876
children 9b8e8fc1f408
comparison
equal deleted inserted replaced
9532:8e6b9cb9486a 9533:d9fda7af24ca
119 private static double uefdToHeight(final River river, final double station, final int uefd) { 119 private static double uefdToHeight(final River river, final double station, final int uefd) {
120 120
121 final MainWstValues mainWstValues = MainWstValues.forRiver(river); 121 final MainWstValues mainWstValues = MainWstValues.forRiver(river);
122 final double mw = mainWstValues.getW(river, MAIN_VALUE_MQ, station); 122 final double mw = mainWstValues.getW(river, MAIN_VALUE_MQ, station);
123 123
124 // Üfd = -70,559 ∗ ln((DGM - MW) + 0,5) + 80,711 124 // Üfd = -70,559 ∗ ln((DGM - MW) + 0,5) + 88,711
125 final double f1 = -70.559; 125 final double f1 = -70.559;
126 final double f2 = 88.711; 126 final double f2 = 88.711;
127 127
128 final double dgm = Math.exp((uefd - f2) / f1) + mw - 0.5; 128 final double dgm = Math.exp((uefd - f2) / f1) + mw - 0.5;
129 return dgm; 129 return dgm;

http://dive4elements.wald.intevation.org