- Author:
- Soroush Safaei <ssaf006@aucklanduni.ac.nz>
- Date:
- 2016-11-30 19:39:03+13:00
- Desc:
- adding the state diagram
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/290/rawfile/992caac6b2a757a41dabb8d9db3859343ec71e3d/BG/AE1_BG.cellml
<?xml version='1.0'?>
<model name="AE1_BG" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink">
<import xlink:href="Units.cellml">
<units name="per_mol" units_ref="per_mol"/>
<units name="J_per_mol" units_ref="J_per_mol"/>
<units name="mol_per_s" units_ref="mol_per_s"/>
</import>
<import xlink:href="StateDiagram.cellml">
<component component_ref="state" name="state"/>
</import>
<import xlink:href="Parameters.cellml">
<component component_ref="param" name="param"/>
</import>
<component name="module">
<variable name="time" private_interface="out" units="second"/>
<variable initial_value="2494.34" name="RT" private_interface="out" units="J_per_mol"/>
<!-- State variables-->
<variable initial_value="1.0" name="q_0_Cl_o" private_interface="out" units="mole"/>
<variable initial_value="0.0" name="q_0_Cl_i" private_interface="out" units="mole"/>
<variable initial_value="0.0" name="q_0_HCO3_i" private_interface="out" units="mole"/>
<variable initial_value="1.0" name="q_0_HCO3_o" private_interface="out" units="mole"/>
<variable initial_value="1.0" name="q_0_E_o" private_interface="out" units="mole"/>
<variable initial_value="0.0" name="q_0_ECl_o" private_interface="out" units="mole"/>
<variable initial_value="0.0" name="q_0_ECl_i" private_interface="out" units="mole"/>
<variable initial_value="0.0" name="q_0_E_i" private_interface="out" units="mole"/>
<variable initial_value="0.0" name="q_0_EHCO3_i" private_interface="out" units="mole"/>
<variable initial_value="0.0" name="q_0_EHCO3_o" private_interface="out" units="mole"/>
<variable name="q_Cl_o" private_interface="in" units="mole"/>
<variable name="q_Cl_i" private_interface="in" units="mole"/>
<variable name="q_HCO3_i" private_interface="in" units="mole"/>
<variable name="q_HCO3_o" private_interface="in" units="mole"/>
<variable name="q_E_o" private_interface="in" units="mole"/>
<variable name="q_ECl_o" private_interface="in" units="mole"/>
<variable name="q_ECl_i" private_interface="in" units="mole"/>
<variable name="q_E_i" private_interface="in" units="mole"/>
<variable name="q_EHCO3_i" private_interface="in" units="mole"/>
<variable name="q_EHCO3_o" private_interface="in" units="mole"/>
<variable name="v_Re1" private_interface="in" units="mol_per_s"/>
<variable name="v_Re2" private_interface="in" units="mol_per_s"/>
<variable name="v_Re3" private_interface="in" units="mol_per_s"/>
<variable name="v_Re4" private_interface="in" units="mol_per_s"/>
<variable name="v_Re5" private_interface="in" units="mol_per_s"/>
<variable name="v_Re6" private_interface="in" units="mol_per_s"/>
<variable name="u_Cl_o" private_interface="in" units="J_per_mol"/>
<variable name="u_Cl_i" private_interface="in" units="J_per_mol"/>
<variable name="u_HCO3_i" private_interface="in" units="J_per_mol"/>
<variable name="u_HCO3_o" private_interface="in" units="J_per_mol"/>
<variable name="u_E_o" private_interface="in" units="J_per_mol"/>
<variable name="u_ECl_o" private_interface="in" units="J_per_mol"/>
<variable name="u_ECl_i" private_interface="in" units="J_per_mol"/>
<variable name="u_E_i" private_interface="in" units="J_per_mol"/>
<variable name="u_EHCO3_i" private_interface="in" units="J_per_mol"/>
<variable name="u_EHCO3_o" private_interface="in" units="J_per_mol"/>
<variable name="u11" private_interface="in" units="J_per_mol"/>
<variable name="u12" private_interface="in" units="J_per_mol"/>
<variable name="u13" private_interface="in" units="J_per_mol"/>
<variable name="u14" private_interface="in" units="J_per_mol"/>
</component>
<!-- Mapping to the BG state diagram-->
<connection>
<map_components component_1="module" component_2="state"/>
<map_variables variable_1="time" variable_2="t"/>
<map_variables variable_1="RT" variable_2="RT"/>
<map_variables variable_1="q_0_Cl_o" variable_2="q1_init"/>
<map_variables variable_1="q_0_Cl_i" variable_2="q2_init"/>
<map_variables variable_1="q_0_HCO3_i" variable_2="q3_init"/>
<map_variables variable_1="q_0_HCO3_o" variable_2="q4_init"/>
<map_variables variable_1="q_0_E_o" variable_2="q5_init"/>
<map_variables variable_1="q_0_ECl_o" variable_2="q6_init"/>
<map_variables variable_1="q_0_ECl_i" variable_2="q7_init"/>
<map_variables variable_1="q_0_E_i" variable_2="q8_init"/>
<map_variables variable_1="q_0_EHCO3_i" variable_2="q9_init"/>
<map_variables variable_1="q_0_EHCO3_o" variable_2="q10_init"/>
<map_variables variable_1="q_Cl_o" variable_2="q1"/>
<map_variables variable_1="q_Cl_i" variable_2="q2"/>
<map_variables variable_1="q_HCO3_i" variable_2="q3"/>
<map_variables variable_1="q_HCO3_o" variable_2="q4"/>
<map_variables variable_1="q_E_o" variable_2="q5"/>
<map_variables variable_1="q_ECl_o" variable_2="q6"/>
<map_variables variable_1="q_ECl_i" variable_2="q7"/>
<map_variables variable_1="q_E_i" variable_2="q8"/>
<map_variables variable_1="q_EHCO3_i" variable_2="q9"/>
<map_variables variable_1="q_EHCO3_o" variable_2="q10"/>
<map_variables variable_1="v_Re1" variable_2="v_Re1"/>
<map_variables variable_1="v_Re2" variable_2="v_Re2"/>
<map_variables variable_1="v_Re3" variable_2="v_Re3"/>
<map_variables variable_1="v_Re4" variable_2="v_Re4"/>
<map_variables variable_1="v_Re5" variable_2="v_Re5"/>
<map_variables variable_1="v_Re6" variable_2="v_Re6"/>
<map_variables variable_1="u_Cl_o" variable_2="u1"/>
<map_variables variable_1="u_Cl_i" variable_2="u2"/>
<map_variables variable_1="u_HCO3_i" variable_2="u3"/>
<map_variables variable_1="u_HCO3_o" variable_2="u4"/>
<map_variables variable_1="u_E_o" variable_2="u5"/>
<map_variables variable_1="u_ECl_o" variable_2="u6"/>
<map_variables variable_1="u_ECl_i" variable_2="u7"/>
<map_variables variable_1="u_E_i" variable_2="u8"/>
<map_variables variable_1="u_EHCO3_i" variable_2="u9"/>
<map_variables variable_1="u_EHCO3_o" variable_2="u10"/>
<map_variables variable_1="u11" variable_2="u11"/>
<map_variables variable_1="u12" variable_2="u12"/>
<map_variables variable_1="u13" variable_2="u13"/>
<map_variables variable_1="u14" variable_2="u14"/>
</connection>
<!-- Mapping to the Parameters module-->
<connection>
<map_components component_1="param" component_2="state"/>
<map_variables variable_1="K_Cl_o" variable_2="K_q1"/>
<map_variables variable_1="K_Cl_i" variable_2="K_q2"/>
<map_variables variable_1="K_HCO3_i" variable_2="K_q3"/>
<map_variables variable_1="K_HCO3_o" variable_2="K_q4"/>
<map_variables variable_1="K_E_o" variable_2="K_q5"/>
<map_variables variable_1="K_ECl_o" variable_2="K_q6"/>
<map_variables variable_1="K_ECl_i" variable_2="K_q7"/>
<map_variables variable_1="K_E_i" variable_2="K_q8"/>
<map_variables variable_1="K_EHCO3_i" variable_2="K_q9"/>
<map_variables variable_1="K_EHCO3_o" variable_2="K_q10"/>
<map_variables variable_1="K_Re1" variable_2="K_Re1"/>
<map_variables variable_1="K_Re2" variable_2="K_Re2"/>
<map_variables variable_1="K_Re3" variable_2="K_Re3"/>
<map_variables variable_1="K_Re4" variable_2="K_Re4"/>
<map_variables variable_1="K_Re5" variable_2="K_Re5"/>
<map_variables variable_1="K_Re6" variable_2="K_Re6"/>
</connection>
<group>
<relationship_ref relationship="encapsulation"/>
<component_ref component="module">
<component_ref component="state"/>
<component_ref component="param"/>
</component_ref>
</group>
</model>