The Varian CadPlan algorithm for computation of relative dose distributions and monitor unit calculations for Enhanced Dynamic Wedge (EDW) fields is based on a combination of open field beam data and Segmented Treatment data Tables. Calculation of dose by the pencil beam convolution model uses scatter kernels and boundary kernels to create the distribution. The principles of the pencil beam convolution model is presented. Comparison of measured and calculated monitor units and relative dose distributions showed good agreement and the deviations are within international accepted tolerans. Test results indicate that the EDW model works satisfactorily for all energies and wedge angles.