Voltage as a species unit

Daniel Bending on 31 Oct 2023
Latest activity Reply by Fulden Buyukozturk on 31 Oct 2023

Hi All,
I'm currently attempting to implement a Hodgkin-Huxley-type model of membrane potential, ideally I would like a species that represents the membrane potential as its own distinct entity, so as the reference elsewhere. I've currently established a molarity-based work around but it would be great if I could set the units for the species as millivolt, but that throws an error.
Is there an established way to do this? I imagine I'm not the first person to be trying to model a voltage-gated ion channel!
Thank you for your help.
Fulden Buyukozturk
Fulden Buyukozturk on 31 Oct 2023
Hi Daniel - if I remember correctly the membrane potential can have a negative value as well as positive. Species are designed to represents entities that are in positive parameter domain. So, I would recommend using a parameter and a rate rule to define the dynamics of membrane potential. Parameters can be negative or positive.
Fulden