Excellent stuff there!
I still get troubles with 2d mod (frequency doesn't change, neither 160/500 nor 500/750). How can I make a smooth fan regulation? I think I'll try the second type of regulation (table).

Thank you very much