Watch this Author's files
I found the PWM example as really good and helpful for my needs. Very very good!
a "2-point controller" is also missing...
The "Relay" block is useless, because it does NOT have controllable threshold levels.
To: massi kambis (firstname.lastname@example.org)
a "Integrator" block with external reset can help you.