Location: Cooling, Hunter, Crampin, 2009 @ 00be32aed712 / calcium_TomidaProtocol.cellml

Author:
Mike Cooling <m.cooling@auckland.ac.nz>
Date:
2010-06-02 13:32:24+12:00
Desc:
Removed the sub-folder structure and pulling all three models into one folder, to avoid UI issues with the Repository.
Permanent Source URI:
http://models.cellml.org/workspace/cooling_hunter_crampin_2009/rawfile/00be32aed712c03ef96e6cd04f55cc5d219406c9/calcium_TomidaProtocol.cellml

<?xml version="1.0" encoding="iso-8859-1"?>
<model
    name="calcium"
    cmeta:id="calcium"
    xmlns="http://www.cellml.org/cellml/1.1#"
    xmlns:cellml="http://www.cellml.org/cellml/1.1#"
    xmlns:cmeta="http://www.cellml.org/metadata/1.0#">
    
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:cmeta="http://www.cellml.org/metadata/1.0#"
    xmlns:bqs="http://www.cellml.org/bqs/1.0#"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:vCard="http://www.w3.org/2001/vcard-rdf/3.0#">
    <rdf:Description rdf:about="#calcium">
        <dc:creator rdf:parseType="Resource">
            <vCard:N rdf:parseType="Resource">
                <vCard:Family>Cooling</vCard:Family>
                <vCard:Given>Michael</vCard:Given>
            </vCard:N>
            <vCard:EMAIL rdf:parseType="Resource">
                <rdf:value>m.cooling@auckland.ac.nz</rdf:value>
                <rdf:type rdf:resource="http://imc.org/vCard/3.0#internet" />
            </vCard:EMAIL>
        </dc:creator>

        <dc:title>Cooling's calcium module for the Tomida-derived protocol</dc:title>
    </rdf:Description>
</rdf:RDF> 
<!--
*******************************************************
***         U   N   I   T   S                       ***
*******************************************************
-->
   <units name="s">
      <unit units="second"/>
   </units>
   
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="nM">
         <unit units="mole" prefix="nano"/>
         <unit units="liter" exponent="-1"/>
      </units>
      <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_s">
         <unit units="s" exponent="-1"/>
      </units>
      <units xmlns="http://www.cellml.org/cellml/1.0#" name="nM_per_s">
         <unit units="nM"/>
         <unit units="s" exponent="-1"/>
      </units>
<!--
*********************************************************
***       C   O   M   P   O   N   E   N   T   S       ***
*********************************************************
-->
 <component name="calcium">
             <variable name="t"   units="s" public_interface="in"/>
             <variable name="stimEnd" units="s" initial_value="1800"/>
             <variable name="Ca" units="nM" public_interface="out"/>
                          
             <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                        <eq/>
                        <ci>Ca</ci>
                        <piecewise>
                           <piece>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <times/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="nM">459</cn>
                                          <cn cellml:units="nM">576</cn>
                                       </apply>
                                       <ci>t</ci>
                                    </apply>
                                    <cn cellml:units="s">180</cn>
                                 </apply>
                                 <cn cellml:units="nM">576</cn>
                              </apply>
                              <apply>
                                 <and/>
                                 <apply>
                                    <geq/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">0</cn>
                                 </apply>
                                 <apply>
                                    <leq/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">180</cn>
                                 </apply>
                              </apply>
                           </piece>
                           <piece>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <times/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="nM">406</cn>
                                          <cn cellml:units="nM">459</cn>
                                       </apply>
                                       <apply>
                                          <minus/>
                                          <ci>t</ci>
                                          <cn cellml:units="s">180</cn>
                                       </apply>
                                    </apply>
                                    <cn cellml:units="s">180</cn>
                                 </apply>
                                 <cn cellml:units="nM">459</cn>
                              </apply>
                              <apply>
                                 <and/>
                                 <apply>
                                    <gt/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">180</cn>
                                 </apply>
                                 <apply>
                                    <leq/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">360</cn>
                                 </apply>
                              </apply>
                           </piece>
                           <piece>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <times/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="nM">377</cn>
                                          <cn cellml:units="nM">406</cn>
                                       </apply>
                                       <apply>
                                          <minus/>
                                          <ci>t</ci>
                                          <cn cellml:units="s">360</cn>
                                       </apply>
                                    </apply>
                                    <cn cellml:units="s">180</cn>
                                 </apply>
                                 <cn cellml:units="nM">406</cn>
                              </apply>
                              <apply>
                                 <and/>
                                 <apply>
                                    <gt/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">360</cn>
                                 </apply>
                                 <apply>
                                    <leq/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">540</cn>
                                 </apply>
                              </apply>
                           </piece>
                           <piece>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <times/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="nM">348</cn>
                                          <cn cellml:units="nM">377</cn>
                                       </apply>
                                       <apply>
                                          <minus/>
                                          <ci>t</ci>
                                          <cn cellml:units="s">540</cn>
                                       </apply>
                                    </apply>
                                    <cn cellml:units="s">180</cn>
                                 </apply>
                                 <cn cellml:units="nM">377</cn>
                              </apply>
                              <apply>
                                 <and/>
                                 <apply>
                                    <gt/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">540</cn>
                                 </apply>
                                 <apply>
                                    <leq/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">720</cn>
                                 </apply>
                              </apply>
                           </piece>
                           <piece>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <times/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="nM">336</cn>
                                          <cn cellml:units="nM">348</cn>
                                       </apply>
                                       <apply>
                                          <minus/>
                                          <ci>t</ci>
                                          <cn cellml:units="s">720</cn>
                                       </apply>
                                    </apply>
                                    <cn cellml:units="s">180</cn>
                                 </apply>
                                 <cn cellml:units="nM">348</cn>
                              </apply>
                              <apply>
                                 <and/>
                                 <apply>
                                    <gt/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">720</cn>
                                 </apply>
                                 <apply>
                                    <leq/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">900</cn>
                                 </apply>
                              </apply>
                           </piece>
                           <piece>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <times/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="nM">334</cn>
                                          <cn cellml:units="nM">336</cn>
                                       </apply>
                                       <apply>
                                          <minus/>
                                          <ci>t</ci>
                                          <cn cellml:units="s">900</cn>
                                       </apply>
                                    </apply>
                                    <cn cellml:units="s">180</cn>
                                 </apply>
                                 <cn cellml:units="nM">336</cn>
                              </apply>
                              <apply>
                                 <and/>
                                 <apply>
                                    <gt/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">900</cn>
                                 </apply>
                                 <apply>
                                    <leq/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">1080</cn>
                                 </apply>
                              </apply>
                           </piece>
                           <piece>
                              <cn cellml:units="nM">334</cn>
                              <apply>
                                 <and/>
                                 <apply>
                                    <gt/>
                                    <ci>t</ci>
                                    <cn cellml:units="s">1080</cn>
                                 </apply>
                                 <apply>
                                    <leq/>
                                    <ci>t</ci>
                                    <ci>stimEnd</ci>
                                 </apply>
                              </apply>
                           </piece>
                           <otherwise>
                              <cn cellml:units="nM">60</cn>
                           </otherwise>
                        </piecewise>
         </apply>
             
             </math>
   </component>

</model>