Location: Principled Model Base @ 3f04efaa4258 / Template_Bernoulli_per_s.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_Bernoulli_per_s.cellml

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

<model name="Template_Bernoulli_per_s" cmeta:id="Template_Bernoulli_per_s"
    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="m2_per_N" units_ref="m2_per_N"/>
		<units name="N_per_m2" units_ref="N_per_m2"/>
		<units name="per_s" units_ref="per_s"/>
    </import>
    
	<group>
	<relationship_ref relationship="encapsulation" />
		<component_ref component="Template_Bernoulli_per_s">  
			<component_ref component="Template_Bernoulli_dimensionless" />
		</component_ref>
	</group> 
    
	
	<import xmlns="http://www.cellml.org/cellml/1.1#" xlink:href="Template_Bernoulli_dimensionless.cellml">
		<component name="Template_Bernoulli_dimensionless" component_ref="Template_Bernoulli_dimensionless"/>
	</import>   
    
	<component name="Template_Bernoulli_per_s">
		<variable name="y_i" units="per_s" public_interface="in"/>
		<variable name="y_i_dimensionless" units="dimensionless" private_interface="out"/>
		<variable name="beta_y" units="m2_per_N" public_interface="in" private_interface="out"/>
		<variable name="stress" units="N_per_m2" public_interface="in" private_interface="out"/>
		<variable name="y_max" units="per_s" public_interface="in"/>
		<variable name="y_max_dimensionless" units="dimensionless" private_interface="out"/>
		<variable name="y_dimensionless" units="dimensionless" private_interface="in"/>
		<variable name="y" units="per_s" public_interface="out"/>
		<math xmlns="http://www.w3.org/1998/Math/MathML">
		<apply>
		<eq/>
			<ci>y_i_dimensionless</ci>
			<apply>
				<divide/>
				<ci>y_i</ci>
				<cn cellml:units="per_s">1</cn>
			</apply>
		</apply>
		<apply>
		<eq/>
			<ci>y_max_dimensionless</ci>
			<apply>
				<divide/>
				<ci>y_max</ci>
				<cn cellml:units="per_s">1</cn>
			</apply>
		</apply>
		<apply>
		<eq/>
			<ci>y</ci>
			<apply>
				<times/>
				<ci>y_dimensionless</ci>
				<cn cellml:units="per_s">1</cn>
			</apply>
		</apply>
		</math>

	</component>
    
	<connection>
		<map_components component_1="Template_Bernoulli_per_s" component_2="Template_Bernoulli_dimensionless"/>
		<map_variables variable_1="y_i_dimensionless" variable_2="y_i"/>
		<map_variables variable_1="beta_y" variable_2="beta_y"/>
		<map_variables variable_1="stress" variable_2="stress"/>
		<map_variables variable_1="y_max_dimensionless" variable_2="y_max"/>
		<map_variables variable_1="y_dimensionless" variable_2="y"/>
	</connection>
   
   
</model>