Location: Principled Model Base @ 3f04efaa4258 / Template_Species_uM.cellml

Author:
Michael Cooling <mcoo001@UoA.auckland.ac.nz>
Date:
2016-04-11 11:42:23+12:00
Desc:
Initial Commit
Permanent Source URI:
https://models.cellml.org/workspace/2c3/rawfile/3f04efaa4258734f9fe9caada1095a4310ec580b/Template_Species_uM.cellml

<?xml version="1.0" encoding="utf-8"?>

<model name="Template_Species_uM" cmeta:id="Template_Species_uM"
    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#"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    >
    
    <import xmlns="http://www.cellml.org/cellml/1.1#" xlink:href="Units_Cellular_Systems.cellml">
		<units name="uM_per_s" units_ref="uM_per_s"/>
		<units name="uM" units_ref="uM"/>
		<units name="per_s" units_ref="per_s"/>
    </import>
    
	<group>
	<relationship_ref relationship="encapsulation" />
		<component_ref component="Template_Species_uM">  
			<component_ref component="Template_Species_dimensionless" />
		</component_ref>
	</group> 

	<import xmlns="http://www.cellml.org/cellml/1.1#" xlink:href="Template_Species_dimensionless.cellml">
		<component name="Template_Species_dimensionless" component_ref="Template_Species_dimensionless"/>
	</import> 

	<connection>
		<map_components component_1="Template_Species_uM" component_2="Template_Species_dimensionless"/>
		<map_variables variable_1="time" variable_2="time"/>
		<map_variables variable_1="amount" variable_2="amount"/>
		<map_variables variable_1="amountInitialValue" variable_2="amountInitialValue"/>
		<map_variables variable_1="JGain_dimensionless" variable_2="JGain"/>
	</connection>
  
   <component name="Template_Species_uM">
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="concentrationInitialValue" units="uM" public_interface="in"/>
      <variable name="amountInitialValue" units="dimensionless" private_interface="out"/>
      <variable name="JGain" units="uM_per_s" public_interface="in" />
      <variable name="JGain_dimensionless" units="per_s" private_interface="out" />
      
      <variable name="amount" units="dimensionless" private_interface="in"/>
      <variable name="concentration" units="uM" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
      	<apply>
      		<eq/>
      		<ci>amountInitialValue</ci>
      			<apply>
      			<divide/>
      			<ci>concentrationInitialValue</ci>
      			<cn cellml:units="uM">1</cn>
      			</apply>
      	</apply>
	<apply>
		<eq/>
		<ci>JGain_dimensionless</ci>
			<apply>
			<divide/>
			<ci>JGain</ci>
			<cn cellml:units="uM">1</cn>
			</apply>
      	</apply>
	<apply>
		<eq/>
		<ci>concentration</ci>
			<apply>
			<times/>
			<ci>amount</ci>
			<cn cellml:units="uM">1</cn>
			</apply>
      	</apply>
      </math>   
   </component>
</model>