Hello abenhadj, I have better results for show you.

What I expect is the arithmetic average of the instantaneous torque. In image 1, you can see the instantaneous torque for 180 time steps, what I am looking for with the function is the arithmetic average of the last 90 time steps, which is the last value of the gray line. I want that value because I am doing a parametric study in the Workbrench and I want that "last" value to be displayed in the Workbrench.

Unfortunately, the only way I found for the value to come out which is correct, at least in CFXpost, is by creating a transient variable. But I was unable to use that value as an output parameter. What I don't want is to have to put the variable in CFXpost, nor to calculate it through another program and manually enter it into Workbrench, since the design points will be enough.

Do you know of a way to find the arithmetic average of the instantaneous torque for the last 90 time steps, and that this unique value will reflect in Workbrench as an output parameter?