A digital control simulator