Giant Magellan Telescope control systems model codes

The repository contains Rust code for several GMT subsystems that make up end-to-end simulation models. These codes were generated through a compilation process, using Simulink models that were translated into C language. The files are organized into subfolders, with each subfolder dedicated to a specific subsystem. The current version of the repository includes the control model for two subsystems: M1 and M2. The Simulink model files for each subsystem can be found in the "simulink-models" folder within the respective subsystem folder. Further information about the available models is provided below.

Primary mirror control system

The M1 control system codes can be found in the "m1-ctrl" folder. These codes include transfer functions for the support actuator (SA) feedback controller and closed-loop dynamics of the hardpoint (HP) motions, which were compiled from high-level Simulink models.

The SA feedback controller models have parameters that depend on the structural model. The "calibdt" folder contains a data file with the computed parameters, assuming the 202206101023MTmountzen30m1HFNFSM_ model.

Secondary mirror control system

The M2 control system codes can be found in the "m2-ctrl" folder.