The O86 code provides a 4-part formula to calculate displacement.
Total storey drift should account for:
shearwall bending deflection;
shearwall shear deflection;
shearwall panel nail-slip;
hold-down elongation at the anchor;
this entire formula must be then re-multiplied by the RdRo factors...