Hi, I am here looking for help again.
What I want to do is add a particular VClamp which is a function of a parameter. The details are shown in the following code.
x is a variable changing with time(or we can understand that it is a practical physical parameter that we can measure based on a physical model). Then I link the voltage with this variable to set the VClamp input of my NEURON model. I know that this might not be consistant with true biological theory. It is just an experiment assumption I want to make. I have checked the source code of built-in VClamp.mod from GitHub. But it is a little difficult for me to understand, it seemed that there are much more parameters to be needed than this model. So I want to ask that what should I write in a mod file to insert this VClamp.
In addition, x can be regarded as a constant in a small period of time. What I mean is that the running of NEURON model is repeated again and again, but in every time of simulation, x can be given a certain value or a constant value. Therefore, I think x can be in PARAMETER module of mod file, right?
Looking forward to your reply very much! Thank you for your patience and help again.