<?xml version="1.0" encoding="UTF-8"?>
<dml version="0.7" appVersion="0.7">
<diagram diagram_class="biouml.model.Diagram" diagram_type="biouml.standard.diagram.pathway.PathwaySimulationDiagramType">
<compartmentInfo id="unknown" title="pharmo_simple" kernel_ref="biouml.standard.type.BaseSupport/pharmo_simple" x="0.0" y="0.0" width="50.0" height="50.0" shape="0" color="1.0 1.0 1.0 1.0 "/>
<viewOptions>
<component class_name="unknown"/>
</viewOptions>
<nodes>
<compartment>
<compartmentInfo id="unknown" title="blood" kernel_ref="biouml.standard.type.Compartment/blood" x="10.0" y="30.0" width="120.0" height="250.0" shape="0" color="1.0 0.686274528503418 0.686274528503418 1.0 "/>
<nodes>
<node id="A" title="A" kernel_ref="biouml.standard.type.Substance/A" x="10.0" y="100.0"/>
</nodes>
<edges/>
</compartment>
<node id="blood/A -&gt; liver/A" title="blood/A -&gt; liver/A" kernel_ref="biouml.standard.type.Reaction/blood/A -&gt; liver/A" x="160.0" y="100.0"/>
<compartment>
<compartmentInfo id="unknown" title="liver" kernel_ref="biouml.standard.type.Compartment/liver" x="300.0" y="30.0" width="540.0" height="250.0" shape="0" color="0.9411764740943909 0.9411764740943909 0.7843137383460999 1.0 "/>
<nodes>
<node id="A" title="A" kernel_ref="biouml.standard.type.Substance/A" x="15.0" y="100.0"/>
<node id="A -&gt; B by E" title="A -&gt; B by E" kernel_ref="biouml.standard.type.Reaction/A -&gt; B by E" x="260.0" y="150.0"/>
<node id="B" title="B" kernel_ref="biouml.standard.type.Substance/B" x="450.0" y="100.0"/>
<node id="E" title="E" kernel_ref="biouml.standard.type.Protein/E" x="270.0" y="30.0"/>
</nodes>
<edges>
<edge id="-&gt; B" title="-&gt; B" kernel_ref="biouml.standard.type.Relation/-&gt; B" in_ref="liver.A -&gt; B by E" out_ref="liver.B"/>
<edge id="A -&gt;" title="A -&gt;" kernel_ref="biouml.standard.type.Relation/A -&gt;" in_ref="liver.A" out_ref="liver.A -&gt; B by E"/>
<edge id="E -&gt;&gt;" title="E -&gt;&gt;" kernel_ref="biouml.standard.type.Relation/E -&gt;&gt;" in_ref="liver.E" out_ref="liver.A -&gt; B by E"/>
</edges>
</compartment>
<node id="liver/A -&gt; blood/A" title="liver/A -&gt; blood/A" kernel_ref="biouml.standard.type.Reaction/liver/A -&gt; blood/A" x="160.0" y="160.0"/>
</nodes>
<edges>
<edge id="-&gt; A_blood" title="-&gt; A_blood" kernel_ref="biouml.standard.type.Relation/-&gt; A_blood" in_ref="liver/A -&gt; blood/A" out_ref="blood.A"/>
<edge id="-&gt; A_liv" title="-&gt; A_liv" kernel_ref="biouml.standard.type.Relation/-&gt; A_liv" in_ref="liver.A" out_ref="liver/A -&gt; blood/A"/>
<edge id="A_blood -&gt;" title="A_blood -&gt;" kernel_ref="biouml.standard.type.Relation/A_blood -&gt;" in_ref="blood.A" out_ref="blood/A -&gt; liver/A"/>
<edge id="A_liv -&gt;" title="A_liv -&gt;" kernel_ref="biouml.standard.type.Relation/A_liv -&gt;" in_ref="blood/A -&gt; liver/A" out_ref="liver.A"/>
</edges>
</diagram>
<executable_model model_class="biouml.model.dynamics.MatlabOdeModel" initial_time="0.0" completion_time="200.0">
<constant name="k_1" value="0.1"/>
<constant name="k_2" value="0.05"/>
<constant name="k_3" value="0.01"/>
<constant name="k_E0" value="1.0"/>
<constant name="k_Km" value="0.1"/>
<constant name="v_liver" value="100.0"/>
<variable diagram_element="blood.A" initial_value="100.0"/>
<variable diagram_element="liver.A" initial_value="0.0"/>
<variable diagram_element="liver.B" initial_value="0.0"/>
<variable diagram_element="liver.E" initial_value="1.0"/>
<equation variable="$blood.A" right_hand_part="k_2*$liver.A" equation="k_2*$liver.A" edge_id="-&gt; A_blood"/>
<equation variable="$liver.A" right_hand_part="k_1*$blood.A" equation="k_1*$blood.A" edge_id="-&gt; A_liv"/>
<equation variable="$blood.A" right_hand_part="-k_1*$A" equation="-k_1*$A" edge_id="A_blood -&gt;"/>
<equation variable="$liver.A" right_hand_part="-k_2*$A" equation="-k_2*$A" edge_id="A_liv -&gt;"/>
<equation variable="$liver.B" right_hand_part="k_3*k_E0*$liver.A/(k_Km+$liver.A/v_liver)" equation="k_3*k_E0*$liver.A/(k_Km+$liver.A/v_liver)" edge_id="-&gt; B"/>
<equation variable="$liver.A" right_hand_part="-k_3*k_E0*$A/(k_Km+$A/v_liver)" equation="-k_3*k_E0*$A/(k_Km+$A/v_liver)" edge_id="A -&gt;"/>
<equation variable="$liver.E" right_hand_part="0" equation="0" edge_id="E -&gt;&gt;"/>
</executable_model>
</dml>
