# ABC module # Solute S can be a myriad of things, so leaving unspecified for now # 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'] # numRxn num_rows = dims['num_rows'] # numSpecies # constants are stored in V fkc = 1e6 # fastkineticconstant, 1/s skc = 1e-6 # smallkineticconstant # ReABind # ReSBind # ReHyd # ReRel kf = [fkc]*num_cols kr = [skc]*num_cols k_kinetic = kf + kr #[kf, kr] # CONSTRAINTS N_cT = [] K_C = [] # volume vector W = list(np.append([1] * num_cols, [V['V_myo']] * num_rows)) return (k_kinetic, N_cT, K_C, W)