[770c98]: / Application / Validation / GaitVaughan / GaitVaughan.main.any

Download this file

93 lines (70 with data), 3.0 kB

#include "../libdef.any"

// This MOdel runs a Gait Cycle of a subject and compares Muscle Activities with EMG measurments.
// Please find a detailed description here:
#include "Model/Description.any"

Main = {
  
  // Creates RunApplication Sequence  
  #include "Model/RunApplication.any"
    
  // ----------------------------------------------------------
  // Draw settings
  // ----------------------------------------------------------
  #include "Model/DrawSettings.any"
  // ----------------------------------------------------------
  // Definition of the path for Mannequin.any file
  // ----------------------------------------------------------  
  #include "Model/Mannequin.any"
  // ----------------------------------------------------------
  // Definition of the path for anthropometric data
  // ----------------------------------------------------------   
  #path BM_SCALING_ANTHRO_FILE "Model/AnyMan.any"
  // ----------------------------------------------------------
  // Scaling method settings
  // ----------------------------------------------------------    
  #define BM_SCALING _SCALING_UNIFORM_
  
  // ----------------------------------------------------------
  // BM statements which configure the structure of human model
  // ----------------------------------------------------------  
  #include "Model/BodyModelConfiguration.any"
  
  
  #include "<ANYBODY_PATH_BODY>/HumanModel.any" 
  HumanModel = 
  {
    #include "Model/KitVaughanMarkers.any"
  };
  
  AnyFolder Model={
    
    AnyFolder &BodyModel = .HumanModel.BodyModel;
    
    //Create segments for each of the markers and drive them according to data
    //which can be found in the files p1.any - p15.any
    #include "Model/MotionTrackerInclude.any"
        
    //Environment around the human
    AnyFolder Environment ={
      //Model of the floor and force plates 
      #include "Model/Environment.any"
      
    };
    //Connection between environment and the human    
    AnyFolder ModelEnvironmentConnection = {
      //Drivers for the model
      #include "Model/JointsAndDriversOldMethod.any"
    };
  };
  
  // The study: Operations to be performed on the model
  AnyBodyStudy Study = {
    AnyFolder &Model = .Model;
    nStep=100;
    Gravity = {0.001, 0.001,-9.81};
    tEnd=1.26-0.1;
    tStart=0.01;
    
    
    //Folder which contains a a comparison of measured EMG with calculated muscle activity
    #include "Model/EMGComparison.any"
    
    //enable this line if you would like to see marker trajectories
    //#include "Model/Trajectories.any"
  };
  
  //Run this study for comparison between model and measured EMG data, it will automatically normalize all curves to unitiy
  //the curves are found in the PostProcessing folder
  AnyBodyStudy PostStudy ={
    nStep=100;
    Gravity = {0.001, 0.001,-9.81};
    tEnd=1.26-0.1;
    tStart=0.01;
    
    #include "Model/PostProcessing.any"
    
  };
};  // Main