Emulation of a Hydrokinetic Turbine to Assess Control and Grid Integration