Create a copy of that existing model which is closest to that you wish
to implement in the directory lsm/csim/src. In the following we
assume that the related files are called MyModel.h and
MyModel.cpp.
Implement your model.
Add you model to CSIM:
Linux/Unix/: Add MyModel.o to the list of objects in the Makefile.
Windows: Add MyModel.obj to the list of objects in the Makefile.win.