Code to solve the idealized fall simulator model