Characterizing the actuation energy in magnetically textured composites