calibrations project simulation code