Displaying report 1-1 of 1.
Reports until 14:10, Monday 18 November 2024
Controls Optimal Controls
Ian MacMillan - posted 14:10, Monday 18 November 2024 (11990)
Making and Testing the ASC DHARD Yaw model in Buzz.

This post is going to cover how to build the ASC DHARD Yaw model (abbreviated ADY) in Buzz. The first step is to make sure that you are on the dev branch the main branch hasn't been updated in a long time (I should do that). the folder for the most up to date ADY model is in the test/ASC_SOLVER folder (not the test/ADY folder). there are a number of model type folders inside of this folder. Basically there is a few ways to attach different FOMs to different outputs of the model. the one we are interested in is the ExampleModels_newFOM. In the folder for this configuration you will find all of the different fits to environmental noise and measurement noise as well as the BNS FOM fit that comes from the test/FOMs folder. None of this should be touched. As it is all been put in this folder to make a specific configuration for this model. The configuration for this model is the basic both FOMs come out of the plant output. To run the code to build this model run the command:

pytest T_ADY_make_sys.py::test_Make_ADY[ExampleModels_newFOM]

This should run the code in the file T_ADY_make_sys.py that builds the system. It also generates plots to assess if everything was put together correctly. I will now go through these plots and explain what all the important ones say about the model.

FOM_bode.pdf: This plot shows what the two FOMs. Note the scale of these two FOMs is set so that the max of the BNS FOM is 1. It will be rescaled when it gets solved.  

Noise_bode.pdf: This is the most basic plot showing the inner workings of the model. Much like the next plot it is showing the individual components that are going into the function makeSPOFF(). All of the labels are rather self explanatory where "S*P" is the product of the plant and the environmental noise.

SPOFF_diagnostic_bode.pdf: This plot is showing the internal workings of the model. It is showing transfer functions for a number of the components. "P alone" is the plant that was put into the makeSPOFF() function. All the other traces are from the final connected model and are as follows

With all of the plots produced the configuration folder ExampleModels_newFOM should be automatically updated with the newest version with whatever changes you made. After that run the tests T_calc_H2, T_plot_H2, T_calc_HiB, and T_plot_HiB with the [ExampleModels_newFOM] option to run the solver with your model.

Non-image files attached to this report
Displaying report 1-1 of 1.