MaglevControl.txt File Reference

The Maglev control setup file. The control setup file includes a reference to the simulation file, a definition of the system and of the modules, and a mapping of the simulation variables to the control variables. More...


Detailed Description

The Maglev control setup file. The control setup file includes a reference to the simulation file, a definition of the system and of the modules, and a mapping of the simulation variables to the control variables.

# Declare the simulation to run
#------------------------------
Simulation ../DS2Files/Maglev.ds2

# Declare a system
#-----------------
System Maglev

# Ratio of real-time to sim time
#-------------------------------
TimeScale 1

# Maglev control system
#----------------------
Module Maglev maglev_timer      Timer       /usr/local/lib/DACControl.so
Module Maglev maglev_control    Control     /usr/local/lib/DACControl.so

# Map the simulation variables
#-----------------------------
Variable Maglev:velocity    Maglev velocity_sim
Variable Maglev:position    Maglev position_sim
Variable Maglev:i           Maglev current_sim
        


Definition in file MaglevControl.txt.

 All Classes Files Functions Variables