william-swy / WB-Dynamics

Whistler Blackcomb Matlab simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WB Monte Carlo Trajectory Simulation

MATLAB Simulation Using Latin Hypercube Sampling Method To Compute A Trajectory Distribution

Shoot Single Trajectory

  1. Follow the template input/template_fields_input.csv to create a file called input/fields_input.csv and fill in the Value column withe the appropriate values. The units are listed in the column Units. Tip: Easy way to create the new file is running cp input/template.csv input/fields_input.csv in the root directory of this project.
  2. Load WB-Dynamics.prj to configure the MATLAB path.
  3. Running src/run_nominal_trajectory.m will run the simulation once with no variation of input variables.

Run Monte Carlo

  1. Follow the templates input/template_fields_input.csv and input/template_errors_input.csv to create two files input/fields_input.csv and input/errors_input.csv respectively.
  2. Load WB-Dynamics.prj to configure the MATLAB path.
  3. Running src/run_monte_carlo.m will sample the parameters and run the simulation multiple times.
  4. Output results will be stored in output/output.csv.

Tests

Test suite can be run using the tests/run_tests.m file. Make sure that after making any changes, run the tests to see if they still pass. Sometimes if the function is significantly updated, the respective test suite may need to be updated too.

Looking for Launch Stability Content?

Link is here but will be later moved as a seperate project with a seperate repository

About

Whistler Blackcomb Matlab simulation


Languages

Language:MATLAB 99.9%Language:M 0.1%