I can use self define block but the code inside the block is hide so please open it. Can you please use spring mass and damper system?