% # iLeak_IN_JB12:
%
% Chloride/general Leak current, Hodgkin-Huxley-style, for generic interneuron
% dendrite compartments used in the DynaSim implementation of (Benita et al.,
% 2012).
%
% - References:
%     - Benita, J. M., Guillamon, A., Deco, G., & Sanchez-Vives, M. V. (2012).
%     Synaptic depression and slow oscillatory activity in a biophysical
%     network model of the cerebral cortex. Frontiers in Computational
%     Neuroscience, 6. https://doi.org/10.3389/fncom.2012.00064
%
% - Tags: potassium, leak, current, intrinsic, interneuron, dendrite
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Parameters
gLeak = 0.1025 % mS/cm^2
ELeak = -63.8  % mV

% Functions
ILeak_IN_JB12(X) = -gLeak.*(X-ELeak)

monitor ILeak_IN_JB12

% Linker
@current += ILeak_IN_JB12(X)