Location: Metabolic Component Library @ 702b54b45018 / CellML-source / CellMLTools / models / HormoneGlucoseResponseDecreasing.cellml

Author:
Randall Britten <r.britten@auckland.ac.nz>
Date:
2013-04-17 15:30:14+12:00
Desc:
To "clone" an imported component, the top level import element needs to be duplicated, not just the component reference within an existing import. The rationale is that all connections within a top-level import are kept intact, as dictated by the encapsulation in the imported model.
Permanent Source URI:
https://staging.physiomeproject.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/702b54b45018b04ef1bc074677379dc20d983234/CellML-source/CellMLTools/models/HormoneGlucoseResponseDecreasing.cellml

<?xml version="1.0"?>
<model xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" cmeta:id="HormoneGlucoseResponseDecreasing" name="HormoneGlucoseResponseDecreasing"> 
   <component name="HormoneGlucoseResponseDecreasing">
      <variable name="h" public_interface="out" units="pM"/>
      <variable name="glc" public_interface="in" units="mM"/>
      <variable name="h_max" public_interface="in" units="pM"/>
      <variable name="h_base" public_interface="in" units="pM"/>
      <variable name="h_km" public_interface="in" units="pM"/>
      <variable name="h_n" public_interface="in" units="dimensionless"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>h</ci>
            <apply>
               <times/>
               <apply>
                  <minus/>
                  <ci>h_max</ci>
                  <ci>h_base</ci>
               </apply>
               <apply>
                  <minus/>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.0#" cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <apply>
                        <power/>
                        <ci>glc</ci>
                        <ci>h_n</ci>
                     </apply>
                     <apply>
                        <plus/>
                        <apply>
                           <power/>
                           <ci>glc</ci>
                           <ci>h_n</ci>
                        </apply>
                        <apply>
                           <power/>
                           <ci>h_km</ci>
                           <ci>h_n</ci>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
</model>