anchor.diff:     
      
      IF ( p_FAST%CompServo == Module_SrvD  ) THEN         
  -      CALL SrvD_InputSolve( p_FAST, m_FAST, SrvD%Input(1), ED%Output(1), IfW%y, OpFM%y, MeshmapData, ErrStat2, ErrMsg2 )    ! At initialization, we don't have a previous value, so we'll use the guess inputs instead. note that this violates the framework.... (done for the Bladed DLL)
  +      CALL SrvD_InputSolve( p_FAST, m_FAST, SrvD%Input(1), ED%Output(1), IfW%y, OpFM%y, BD%y, MeshmapData, ErrStat2, ErrMsg2 )    ! At initialization, we don't have a previous value, so we'll use the guess inputs instead. note that this violates the framework.... (done for the Bladed DLL)
         CALL SetErrStat( ErrStat2, ErrMsg2, ErrStat, ErrMsg, RoutineName )  
      END IF         
                        
  
positive.code:    TYPE(ED_OutputType),              INTENT(IN)     :: y_ED         ! ElastoDyn outputs
     TYPE(InflowWind_OutputType),      INTENT(IN)     :: y_IfW        ! InflowWind outputs
     TYPE(OpFM_OutputType),            INTENT(IN)     :: y_OpFM       ! InflowWind outputs
     TYPE(SrvD_OutputType), OPTIONAL,  INTENT(IN)     :: y_SrvD_prev  ! ServoDyn outputs from t - dt
     TYPE(FAST_ModuleMapType),         INTENT(INOUT)  :: MeshMapData  ! Data for mapping between modules
     INTEGER(IntKi),                   INTENT(  OUT)  :: ErrStat      ! Error status
     CHARACTER(*),                     INTENT(  OUT)  :: ErrMsg       ! Error message
  !  TYPE(AD_OutputType),              INTENT(IN)     :: y_AD         ! AeroDyn outputs
  
  
  
     ErrStat = ErrID_None
     ErrMsg  = ""
  
negative.code:                
  END SUBROUTINE ED_InputSolve
  !----------------------------------------------------------------------------------------------------------------------------------
  SUBROUTINE SrvD_InputSolve( p_FAST, m_FAST, u_SrvD, y_ED, y_IfW, y_OpFM, y_BD, MeshMapData, ErrStat, ErrMsg, y_SrvD_prev )
  ! This routine sets the inputs required for ServoDyn
  !..................................................................................................................................
  
  