linear simulation