Start writing simulation