Methods for writing model data