Example 2: Gear Shift (1)
    
      - Basic system:
        
          - manual transmission in a car
 
          - allows to change the ratio of rotational speeds from
            motor and drive shaft
 
          - usually provides a few fixed ratios (gears)
 
          - complex internal structure
            
          
 
        
       
      - Model in Modelica:
        
          - basic component GearWithExternalRatio
            
              - two connectors (flanges) and external input ratio
                r
 
              - equations
 
              
 
            
           
          - gear shift model
            
              
 
              - table to compute ratio from gear
 
              - additional inertias
 
            
           
          - complete model
            
          
 
          - run in Dymola with changing gear →
            
              - Failed to reduce the DAE index.