This is the lower level function to set the actuators. If the state is incorrect the state machine in the exec function will trigger the software fault.
The next state - which should now be the first drain state - also checks DG modes. I don't see an issue with removing this state except that next state needs to check for DG in fault mode so that it will skip past drain state.