ship expends energy