Generally, Hodgkin & Huxley-derived models are used to describe the gating characteristics of ion channels and ligand operated receptors.
Ligand-gated and voltage-operated ion channels do not really perform a memory task. Instead, they channel ions across the cell memnrane and by doing so they can convey information from out the cell (neurotransmitter release / voltage changes) into the cell. Their role is physiological and the way they are modeled is typically based on Hodgkin & Huxley kinetics (Sig, 2014) (Fig. 1).
Fig. 1. Hodgkin & Huxley model of membrane kinetics. source: Neuronal Dynamics
The Hodgkin-Huxley model models the semi-permeable cell membrane as a capacitor that separates the interior of the cell from the extracellular fluid. If an input current is injected into the cell, it may add further charge on the capacitor, or leak through the channels in the cell membrane. Each channel type is modeled by a resistor (conductor of current). The unspecific channel has a leak resistance R, the sodium channel a resistance RNa and the potassium channel a resistance RK. The diagonal arrow across the diagram of the resistor indicates that the value of the resistance is not fixed, but changes depending on whether the ion channel is open or closed. Because of active ion transport through the cell membrane, the ion concentration inside the cell is different from that in the extracellular liquid. The Nernst potential generated by the difference in ion concentration is represented by a battery. The Nernst potential depends on the ion and hence there are separate batteries for sodium, potassium, and the unspecific third channel, with battery voltages ENa, EK and EL (source: Neuronal Dynamics).
Now to your edited question: you say
[Ion channels] are just switched on and off instantaneously. But this may be oversimplified: it takes some time...
It goes further than that; voltage-operated ion channels like the Na+ channel are actively activated and inactivated with well-defined time constants that, among other things, govern the process of absolute and relative refractoriness of nerve cells (Fig. 2). The temporal gating characteristics in terms of activation and inactivation are expressed as time constants, which can be described in for example a Markov model (Wang et al., 2004). For example,
dm/dt = 1/τm(V) * (m∞(V)−m), where
m∞(V) = α(V) / [α(V)+β(V)] (9)
τm(V) = 1 / [α(V)+β(V)]
Here, m∞ is the steady-state activation and τm is the activation time constant of the Na+ current (n∞ and τn represent the same quantities for the K+ current). In the case of h, h∞ and τh are called steady-state inactivation and inactivation time constant, respectively (source: Destexhe & Huguenard, 2007).
Similar formulas apply to the association and dissociation constants in ligand-operated channels, where timing of activation and inactivation are affected by the ligand's affinity for the receptor.
Fig. 2. Ion channel gating. source: Lehmann-Horne & Jurkatt-Rott (1999)
- Lehmann-Horne & Jurkatt-Rott, Physiol Rev (1999); 79(4): 1317-72
- Sig, J Gen Physiol (2014); 144(1) 7-26
- Wang et al., J Physiol (2004); 557(3): 705–17