- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2022-06-02 14:50:10+12:00
- Desc:
- Update name of V_diadic
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/88c/rawfile/68990987f2d366588c2bdacf42d521881eb011f1/parameter_finder/kinetic_parameters_diadCaDiffusion.py
# diffusion of Calcium from diadic space to myoplasm (From Greenstein and Winslow 2002)
# Return kinetic parameters, constraints, and vector of volumes in each
# compartment (pL) (1 if gating variable, or in element corresponding to
# kappa)
# Translated from Pan 2018 cardiac AP
import numpy as np
def kinetic_parameters(M, include_type2_reactions, dims, V):
# Set the kinetic rate constants
num_cols = dims['num_cols']
num_rows = dims['num_rows']
# constants are stored in V
# k+ = k- = r_xfer
r_xfer = 0.2 # [=] 1/s
kf = r_xfer
kr = r_xfer
k_kinetic = [kf, kr]
# CONSTRAINTS
N_cT = []
K_C = []
# volume vector
# W = list(np.append([1] * num_cols, [V['V_myo']] * num_rows))
W = [1, V['V_di'], V['V_myo']]
return (k_kinetic, N_cT, K_C, W)