Algorithm development and simulation