The CBETA project  is the first and unique of its kind electron accelerator which combines two accelerator concepts together. The Energy Recovery Linac (ERL) and the Fixed Field Alternating Gradient (FFA_G) concepts. The CBETA project is currently in the commissioning stage and some of the beam optics of the accelerator has be done using lamp-magnet methods to describe the fields of the FFAG magnets. Recently the zgoubi computer code is used to describe the beam optics of the accelerator during its acceleration and deceleration cycle. In this effort the zgoubi computer code is utilizing field maps of the permanent Halbach type of magnets of the FFA_G section of the accelerator. These field maps have been derived using the OPERA computer code  which modeled the Halbach magnets. Two methods of modeling the Halbach magnets using the OPERA code will be described, and some results from the beam optics calculations will be presented.
 The CBETA project: arXiv:1706.04245
 Zgoubi code: https://www.bnl.gov
 The Opera code: https://operafea.com/