I have a system dynamic that is non-smooth because it has several signum and absolute value functions in it (three-tank level control).

I can obviously choose different sigmoid functions to approximate the dynamics in a way that they become n-times continuously differentiable.

Can somebody point me out to a systematic approach for doing this?

I can think of many ways to approximate the functions but it is difficult for me to decide on the "best" one.

Right now I would base my decision on the following criteria:

- smoothness (differentiability class)

- numerical computation effort (especially concerning integration)

An example term that I would want to be smooth would be:

$$

sign(x_1 - x_2) \sqrt{abs(x_1-x_2)}

$$

The context of my question is nonlinear model predictive control.

Similar questions and discussions