RHESSI Simulations of Complicated Flares