Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement An Improved Wind Model #7

Open
william-swy opened this issue Jan 30, 2021 · 1 comment
Open

Implement An Improved Wind Model #7

william-swy opened this issue Jan 30, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@william-swy
Copy link
Collaborator

william-swy commented Jan 30, 2021

Currently the wind model being used is static, meaning the wind speed and direction is constant throughout the entire flight which is very unlikely to happen in reality. It would be really nice if a dynamic wind model was made and it would be even more nice if it was tuned to Truth and Consequences NM, USA for the month of December.

Look into implementing the von karman wind turbulence model.

@william-swy william-swy added enhancement New feature or request help wanted Extra attention is needed labels Jan 30, 2021
@william-swy
Copy link
Collaborator Author

william-swy commented May 30, 2021

A significantly improved wind model has been added (HWM14) using MATLAB's aerospace toolbox atmoshwm. Major issue with runtime as it is ridiculously slow as seen in table below (takes 19 secs of the total 26 secs).

image

Going to need to find some solution for this as it means running the Monte Carlo simulation is going to take a super long time. Monte Carlo simulation for 1000 samples took more than 5 hrs using atmoshwm while before a 10000 output took less than 1 hr.

Just for a reference, the original Fortran implementation of HWM14 takes 0.2 sec to run 20000 times while atmoshwm takes 19 sec to run 18000 times. Obviously there are multiple factors in play, such as Fortran being compiled, but it is worth noting the huge difference in performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant