Flywheel PID

Does anyone have an easy to understand PID loop for a flywheel i can use?