buur Posted August 21, 2020 Posted August 21, 2020 I has played a little bit with the dynamic weather system, especially with the cyclones described under \DCS\MissionEditor\weather\dynamic. I found that for a system with a ellipticity = 1 following formula describes the problem over the hole map. P = pressure_excess *exp(-((x - centerX).^2+(z - centerZ).^2)/pressure_spread^2); Also I found that the single cyclones are additive, e.g. P_total = P_1 + P_2 + ..... You can see it in following picture were you can see two cyclones (red and yellow) and also the result (green). The values are the pressure measured in DCS: With this knowledge we are able to calculate the pressure over the whole map and can make pressure charts like in picture in the attachment. Now my question: I'm struggling a little bit to insert the ellipticity and the rotation in above formula. Has anybody from the community an idea how to bring it into the formula? Thanks buur
buur Posted August 22, 2020 Author Posted August 22, 2020 Ok, I found the solution. Looking on German Wikipedia was a bad idea, looking on English Wikipedia a good one.https://en.wikipedia.org/wiki/Gaussian_function Even with Octave code, very nice. The next job is now to calibrate the function.
Recommended Posts