Development of a model code for direct displacement based design