Location: SVP Template Library @ 0bb70b3dfe70 / Template_LightDependentFirstOrderRateConstant.cellml

Author:
Mike Cooling <m.cooling@auckland.ac.nz>
Date:
2011-06-10 16:03:55+12:00
Desc:
Initial adds
Permanent Source URI:
https://models.physiomeproject.org/w/mcoo001/svp_templates/rawfile/0bb70b3dfe705d5e36f1aa0ef90c6208e3e6084d/Template_LightDependentFirstOrderRateConstant.cellml

<?xml version="1.0"?>
<model xmlns="http://www.cellml.org/cellml/1.1#"
xmlns:cellml="http://www.cellml.org/cellml/1.1#"
name="Template_LightDependentFirstOrderRateConstant">

<units name="per_s">
	<unit exponent="-1" units="second"/>
</units>

<component name="Template_LightDependentFirstOrderRateConstant">
	<variable name="kMax_lightIntensity" public_interface="in" units="candela"/>
	<variable name="kMax" public_interface="in" units="per_s"/>
	<variable name="lightIntensity" public_interface="in" units="candela"/>
	<variable name="k" public_interface="out" units="per_s"/>

	<math xmlns="http://www.w3.org/1998/Math/MathML">
	<apply>
		<eq/>
		<ci>k</ci>
		<piecewise>
		     <piece>
		     	<apply>
		     		<times/>
		     		<ci>kMax</ci>
		     		<apply>
		     			<divide/>
		     			<ci>lightIntensity</ci>
		     			<ci>kMax_lightIntensity</ci>
		     		</apply>
		     	</apply>
		     	<apply>
		     		<and/>
		     			<apply>
		     				<gt/>
		     				<ci>lightIntensity</ci>
		     				<cn cellml:units="candela">0</cn>
		     			</apply>
		     			<apply>
		     				<lt/>
		     				<ci>lightIntensity</ci>
		     				<ci>kMax_lightIntensity</ci>
		     			</apply>
		     	</apply>
		     </piece>
		     <piece>
		     	<ci>kMax</ci>
		     	<apply>
		     		<geq/>
		     		<ci>lightIntensity</ci>
		     		<ci>kMax_lightIntensity</ci>
		     	</apply>
		     </piece>
       		<otherwise>
		  <cn cellml:units="per_s">0</cn>
	       </otherwise>
            </piecewise>
	</apply>
	</math>

</component>



</model>