Rendering of the source text

<?xml version="1.0" encoding="utf-8"?>
<model 
	name="circulatory_dynamics_CellML1_0_model"
	cmeta:id="circulatory_dynamics_CellML1_0_model"
	
	xmlns="http://www.cellml.org/cellml/1.0#"
	xmlns:cellml="http://www.cellml.org/cellml/1.0#"
	xmlns:cmeta="http://www.cellml.org/metadata/1.0#"
	xmlns:xlink="http://www.w3.org/1999/xlink">

<!-- ========================================		DOCUMENTATION		============================================= -->
<documentation xmlns="http://cellml.org/tmp-documentation">
<article>
  <articleinfo>
  <title>Guyton Model: Circulatory Dynamics</title>
  <author>
    <firstname>Catherine</firstname>
          <surname>Lloyd</surname>
    <affiliation>
      <shortaffil>Auckland Bioengineering Institute, University of Auckland</shortaffil>
    </affiliation>
  </author>
</articleinfo>
  <section id="sec_status">
    <title>Model Status</title>
    <para>
        This CellML model has not been validated. The equations in this file may contain errors and the 
		output from the model may not conform to the results from the MODSIM program. Due to the differences 
		between procedural code (in this case C-code) and declarative languages (CellML), some aspects of the 
		original model were not able to be encapsulated by the CellML model (such as the damping of variables).
		Work is underway to fix these omissions and validate the CellML model. We also anticipate that many of 
		these problems will be fixed when the CellML 1.0 models are combined in a CellML 1.1 format.
    </para>
  </section>
  <sect1 id="sec_structure">
  <title>Model Structure</title>

<para>
Arthur Guyton (1919-2003) was an American physiologist who became famous for his 1950s experiments in which he 
studied the physiology of cardiac output and its relationship with the peripheral circulation.  The results of 
these experiments challenged the conventional wisdom that it was the heart itself that controlled cardiac output.  
Instead Guyton demonstrated that it was the need of the body tissues for oxygen which was the real regulator of 
cardiac output.  The "Guyton Curves" describe the relationship between right atrial pressures and cardiac output, 
and they form a foundation for understanding the physiology of circulation. 
</para>

<para>
The Guyton model of fluid, electrolyte, and circulatory regulation is an extensive mathematical model of human 
circulatory physiology, capable of simulating a variety of experimental conditions, and contains a number of 
linked subsystems relating to circulation and its neuroendocrine control.
</para>

<para>
This is a CellML translation of the Guyton model of the regulation of the circulatory system.  The complete 
model consists of separate modules each of which characterise a separate physiological subsystems.  The 
Circulation Dynamics is the primary system, to which other modules/blocks are connected.  The other modules
 characterise the dynamics of the kidney, electrolytes and cell water, thirst and drinking, hormone regulation, 
 autonomic regulation, cardiovascular system etc, and these feedback on the central circulation model.  The CellML 
 code in these modules is based on the C code from the programme C-MODSIM created by Dr Jean-Pierre Montani.
</para>

<para>
This particular CellML model describes the flow of blood around the circuit from arteries, to veins, to heart, 
to lungs, and back to heart again.  It also calculates the resistances and the effect of various factors on the 
resistances.  In other words, this section presents the basic hemodynamics of the circulatory system.
</para>

<informalfigure float="0" id="full_diagram">
<mediaobject>
  <imageobject>
    <objectinfo>
      <title>model diagram</title>
    </objectinfo>
    <imagedata fileref="full_model.png"/>
  </imageobject>
</mediaobject>
<caption>A systems analysis diagram for the full Guyton model describing circulation regulation.</caption>
</informalfigure>


<informalfigure float="0" id="circulatory_dynamics_diagram">
<mediaobject>
  <imageobject>
    <objectinfo>
      <title>model diagram</title>
    </objectinfo>
    <imagedata fileref="circ_dyn.png"/>
  </imageobject>
</mediaobject>
<caption>A schematic diagram of the components and processes described in the current CellML model.</caption>
</informalfigure> 

<para>
There are several publications referring to the Guyton model. One of these papers is cited below:
</para>

<para>
Circulation: Overall Regulation,  A.C. Guyton, T.G. Coleman, and H.J. Granger, 1972, 
            <emphasis>Annual Review of Physiology</emphasis>
          , 34, 13-44.  <ulink url="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=pubmed&amp;cmd=Retrieve&amp;dopt=AbstractPlus&amp;list_uids=4334846&amp;query_hl=1&amp;itool=pubmed_docsum">PubMed ID: 4334846</ulink>
</para>

</sect1>
</article>
</documentation> 

<!-- =======================================================    CITATION AND KEYWORD METADATA    ================================================== -->

	<rdf:RDF
			xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
			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="#circulatory_dynamics_CellML1_0_model">
			<bqs:reference rdf:parseType="Resource">
				<bqs:JournalArticle rdf:parseType="Resource">
					<dc:creator>
						<rdf:Seq>
							<rdf:li rdf:parseType="Resource">
								<rdf:type rdf:resource="http://www.cellml.org/bqs/1.0#Person" />
								<vCard:N rdf:parseType="Resource">
									<vCard:Family>Guyton</vCard:Family>
									<vCard:Given></vCard:Given>
									<vCard:Other></vCard:Other>
								</vCard:N>
							</rdf:li>
							<rdf:li rdf:parseType="Resource">
								<rdf:type rdf:resource="http://www.cellml.org/bqs/1.0#Person" />
								<vCard:N rdf:parseType="Resource">
									<vCard:Family>Circulatory Dynamics</vCard:Family>
									<vCard:Given></vCard:Given>
									<vCard:Other></vCard:Other>
								</vCard:N>
							</rdf:li>

						</rdf:Seq>
					</dc:creator>
					<dc:title>Description of Guyton circulatory dynamics module</dc:title>
					<bqs:volume />
					<bqs:first_page />
					<bqs:last_page />
					<bqs:Journal rdf:parseType="Resource">
						<dc:title></dc:title>
					</bqs:Journal>
					<dcterms:issued rdf:parseType="Resource">
						<dcterms:W3CDTF>2008-00-00 00:00</dcterms:W3CDTF>
					</dcterms:issued>
				</bqs:JournalArticle>
			</bqs:reference>
			<bqs:reference rdf:parseType="Resource">
				<dc:subject rdf:parseType="Resource">
					<bqs:subject_type>keyword</bqs:subject_type>
					<rdf:value>
					<rdf:Bag>
						<rdf:li>physiology</rdf:li>
						<rdf:li>organ systems</rdf:li>
						<rdf:li>cardiovascular circulation</rdf:li>
						<rdf:li>circulatory dynamics</rdf:li>
						<rdf:li>Guyton</rdf:li>
					</rdf:Bag>
					</rdf:value>
				</dc:subject>
			</bqs:reference>
		</rdf:Description>
	</rdf:RDF>
  
<!-- ======================================================= 		UNITS		================================================== -->

   <units name="minute">
      <unit multiplier="60" units="second"/>
   </units>
   <units name="per_minute">
      <unit units="minute" exponent="-1"/>
   </units>
   <units name="mmHg">
      <unit multiplier="133.322" units="newton"/>
      <unit units="metre" exponent="-2"/>
   </units>
   <units name="per_mmHg">
      <unit units="mmHg" exponent="-1"/>
   </units>
   <units name="mmHg_per_mL">
      <unit units="mmHg"/>
      <unit units="mL" exponent="-1"/>
   </units>
   <units name="mmHg_L">
      <unit units="mmHg"/>
      <unit units="litre"/>
   </units>
   <units name="per_mmHg2">
      <unit units="mmHg" exponent="-2"/>
   </units>
   <units name="mmHg3">
      <unit units="mmHg" exponent="3"/>
   </units>
   <units name="monovalent_mEq">
      <unit units="mole" prefix="milli"/>
   </units>
   <units name="monovalent_mEq_per_minute">
      <unit units="mole" prefix="milli"/>
      <unit units="minute" exponent="-1"/>
   </units>
   <units name="monovalent_mEq_per_litre">
      <unit units="mole" prefix="milli"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units name="monovalent_mEq_per_litre_per_minute">
      <unit units="mole" prefix="milli"/>
      <unit units="litre" exponent="-1"/>
      <unit units="minute" exponent="-1"/>
   </units>
   <units name="litre2_per_monovalent_mEq_per_minute">
      <unit units="litre" exponent="2"/>
      <unit units="mole" prefix="milli" exponent="-1"/>
      <unit units="minute" exponent="-1"/>
   </units>
   <units name="L_per_minute">
      <unit units="litre"/>
      <unit units="minute" exponent="-1"/>
   </units>
   <units name="mL">
      <unit units="litre" prefix="milli"/>
   </units>
   <units name="gram_per_L">
      <unit units="gram"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units name="L_mmHg_per_gram">
      <unit units="litre"/>
      <unit units="mmHg"/>
      <unit units="gram" exponent="-1"/>
   </units>
   <units name="L2_mmHg_per_gram2">
      <unit units="litre" exponent="2"/>
      <unit units="mmHg"/>
      <unit units="gram" exponent="-2"/>
   </units>
   <units name="mmHg_minute_per_L">
      <unit units="minute"/>
      <unit units="mmHg"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units name="gram_per_minute">
      <unit units="gram"/>
      <unit units="minute" exponent="-1"/>
   </units>
   <units name="mL_per_L">
      <unit units="litre" prefix="milli"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units name="mL_per_L_per_mmHg">
      <unit units="litre" prefix="milli"/>
      <unit units="litre" exponent="-1"/>
      <unit units="mmHg" exponent="-1"/>
   </units>
   <units name="mL_per_L_per_minute">
      <unit units="litre" prefix="milli"/>
      <unit units="litre" exponent="-1"/>
      <unit units="minute" exponent="-1"/>
   </units>
   <units name="mL_per_minute_per_mmHg">
      <unit units="litre" prefix="milli"/>
      <unit units="minute" exponent="-1"/>
      <unit units="mmHg" exponent="-1"/>
   </units>
   <units name="L_mL_per_minute_per_mmHg">
      <unit units="litre"/>
      <unit units="litre" prefix="milli"/>
      <unit units="minute" exponent="-1"/>
      <unit units="mmHg" exponent="-1"/>
   </units>
   <units name="L_per_mL">
      <unit units="litre" prefix="milli" exponent="-1"/>
      <unit units="litre"/>
   </units>
   <units name="L_per_mmHg">
      <unit units="mmHg" exponent="-1"/>
      <unit units="litre"/>
   </units>
   <units name="mL_per_minute">
      <unit units="mL"/>
      <unit units="minute" exponent="-1"/>
   </units>
   <units name="L_per_minute_per_mmHg">
      <unit units="litre"/>
      <unit units="minute" exponent="-1"/>
      <unit units="mmHg" exponent="-1"/>
   </units>
   <units name="L_per_minute_per_mmHg2">
      <unit units="litre"/>
      <unit units="minute" exponent="-1"/>
      <unit units="mmHg" exponent="-2"/>
   </units>

<!-- ===================================================================================================================== -->



	<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
		<rdf:Description rdf:about="#circulatory_dynamics_CellML1_0_model">
				<rdf:value>
				This section calculates the flow of blood around the circuit from arteries, to veins, 
				to heart, to lungs, and back to heart again.  It also calculates the resistances and 
				the effect of various factors on the resistances.  In other words, this section 
				presents the basic hemodynamics of the circulatory system.
				</rdf:value>
		</rdf:Description>
	</rdf:RDF>

<!-- ========================================	ENVIRONMENT COMPONENT	============================================= -->
   <component name="environment">
      <variable cmeta:id="environment_time"
				name="time" units="minute" private_interface="none" public_interface="out"/>
   </component>

<!-- ========================================	CIRCULATORY DYNAMICS TOP-LEVEL COMPONENT		============================================= -->
	<component 	name="circulatory_dynamics" 
				cmeta:id="circulatory_dynamics">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#circulatory_dynamics">
				<rdf:value>
				Encapsulation grouping component containing all the components in the Circulatory Dynamics Model.  
				The inputs and outputs of the Circulatory Dynamics Model must be passed by this component.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>

		<variable name="time"	units="minute"	private_interface="out" public_interface="in"/>

<!-- Inputs from components in other models -->
		<variable name="ADHMV"	initial_value="1.0"			units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="AMM"	initial_value="1.0"			units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="ANU"	initial_value="0.925271"	units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="ANUVN"	initial_value="1.0"			units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="ARM"	initial_value="1.16463"		units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="ATRRFB"	initial_value="1.0"			units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="ATRVFB"	initial_value="0.0"			units="litre" private_interface="out" public_interface="none"/>
		<variable name="AU"		initial_value="1.00022"		units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="AUH"	initial_value="1.00012"		units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="AUM"	initial_value="1.00066"		units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="AVE"	initial_value="1.0"			units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="HMD"	initial_value="1.0"			units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="HPL"	initial_value="1.00163"		units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="HPR"	initial_value="1.00237"		units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="MYOGRS"	initial_value="1.0"			units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="OSA"	initial_value="0.97287"		units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="PAMK"	initial_value="1.0"			units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="PC"		initial_value="16.9144"		units="mmHg" private_interface="out" public_interface="none"/>
		<variable name="RBF"	initial_value="1.22057"		units="L_per_minute" private_interface="out" public_interface="none"/>
		<variable name="VIM"	initial_value="1.00076"		units="dimensionless" private_interface="out" public_interface="none"/>
		<variable name="VP"		initial_value="3.00449"		units="litre" private_interface="out" public_interface="none"/>
		<variable name="VRC"	initial_value="2.00439"		units="litre" private_interface="out" public_interface="none"/>
		<variable name="VV6"	initial_value="0.0101913"	units="litre" private_interface="out" public_interface="none"/>
		<variable name="VV7"	initial_value="0.00366525"	units="litre" private_interface="out" public_interface="none"/>
		<variable name="VVR"	initial_value="2.50967"		units="litre" private_interface="out" public_interface="none"/>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="circulatory_dynamics" component_2="environment"/>
		<map_variables variable_1="time" variable_2="time"/>
	</connection>

<!-- ========================================	BLOOD VOLUME CHANGE	============================================= -->
	<component 	name="total_blood_volume_change" 
				cmeta:id="total_blood_volume_change">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#total_blood_volume_change">
				<rdf:value>
				CD75:  
				The blood volume change that must be distributed to the different segments of the 
				circulation since the last iteration (VBD) is calculated by subtracting the volumes 
				of the various vascular segments (VAS, VVS, VRA, VLA, and VPA) from the total blood
				volume, that is, plasma volume (VP) plus red cell volume (VRC).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD75">
				<rdf:value>
				CD75:  
				The blood volume change that must be distributed to the different segments of the 
				circulation since the last iteration (VBD) is calculated by subtracting the volumes 
				of the various vascular segments (VAS, VVS, VRA, VLA, and VPA) from the total blood
				volume, that is, plasma volume (VP) plus red cell volume (VRC).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="VP"		units="litre" private_interface="none" public_interface="in"/>
		<variable name="VRC"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="VVS1"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="VAS1"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="VLA1"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="VPA1"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="VRA1"	units="litre" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="VBD" 	units="litre" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD75">
                <eq/>
                <ci>VBD</ci>
               	<apply>
					<divide/>
					<apply>
            	        <minus/>
            	        <apply>
            	            <minus/>
            	            <apply>
            	                <minus/>
            	                <apply>
            	                    <minus/>
            	                    <apply>
            	                        <minus/>
            	                        <apply>
            	                            <plus/>
            	                            <ci>VP</ci>
            	                            <ci>VRC</ci>
            	                        </apply>
            	                        <ci>VVS1</ci>
            	                    </apply>
            	                    <ci>VAS1</ci>
            	                </apply>
            	                <ci>VLA1</ci>
            	            </apply>
            	            <ci>VPA1</ci>
            	        </apply>
            	        <ci>VRA1</ci>
            	    </apply>
					<cn cellml:units="dimensionless">2</cn>
			   </apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="total_blood_volume_change" component_2="circulatory_dynamics"/>
		<map_variables variable_1="VP" variable_2="VP"/>
		<map_variables variable_1="VRC" variable_2="VRC"/>
	</connection>

<!-- ========================================	RIGHT ATRIUM		============================================= -->
	<component 	name="right_atrium" 
				cmeta:id="right_atrium">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#right_atrium">
				<rdf:value>
				Containment grouping component for "right_atrial_blood_volume", "right_atrial_pressure",
				and "autonomic_stimulation_effect_on_right_atrial_pressure".
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
	</component>

<!-- ========================================	RIGHT ATRIAL BLOOD VOLUME	============================================= -->
	<component 	name="right_atrial_blood_volume" 
				cmeta:id="right_atrial_blood_volume">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#right_atrial_blood_volume">
				<rdf:value>
				CD20:  
				The rate of change of blood volume in the right atrium (DRA) is equal to the rate 
				of blood flow into the right atrium from the veins (QVO) minus the rate of outflow 
				of blood from the right atrium through the right heart (QRO).

				CD21:  
				A temporary value for the volume of blood in the right atrium is calculated by 
				integrating the rate of change of blood volume in the right atrium (DRA).

				CD22:  
				The portion of any change in total blood volume (VBD) that is ascribable to the 
				right atrium is calculated by multiplying the total blood volume change (VBD) 
				since the last iteration times a constant.

				CD23:  
				The instantaneous volume of blood in the right atrium (VRA) is equal to the 
				temporary value calculated in CD21 plus the volume of blood caused by a change 
				in blood volume as calculated in CD22.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD20">
				<rdf:value>
				CD20:  
				The rate of change of blood volume in the right atrium (DRA) is equal to the rate 
				of blood flow into the right atrium from the veins (QVO) minus the rate of outflow 
				of blood from the right atrium through the right heart (QRO).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD21">
				<rdf:value>
				CD21:  
				A temporary value for the volume of blood in the right atrium is calculated by 
				integrating the rate of change of blood volume in the right atrium (DRA).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD22_and_CD23">
				<rdf:value>
				CD22:  
				The portion of any change in total blood volume (VBD) that is ascribable to the 
				right atrium is calculated by multiplying the total blood volume change (VBD) 
				since the last iteration times a constant.

				CD23:  
				The instantaneous volume of blood in the right atrium (VRA) is equal to the 
				temporary value calculated in CD21 plus the volume of blood caused by a change 
				in blood volume as calculated in CD22.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="QVO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="QRO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="VBD"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="time"	units="minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="VRA" 	units="litre" private_interface="none" public_interface="out"/>
		<variable name="VRA1"	initial_value="0.100043"	units="litre" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="DRA"	units="L_per_minute" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD20">
				<eq/>
				<ci>DRA</ci>
				<apply>
					<minus/>
					<ci>QVO</ci>
					<ci>QRO</ci>
				</apply>
			</apply>
			<apply id="CD21">
				<eq/>
				<apply>
					<diff/>
					<bvar>
						<ci>time</ci>
					</bvar>
					<ci>VRA1</ci>
				</apply>
				<ci>DRA</ci>
			</apply>
			<apply id="CD22_and_CD23">
				<eq/>
				<ci>VRA</ci>
				<apply>
					<plus/>
					<ci>VRA1</ci>
					<apply>
						<times/>
						<ci>VBD</ci>
						<cn cellml:units="dimensionless">0.0574</cn>
					</apply>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="right_atrial_blood_volume" component_2="rate_of_blood_flow_from_veins_to_right_atrium"/>
		<map_variables variable_1="QVO" variable_2="QVO"/>
	</connection>
	<connection>
		<map_components component_1="right_atrial_blood_volume" component_2="right_ventricular_output"/>
		<map_variables variable_1="QRO" variable_2="QRO"/>
	</connection>
	<connection>
		<map_components component_1="right_atrial_blood_volume" component_2="total_blood_volume_change"/>
		<map_variables variable_1="VRA1" variable_2="VRA1"/>
		<map_variables variable_1="VBD" variable_2="VBD"/>
	</connection>
	<connection>
		<map_components component_1="right_atrial_blood_volume" component_2="circulatory_dynamics"/>
		<map_variables variable_1="time" variable_2="time"/>
	</connection>

<!-- ========================================	RIGHT ATRIAL PRESSURE	============================================= -->
	<component 	name="right_atrial_pressure" 
				cmeta:id="right_atrial_pressure">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#right_atrial_pressure">
				<rdf:value>
				CD24:  
				The volume of excess blood in the right atrium (VRE) is equal to the 
				instantaneous volume of blood in the right atrium (VRA) minus a constant value
				which represents the volume of blood in the right atrium when the atrium is 
				filled to a level that will cause no increase in atrial pressure and the 
				pressure is still zero.

				CD25:  
				Temporary right atrial pressure (PRA) at normal level of autonomic stimulation (AU=1) 
				is equal to the excess volume of blood in the right atrium (VRE) divided by a constant 
				value which represents the capacitance of the right atrium.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD24">
				<rdf:value>
				CD24:  
				The volume of excess blood in the right atrium (VRE) is equal to the 
				instantaneous volume of blood in the right atrium (VRA) minus a constant value
				which represents the volume of blood in the right atrium when the atrium is 
				filled to a level that will cause no increase in atrial pressure and the 
				pressure is still zero.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD25">
				<rdf:value>
				CD25:  
				Temporary right atrial pressure (PRA) at normal level of autonomic stimulation (AU=1) 
				is equal to the excess volume of blood in the right atrium (VRE) divided by a constant 
				value which represents the capacitance of the right atrium.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="VRA"	units="litre" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="right_atrial_pressure_PRA"
					name="PRA" 	units="mmHg" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="VRE"	units="litre" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD24">
				<eq/>
				<ci>VRE</ci>
				<apply>
					<minus/>
					<ci>VRA</ci>
					<cn cellml:units="litre">0.1</cn>
				</apply>
			</apply>
			<apply id="CD25">
				<eq/>
				<ci>PRA</ci>
				<apply>
					<divide/>
					<ci>VRE</ci>
					<cn cellml:units="L_per_mmHg">0.005</cn>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="right_atrial_pressure" component_2="right_atrial_blood_volume"/>
		<map_variables variable_1="VRA" variable_2="VRA"/>
	</connection>

<!-- ===============================	AUTONOMIC STIMULATION EFFECT ON RIGHT ATRIAL PRESSURE	======================================== -->
	<component 	name="autonomic_stimulation_effect_on_right_atrial_pressure" 
				cmeta:id="autonomic_stimulation_effect_on_right_atrial_pressure">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#autonomic_stimulation_effect_on_right_atrial_pressure">
				<rdf:value>
				CD25C, CD25D, CD25E, and CD25F:  
				Calculation of the shift of the temporary calculated right atrial pressure of PRA 
				to its actual value of PRA1 when the level of autonomic stimulation AU) changes to
				some other value besides the normal value of 1.0.  The value of HTAUML determines 
				the ratio of the slope of changing PRA1 to slope of changing PRA.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD25C_to_CD25F">
				<rdf:value>
				CD25C, CD25D, CD25E, and CD25F:  
				Calculation of the shift of the temporary calculated right atrial pressure of PRA 
				to its actual value of PRA1 when the level of autonomic stimulation AU) changes to
				some other value besides the normal value of 1.0.  The value of HTAUML determines 
				the ratio of the slope of changing PRA1 to slope of changing PRA.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PRA"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="AU"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="PRA1" 	units="mmHg" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="HTAUML"	units="dimensionless" private_interface="none" public_interface="in"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD25C_to_CD25F">
				<eq/>
				<ci>PRA1</ci>
				<apply>
					<minus/>
					<apply>
						<times/>
						<apply>
							<plus/>
							<ci>PRA</ci>
							<cn cellml:units="mmHg">8</cn>
						</apply>
						<apply>
							<plus/>
							<apply>
								<times/>
								<ci>HTAUML</ci>
								<apply>
									<minus/>
									<ci>AU</ci>
									<cn cellml:units="dimensionless">1</cn>
								</apply>
							</apply>
							<cn cellml:units="dimensionless">1</cn>
						</apply>
					</apply>
					<cn cellml:units="mmHg">8</cn>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="autonomic_stimulation_effect_on_right_atrial_pressure" component_2="right_atrial_pressure"/>
		<map_variables variable_1="PRA" variable_2="PRA"/>
	</connection>
	<connection>
		<map_components component_1="autonomic_stimulation_effect_on_right_atrial_pressure" component_2="circulatory_dynamics"/>
		<map_variables variable_1="AU" variable_2="AU"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="autonomic_stimulation_effect_on_right_atrial_pressure" component_2="parameter_values"/>
		<map_variables variable_1="HTAUML" variable_2="HTAUML"/>
	</connection>

<!-- ========================================	RIGHT VENTIRICLE	============================================= -->
	<component 	name="right_ventricle" 
				cmeta:id="right_ventricle">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#right_ventricle">
				<rdf:value>
				Containment grouping component for "pressure_effect_on_right_ventricular_pumping",
				"pumping_effectiveness_of_right_ventricle" and "right_ventricular_output".
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
	</component>

<!-- ========================================	PRESSURE EFFECT ON RIGHT VENTRICULAR PUMPING	============================================= -->
	<component 	name="pressure_effect_on_right_ventricular_pumping" 
				cmeta:id="pressure_effect_on_right_ventricular_pumping">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pressure_effect_on_right_ventricular_pumping">
				<rdf:value>
				CD68:  
				Calculation of a multiplier factor (PP2) from three factors that affect the
				ability of the right heart to withstand increasing output loads:  The effect 
				of the pulmonary arterial pressure itself (PPA), the effect of changes in heart 
				arterial oxygen saturation in the coronary blood flow (OSA), and the effect of 
				sympathetic stimulation (AUH).

				CD69:  
				Function curve relating the multiplier factor from CD68 (PP2) to a multiplier 
				factor for pumping strength of the right heart musculature (RVM).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD68">
				<rdf:value>
				CD68:  
				Calculation of a multiplier factor (PP2) from three factors that affect the
				ability of the right heart to withstand increasing output loads:  The effect 
				of the pulmonary arterial pressure itself (PPA), the effect of changes in heart 
				arterial oxygen saturation in the coronary blood flow (OSA), and the effect of 
				sympathetic stimulation (AUH).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD69">
				<rdf:value>
				CD69:  
				Function curve relating the multiplier factor from CD68 (PP2) to a multiplier 
				factor for pumping strength of the right heart musculature (RVM).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PPA"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="AUH"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="OSA"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="RVM" 	units="dimensionless" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="PP2"	units="mmHg" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD68">
				<eq/>
				<ci>PP2</ci>
				<apply>
					<divide/>
					<apply>
						<divide/>
						<ci>PPA</ci>
						<ci>AUH</ci>
					</apply>
					<ci>OSA</ci>
				</apply>
			</apply>
			<apply id="CD69">
                <eq/>
                <ci>RVM</ci>
                <piecewise>
                    <piece>
                        <cn cellml:units="dimensionless">1.06</cn>
                        <apply>
                            <leq/>
                            <ci>PP2</ci>
                            <cn cellml:units="mmHg">0</cn>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1.06</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_mmHg">0.97</cn>
                                        <cn cellml:units="per_mmHg">1.06</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PP2</ci>
                                        <cn cellml:units="mmHg">0</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">32</cn>
                                    <cn cellml:units="dimensionless">0</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">0</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">32</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">0.97</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_mmHg">0.93</cn>
                                        <cn cellml:units="per_mmHg">0.97</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PP2</ci>
                                        <cn cellml:units="mmHg">32</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">38.4</cn>
                                    <cn cellml:units="dimensionless">32</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">32</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">38.4</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">0.93</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_mmHg">0.8</cn>
                                        <cn cellml:units="per_mmHg">0.93</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PP2</ci>
                                        <cn cellml:units="mmHg">38.4</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">48</cn>
                                    <cn cellml:units="dimensionless">38.4</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">38.4</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">48</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">0.8</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_mmHg">0.46</cn>
                                        <cn cellml:units="per_mmHg">0.8</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PP2</ci>
                                        <cn cellml:units="mmHg">48</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">60.8</cn>
                                    <cn cellml:units="dimensionless">48</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">48</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">60.8</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">0.46</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_mmHg">0</cn>
                                        <cn cellml:units="per_mmHg">0.46</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PP2</ci>
                                        <cn cellml:units="mmHg">60.8</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">72</cn>
                                    <cn cellml:units="dimensionless">60.8</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">60.8</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PP2</ci>
                                <cn cellml:units="mmHg">72</cn>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="dimensionless">0</cn>
                    </otherwise>
                </piecewise>
            </apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pressure_effect_on_right_ventricular_pumping" component_2="pulmonary_vasculature_pressure"/>
		<map_variables variable_1="PPA" variable_2="PPA"/>
	</connection>
	<connection>
		<map_components component_1="pressure_effect_on_right_ventricular_pumping" component_2="circulatory_dynamics"/>
		<map_variables variable_1="AUH" variable_2="AUH"/>
		<map_variables variable_1="OSA" variable_2="OSA"/>
	</connection>

<!-- ========================================	PUMPING EFFECTIVENESS OF RIGHT VENTRICLE	============================================= -->
	<component 	name="pumping_effectiveness_of_right_ventricle" 
				cmeta:id="pumping_effectiveness_of_right_ventricle">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pumping_effectiveness_of_right_ventricle">
				<rdf:value>
				CD70 and CD71:  
				Calculation of the proportion of the pumping effectiveness of the right heart that is 
				caused by left heart contraction.  This is determined by the normal proportion (QRF) 
				times the instantaneous output of the left heart (QLO) and divided by the normalized 
				output of the left heart (QLN) when all factors affecting left heart strength are normal.

				CD72 and CD73:  
				Calculation of the proportion of the right heart pumping effectiveness that is caused 
				by right heart musculature contraction itself, calculated from multiple factors that 
				affect right heart pumping including the normal proportion of right heart pumping that 
				is caused by left heart pumping (QRF), the strength of the right heart (HSR) relative 
				to its normal strength, the loading effect of pulmonary arterial pressure on the 
				right heart (RVM), the effect of autonomic stimulation on right heart strength (AUH), 
				the effect of possible deterioration of the right heart from shock and other factors (HMD),
				and the effect on right heart strength caused by hypertrophy of the right heart (HPR).

				CD74:  
				Calculation of the pumping effectiveness of the right heart (HPEF) by adding the 
				proportion of the pumping effectiveness caused by left heart function as calculated 
				from CD71 plus the proportion caused by pumping by the right heart as calculated 
				from CD73.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD70_to_CD74">
				<rdf:value>
				CD70 and CD71:  
				Calculation of the proportion of the pumping effectiveness of the right heart that is 
				caused by left heart contraction.  This is determined by the normal proportion (QRF) 
				times the instantaneous output of the left heart (QLO) and divided by the normalized 
				output of the left heart (QLN) when all factors affecting left heart strength are normal.

				CD72 and CD73:  
				Calculation of the proportion of the right heart pumping effectiveness that is caused 
				by right heart musculature contraction itself, calculated from multiple factors that 
				affect right heart pumping including the normal proportion of right heart pumping that 
				is caused by left heart pumping (QRF), the strength of the right heart (HSR) relative 
				to its normal strength, the loading effect of pulmonary arterial pressure on the 
				right heart (RVM), the effect of autonomic stimulation on right heart strength (AUH), 
				the effect of possible deterioration of the right heart from shock and other factors (HMD),
				and the effect on right heart strength caused by hypertrophy of the right heart (HPR).

				CD74:  
				Calculation of the pumping effectiveness of the right heart (HPEF) by adding the 
				proportion of the pumping effectiveness caused by left heart function as calculated 
				from CD71 plus the proportion caused by pumping by the right heart as calculated 
				from CD73.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>

<!-- Inputs from other components -->
		<variable name="AUH"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="RVM"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="HMD"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="HPR"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="QLO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="QLN"	units="L_per_minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="HPEF" 	units="L_per_minute" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="QRF"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="HSR"	units="dimensionless" private_interface="none" public_interface="in"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD70_to_CD74">
				<eq/>
				<ci>HPEF</ci>
				<apply>
					<plus/>
					<apply>
						<times/>
						<apply>
							<minus/>
							<cn cellml:units="L_per_minute">1</cn>
							<ci>QRF</ci>
						</apply>
						<ci>AUH</ci>
						<ci>RVM</ci>
						<ci>HSR</ci>
						<ci>HMD</ci>
						<ci>HPR</ci>
					</apply>
					<apply>
						<divide/>
						<apply>
							<times/>
							<ci>QRF</ci>
							<ci>QLO</ci>
						</apply>
						<ci>QLN</ci>
					</apply>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pumping_effectiveness_of_right_ventricle" component_2="circulatory_dynamics"/>
		<map_variables variable_1="AUH" variable_2="AUH"/>
		<map_variables variable_1="HMD" variable_2="HMD"/>
		<map_variables variable_1="HPR" variable_2="HPR"/>
	</connection>
	<connection>
		<map_components component_1="pumping_effectiveness_of_right_ventricle" component_2="pressure_effect_on_right_ventricular_pumping"/>
		<map_variables variable_1="RVM" variable_2="RVM"/>
	</connection>
	<connection>
		<map_components component_1="pumping_effectiveness_of_right_ventricle" component_2="left_ventricular_output"/>
		<map_variables variable_1="QLO" variable_2="QLO"/>
		<map_variables variable_1="QLN" variable_2="QLN"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="pumping_effectiveness_of_right_ventricle" component_2="parameter_values"/>
		<map_variables variable_1="QRF" variable_2="QRF"/>
		<map_variables variable_1="HSR" variable_2="HSR"/>
	</connection>

<!-- ========================================	RIGHT VENTRICULAR OUTPUT	============================================= -->
	<component 	name="right_ventricular_output" 
				cmeta:id="right_ventricular_output">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#right_ventricular_output">
				<rdf:value>
				CD26:  
				Function curve that gives the output from the right heart (QRN) for any given 
				level of right atrial pressure (PRA1) when all conditions of the right heart 
				are normal.

				CD27:  Calculation of the actual output from the right heart (QRO) by multiplying 
				the normalized value for the output (QRN) times a value that represents the 
				instantaneous pumping effectiveness of the right heart (HPEF).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD26">
				<rdf:value>
				CD26:  
				Function curve that gives the output from the right heart (QRN) for any given 
				level of right atrial pressure (PRA1) when all conditions of the right heart 
				are normal.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD27">
				<rdf:value>
				CD27:  Calculation of the actual output from the right heart (QRO) by multiplying 
				the normalized value for the output (QRN) times a value that represents the 
				instantaneous pumping effectiveness of the right heart (HPEF).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PRA1"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="HPEF"	units="L_per_minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="right_ventricular_output_QRO"
					name="QRO" 	units="L_per_minute" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="QRN"	units="dimensionless" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD26">
				<eq/>
				<ci>QRN</ci>
                <piecewise>
					<piece>
                        <cn cellml:units="dimensionless">0</cn>
                        <apply>
                            <leq/>
                            <ci>PRA1</ci>
                            <apply>
                                <minus/>
                                <cn cellml:units="mmHg">8</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">0</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_mmHg">0.75</cn>
                                        <cn cellml:units="per_mmHg">0</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PRA1</ci>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="mmHg">8</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="dimensionless">6</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="dimensionless">8</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PRA1</ci>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="mmHg">8</cn>
                                </apply>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PRA1</ci>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="mmHg">6</cn>
                                </apply>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">0.75</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_mmHg">2.6</cn>
                                        <cn cellml:units="per_mmHg">0.75</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PRA1</ci>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="mmHg">6</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="dimensionless">6</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PRA1</ci>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="mmHg">6</cn>
                                </apply>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PRA1</ci>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="mmHg">2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">2.6</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_mmHg">9.8</cn>
                                        <cn cellml:units="per_mmHg">2.6</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PRA1</ci>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="mmHg">2</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">4</cn>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PRA1</ci>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="mmHg">2</cn>
                                </apply>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PRA1</ci>
                                <cn cellml:units="mmHg">4</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">9.8</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_mmHg">13.5</cn>
                                        <cn cellml:units="per_mmHg">9.8</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PRA1</ci>
                                        <cn cellml:units="mmHg">4</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">12</cn>
                                    <cn cellml:units="dimensionless">4</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PRA1</ci>
                                <cn cellml:units="mmHg">4</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PRA1</ci>
                                <cn cellml:units="mmHg">12</cn>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="dimensionless">13.5</cn>
                    </otherwise>
                </piecewise>
			</apply>
			<apply id="CD27">
				<eq/>
				<ci>QRO</ci>
				<apply>
					<times/>
					<ci>QRN</ci>
					<ci>HPEF</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="right_ventricular_output" component_2="autonomic_stimulation_effect_on_right_atrial_pressure"/>
		<map_variables variable_1="PRA1" variable_2="PRA1"/>
	</connection>
	<connection>
		<map_components component_1="right_ventricular_output" component_2="pumping_effectiveness_of_right_ventricle"/>
		<map_variables variable_1="HPEF" variable_2="HPEF"/>
	</connection>

<!-- ========================================	PULMONARY VASCULATURE	============================================= -->
	<component 	name="pulmonary_vasculature" 
				cmeta:id="pulmonary_vasculature">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pulmonary_vasculature">
				<rdf:value>
				Containment grouping component for "pulmonary_vasculature_blood_volume", 
				"pulmonary_vasculature_pressure", "pulmonary_arterial_resistance",
				"pulmonary_venous_resistance", "total_pulmonary_vasculature_resistance",
				"pressure_gradient_through_the_lungs" and 
				"rate_of_blood_flow_from_pulmonary_veins_to_left_atrium".
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
	</component>

<!-- ========================================	PULMONARY VASCULATURE BLOOD VOLUME		============================================= -->
	<component 	name="pulmonary_vasculature_blood_volume" 
				cmeta:id="pulmonary_vasculature_blood_volume">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pulmonary_vasculature_blood_volume">
				<rdf:value>
				CD28:  
				Rate of change of blood volume in the pulmonary arterial tree (DPA) is equal to the 
				rate of blood flow into the pulmonary arterial tree (QRO) minus the rate of blood flow 
				from the pulmonary arterial tree to the pulmonary venous tree (QPO).

				CD29:  
				A temporary value for the instantaneous volume of blood in the pulmonary arterial 
				tree is calculated by integrating the rate of change of blood volume in the pulmonary 
				arterial tree (DPA).

				CD30:  
				The portion ascribable to the pulmonary arteries of any total blood volume change (VBD) 
				that has occurred since the last iteration is calculated by multiplying the total volume
				change since the last iteration (VBD) times a constant proportionality factor.

				CD31:  
				The instantaneous volume of blood in the pulmonary arteria tree (VPA) is equal to the 
				temporary value calculated from Block CD29 plus the additional blood resulting from a
				blood volume change as calculated in CD30.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD28">
				<rdf:value>
				CD28:  
				Rate of change of blood volume in the pulmonary arterial tree (DPA) is equal to the 
				rate of blood flow into the pulmonary arterial tree (QRO) minus the rate of blood flow 
				from the pulmonary arterial tree to the pulmonary venous tree (QPO).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD29">
				<rdf:value>
				CD29:  
				A temporary value for the instantaneous volume of blood in the pulmonary arterial 
				tree is calculated by integrating the rate of change of blood volume in the pulmonary 
				arterial tree (DPA).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD30_and_CD31">
				<rdf:value>
				CD30:  
				The portion ascribable to the pulmonary arteries of any total blood volume change (VBD) 
				that has occurred since the last iteration is calculated by multiplying the total volume
				change since the last iteration (VBD) times a constant proportionality factor.

				CD31:  
				The instantaneous volume of blood in the pulmonary arteria tree (VPA) is equal to the 
				temporary value calculated from Block CD29 plus the additional blood resulting from a
				blood volume change as calculated in CD30.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="QRO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="QPO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="VBD"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="time"	units="minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="VPA" 	units="litre" private_interface="none" public_interface="out"/>
		<variable name="VPA1"	initial_value="0.38131"	units="litre" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="DPA"	units="L_per_minute" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD28">
				<eq/>
				<ci>DPA</ci>
				<apply>
					<minus/>
					<ci>QRO</ci>
					<ci>QPO</ci>
				</apply>
			</apply>
			<apply id="CD29">
				<eq/>
				<apply>
					<diff/>
					<bvar>
						<ci>time</ci>
					</bvar>
					<ci>VPA1</ci>
				</apply>
				<ci>DPA</ci>
			</apply>
			<apply id="CD30_and_CD31">
				<eq/>
				<ci>VPA</ci>
				<apply>
					<plus/>
					<ci>VPA1</ci>
					<apply>
						<times/>
						<ci>VBD</ci>
						<cn cellml:units="dimensionless">0.155</cn>
					</apply>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pulmonary_vasculature_blood_volume" component_2="right_ventricular_output"/>
		<map_variables variable_1="QRO" variable_2="QRO"/>
	</connection>
	<connection>
		<map_components component_1="pulmonary_vasculature_blood_volume" component_2="rate_of_blood_flow_from_pulmonary_veins_to_left_atrium"/>
		<map_variables variable_1="QPO" variable_2="QPO"/>
	</connection>
	<connection>
		<map_components component_1="pulmonary_vasculature_blood_volume" component_2="total_blood_volume_change"/>
		<map_variables variable_1="VPA1" variable_2="VPA1"/>
		<map_variables variable_1="VBD" variable_2="VBD"/>
	</connection>
	<connection>
		<map_components component_1="pulmonary_vasculature_blood_volume" component_2="circulatory_dynamics"/>
		<map_variables variable_1="time" variable_2="time"/>
	</connection>

<!-- ========================================	PULMONARY VASCULATURE PRESSURE		============================================= -->
	<component 	name="pulmonary_vasculature_pressure" 
				cmeta:id="pulmonary_vasculature_pressure">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pulmonary_vasculature_pressure">
				<rdf:value>
				CD32:  
				Excess volume of blood in the pulmonary arterial tree (VPE) is equal to the 
				instantaneous volume of blood in the pulmonary tree (VPA) minus a constant value 
				which represents the volume of blood in the pulmonary arterial tree when it is 
				filled but still at zero pressure.

				CD33:  
				The pulmonary arterial pressure (PPA)  is equal to the excess volume of blood in 
				the pulmonary arterial tree (VPE) divided by a constant which is equal to the 
				capacitance of the pulmonary arterial tree.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD32">
				<rdf:value>
				CD32:  
				Excess volume of blood in the pulmonary arterial tree (VPE) is equal to the 
				instantaneous volume of blood in the pulmonary tree (VPA) minus a constant value 
				which represents the volume of blood in the pulmonary arterial tree when it is 
				filled but still at zero pressure.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD33">
				<rdf:value>
				CD33:  
				The pulmonary arterial pressure (PPA)  is equal to the excess volume of blood in 
				the pulmonary arterial tree (VPE) divided by a constant which is equal to the 
				capacitance of the pulmonary arterial tree.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="VPA"	units="litre" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="pulmonary_vasculature_pressure_PPA"
					name="PPA" 	units="mmHg" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="VPE"	units="litre" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD32">
				<eq/>
				<ci>VPE</ci>
				<apply>
					<minus/>
					<ci>VPA</ci>
					<cn cellml:units="litre">0.30625</cn>
				</apply>
			</apply>
			<apply id="CD33">
				<eq/>
				<ci>PPA</ci>
				<apply>
					<divide/>
					<ci>VPE</ci>
					<cn cellml:units="L_per_mmHg">0.0048</cn>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pulmonary_vasculature_pressure" component_2="pulmonary_vasculature_blood_volume"/>
		<map_variables variable_1="VPA" variable_2="VPA"/>
	</connection>

<!-- ========================================	PULMONARY ARTERIAL RESISTANCE	============================================= -->
	<component 	name="pulmonary_arterial_resistance" 
				cmeta:id="pulmonary_arterial_resistance">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pulmonary_arterial_resistance">
				<rdf:value>
				CD59, CD60, CD61, and CD62:  
				Calculation of the resistance through the pulmonary arterioles (RPA) caused by 
				changes in pulmonary arterial pressure (PPA).  CD60 gives a limit value for one 
				of the intermediate calculations, and CD61 gives an exponential effect of pressure 
				on natriuresis.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD59">
				<rdf:value>
				CD59, CD60, CD61, and CD62:  
				Calculation of the resistance through the pulmonary arterioles (RPA) caused by 
				changes in pulmonary arterial pressure (PPA).  CD60 gives a limit value for one 
				of the intermediate calculations, and CD61 gives an exponential effect of pressure 
				on natriuresis.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD60">
				<rdf:value>
				CD59, CD60, CD61, and CD62:  
				Calculation of the resistance through the pulmonary arterioles (RPA) caused by 
				changes in pulmonary arterial pressure (PPA).  CD60 gives a limit value for one 
				of the intermediate calculations, and CD61 gives an exponential effect of pressure 
				on natriuresis.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD61">
				<rdf:value>
				CD59, CD60, CD61, and CD62:  
				Calculation of the resistance through the pulmonary arterioles (RPA) caused by 
				changes in pulmonary arterial pressure (PPA).  CD60 gives a limit value for one 
				of the intermediate calculations, and CD61 gives an exponential effect of pressure 
				on natriuresis.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD62">
				<rdf:value>
				CD59, CD60, CD61, and CD62:  
				Calculation of the resistance through the pulmonary arterioles (RPA) caused by 
				changes in pulmonary arterial pressure (PPA).  CD60 gives a limit value for one 
				of the intermediate calculations, and CD61 gives an exponential effect of pressure 
				on natriuresis.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PPA"	units="mmHg" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="pulmonary_arterial_resistance_RPA"
					name="RPA" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="PP1T"	units="L_per_minute_per_mmHg" private_interface="none" public_interface="none"/>
		<variable name="PP1"	units="L_per_minute_per_mmHg" private_interface="none" public_interface="none"/>
		<variable name="CPA"	units="L_per_minute_per_mmHg" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD59">
				<eq/>
				<ci>PP1T</ci>
				<apply>
					<times/>
					<cn cellml:units="L_per_minute_per_mmHg2">0.026</cn>
					<ci>PPA</ci>
				</apply>
			</apply>
			<apply id="CD60">
				<eq/>
				<ci>PP1</ci>
				<piecewise>
					<piece>
						<cn cellml:units="L_per_minute_per_mmHg">0.00001</cn>
						<apply>
							<lt/>
							<ci>PP1T</ci>
							<cn cellml:units="L_per_minute_per_mmHg">0.00001</cn>
						</apply>
					</piece>
					<otherwise>
						<ci>PP1T</ci>
					</otherwise>
				</piecewise>
			</apply>
			<apply id="CD61">
				<eq/>
				<ci>CPA</ci>
				<apply>
					<power/>
					<ci>PP1</ci>
					<cn cellml:units="dimensionless">0.5</cn>
				</apply>
			</apply>
			<apply id="CD62">
				<eq/>
				<ci>RPA</ci>
				<apply>
					<divide/>
					<cn cellml:units="dimensionless">1</cn>
					<ci>CPA</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pulmonary_arterial_resistance" component_2="pulmonary_vasculature_pressure"/>
		<map_variables variable_1="PPA" variable_2="PPA"/>
	</connection>

<!-- ========================================	PULMONARY VENOUS RESISTANCE	============================================= -->
	<component 	name="pulmonary_venous_resistance" 
				cmeta:id="pulmonary_venous_resistance">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pulmonary_venous_resistance">
				<rdf:value>
				CD63 and CD64:  
				Calculation of the resistance of blood flow through the pulmonary veins (RPV) as 
				a function of the left atrial pressure (PLA).  Basically an increase in left 
				atrial pressure distends the pulmonary veins and reduces the resistance.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD63">
				<rdf:value>
				CD63 and CD64:  
				Calculation of the resistance of blood flow through the pulmonary veins (RPV) as 
				a function of the left atrial pressure (PLA).  Basically an increase in left 
				atrial pressure distends the pulmonary veins and reduces the resistance.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD64">
				<rdf:value>
				CD63 and CD64:  
				Calculation of the resistance of blood flow through the pulmonary veins (RPV) as 
				a function of the left atrial pressure (PLA).  Basically an increase in left 
				atrial pressure distends the pulmonary veins and reduces the resistance.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PLA"	units="mmHg" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="pulmonary_venous_resistance_RPV"
					name="RPV" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="PL1"	units="mmHg" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD63">
				<eq/>
				<ci>PL1</ci>
				<apply>
					<plus/>
					<ci>PLA</ci>
					<cn cellml:units="mmHg">18</cn>
				</apply>
			</apply>
			<apply id="CD64">
				<eq/>
				<ci>RPV</ci>
				<apply>
					<divide/>
					<cn cellml:units="dimensionless">1</cn>
					<apply>
						<times/>
						<ci>PL1</ci>
						<cn cellml:units="L_per_minute_per_mmHg2">0.0357</cn>
					</apply>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pulmonary_venous_resistance" component_2="left_atrial_pressure"/>
		<map_variables variable_1="PLA" variable_2="PLA"/>
	</connection>

<!-- ========================================	TOTAL PULMONARY VASCULAR RESISTANCE		============================================= -->
	<component 	name="total_pulmonary_vascular_resistance" 
				cmeta:id="total_pulmonary_vascular_resistance">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#total_pulmonary_vascular_resistance">
				<rdf:value>
				CD65:  
				The total resistance in the pulmonary circuit (RPT) is equal to the sum of the 
				pulmonary arterial resistance (RPA) plus the pulmonary venous resistance (RPV).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD65">
				<rdf:value>
				CD65:  
				The total resistance in the pulmonary circuit (RPT) is equal to the sum of the 
				pulmonary arterial resistance (RPA) plus the pulmonary venous resistance (RPV).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="RPV"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>
		<variable name="RPA"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="RPT" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD65">
				<eq/>
				<ci>RPT</ci>
				<apply>
					<plus/>
					<ci>RPV</ci>
					<ci>RPA</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="total_pulmonary_vascular_resistance" component_2="pulmonary_venous_resistance"/>
		<map_variables variable_1="RPV" variable_2="RPV"/>
	</connection>
	<connection>
		<map_components component_1="total_pulmonary_vascular_resistance" component_2="pulmonary_arterial_resistance"/>
		<map_variables variable_1="RPA" variable_2="RPA"/>
	</connection>

<!-- ========================================	PRESSURE GRADIENT THROUGH THE LUNGS		============================================= -->
	<component 	name="pressure_gradient_through_the_lungs" 
				cmeta:id="pressure_gradient_through_the_lungs">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pressure_gradient_through_the_lungs">
				<rdf:value>
				CD34:  
				The pressure gradient through the lungs from the pulmonary arteries to the 
				pulmonary veins (PGL) is equal to the pressure in the pulmonary arteries (PPA) 
				minus the pressure in the left atrium (PLA).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD34">
				<rdf:value>
				CD34:  
				The pressure gradient through the lungs from the pulmonary arteries to the 
				pulmonary veins (PGL) is equal to the pressure in the pulmonary arteries (PPA) 
				minus the pressure in the left atrium (PLA).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PPA"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="PLA"	units="mmHg" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="PGL" 	units="mmHg" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD34">
				<eq/>
				<ci>PGL</ci>
				<apply>
					<minus/>
					<ci>PPA</ci>
					<ci>PLA</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pressure_gradient_through_the_lungs" component_2="pulmonary_vasculature_pressure"/>
		<map_variables variable_1="PPA" variable_2="PPA"/>
	</connection>
	<connection>
		<map_components component_1="pressure_gradient_through_the_lungs" component_2="left_atrial_pressure"/>
		<map_variables variable_1="PLA" variable_2="PLA"/>
	</connection>

<!-- ===============================		RATE OF BLOOD FLOW FROM PULMONARY VEINS TO LEFT ATRIUM		====================================== -->
	<component 	name="rate_of_blood_flow_from_pulmonary_veins_to_left_atrium" 
				cmeta:id="rate_of_blood_flow_from_pulmonary_veins_to_left_atrium">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#rate_of_blood_flow_from_pulmonary_veins_to_left_atrium">
				<rdf:value>
				CD35:  
				Rate of outflow of blood from the pulmonary arterial tree (QPO) is equal to 
				the pressure gradient through the lungs (PGL) divided by the resistance to 
				blood flow through the lungs (RPT).

				CD35A:  
				Damping of QPO to allow rapid computation of long-term hemodynamics.  When 
				the value U equals 1.0 there is no damping.  Any larger value for U provides
				proportionate damping.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD35">
				<rdf:value>
				CD35:  
				Rate of outflow of blood from the pulmonary arterial tree (QPO) is equal to 
				the pressure gradient through the lungs (PGL) divided by the resistance to 
				blood flow through the lungs (RPT).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD35A">
				<rdf:value>
				CD35A:  
				Damping of QPO to allow rapid computation of long-term hemodynamics.  When 
				the value U equals 1.0 there is no damping.  Any larger value for U provides
				proportionate damping.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PGL"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="RPT"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>
		<variable name="QLO"	units="L_per_minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="QPO" 	units="L_per_minute" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD35">
				<eq/>
				<ci>QPO</ci>
				<apply>
					<divide/>
					<ci>PGL</ci>
					<ci>RPT</ci>
				</apply>
			</apply>
<!--			<apply id="CD35A - DAMPING!!!">
				<eq/>
				<ci>QPO</ci>
				<apply>
					<plus/>
					<ci>QLO</ci>
					<apply>
						<divide/>
						<apply>
							<minus/>
							<ci>QPO</ci>
							<ci>QLO</ci>
						</apply>
						<ci>U</ci>
					</apply>
				</apply>
			</apply> -->
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="rate_of_blood_flow_from_pulmonary_veins_to_left_atrium" component_2="pressure_gradient_through_the_lungs"/>
		<map_variables variable_1="PGL" variable_2="PGL"/>
	</connection>
	<connection>
		<map_components component_1="rate_of_blood_flow_from_pulmonary_veins_to_left_atrium" component_2="total_pulmonary_vascular_resistance"/>
		<map_variables variable_1="RPT" variable_2="RPT"/>
	</connection>
	<connection>
		<map_components component_1="rate_of_blood_flow_from_pulmonary_veins_to_left_atrium" component_2="left_ventricular_output"/>
		<map_variables variable_1="QLO" variable_2="QLO"/>
	</connection>

<!-- ========================================	LEFT ATRIUM	============================================= -->
	<component 	name="left_atrium" 
				cmeta:id="left_atrium">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#left_atrium">
				<rdf:value>
				Containment grouping component for "left_atrial_blood_volume", "left_atrial_pressure"
				and "autonomic_stimulation_effect_on_left_atrial_pressure".
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
	</component>

<!-- ========================================	LEFT ATRIAL BLOOD VOLUME	============================================= -->
	<component 	name="left_atrial_blood_volume" 
				cmeta:id="left_atrial_blood_volume">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#left_atrial_blood_volume">
				<rdf:value>
				CD36:  
				The rate of change of blood volume in the left atrium (DLA) is equal to the rate 
				of blood flow into the left atrium from the pulmonary circulation (QPO) minus the 
				rate of blood flow out of the left atrium through the left heart (QLO).

				CD37:  
				Calculation of a temporary value for the instantaneous volume of blood in the
				left atrium by integrating the rate of blood volume change in the left atrium (DLA).

				CD38:  
				Calculation of the proportion of any blood volume change (VBD) that has occurred 
				since the last iteration that is distributed to the left atrium, calculated by 
				multiplying by a porprotionality constant.

				CD39:  
				The instantaneous volume of blood in the left atrium (VLA) is equal to the 
				temporary value calculated in CD37 plus the proportion of any blood volume 
				change that is attributable to the left atrium as calculated in CD38.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD36">
				<rdf:value>
				CD36:  
				The rate of change of blood volume in the left atrium (DLA) is equal to the rate 
				of blood flow into the left atrium from the pulmonary circulation (QPO) minus the 
				rate of blood flow out of the left atrium through the left heart (QLO).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD37">
				<rdf:value>
				CD37:  
				Calculation of a temporary value for the instantaneous volume of blood in the
				left atrium by integrating the rate of blood volume change in the left atrium (DLA).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD38_and_CD39">
				<rdf:value>
				CD38:  
				Calculation of the proportion of any blood volume change (VBD) that has occurred 
				since the last iteration that is distributed to the left atrium, calculated by 
				multiplying by a porprotionality constant.

				CD39:  
				The instantaneous volume of blood in the left atrium (VLA) is equal to the 
				temporary value calculated in CD37 plus the proportion of any blood volume 
				change that is attributable to the left atrium as calculated in CD38.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>

<!-- Inputs from other components -->
		<variable name="QPO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="QLO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="VBD"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="time"	units="minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="VLA" 	units="litre" private_interface="none" public_interface="out"/>
		<variable name="VLA1"	initial_value="0.379883"	units="litre" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="DLA"	units="L_per_minute" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD36">
				<eq/>
				<ci>DLA</ci>
				<apply>
					<minus/>
					<ci>QPO</ci>
					<ci>QLO</ci>
				</apply>
			</apply>
			<apply id="CD37">
				<eq/>
				<apply>
					<diff/>
					<bvar>
						<ci>time</ci>
					</bvar>
					<ci>VLA1</ci>
				</apply>
				<ci>DLA</ci>
			</apply>
			<apply id="CD38_and_CD39">
				<eq/>
				<ci>VLA</ci>
				<apply>
					<plus/>
					<ci>VLA1</ci>
					<apply>
						<times/>
						<ci>VBD</ci>
						<cn cellml:units="dimensionless">0.128</cn>
					</apply>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="left_atrial_blood_volume" component_2="rate_of_blood_flow_from_pulmonary_veins_to_left_atrium"/>
		<map_variables variable_1="QPO" variable_2="QPO"/>
	</connection>
	<connection>
		<map_components component_1="left_atrial_blood_volume" component_2="left_ventricular_output"/>
		<map_variables variable_1="QLO" variable_2="QLO"/>
	</connection>
	<connection>
		<map_components component_1="left_atrial_blood_volume" component_2="total_blood_volume_change"/>
		<map_variables variable_1="VLA1" variable_2="VLA1"/>
		<map_variables variable_1="VBD" variable_2="VBD"/>
	</connection>
	<connection>
		<map_components component_1="left_atrial_blood_volume" component_2="circulatory_dynamics"/>
		<map_variables variable_1="time" variable_2="time"/>
	</connection>

<!-- ========================================	LEFT ATRIAL PRESSURE	============================================= -->
	<component 	name="left_atrial_pressure" 
				cmeta:id="left_atrial_pressure">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#left_atrial_pressure">
				<rdf:value>
				CD40:  
				The excess blood volume in the left atrium (VLE) is equal to the instantaneous 
				volume of blood in the left atrium (VLA) minus a constant value which is the 
				volume of blood in the left atrium when it is filled with the pressure at zero.

				CD41:  
				The pressure in the left atrium (PLE) is equal to the instantaneous exces volume 
				in the left atrium (VLE) divided by a constant which is equal to the capacitance 
				of the left atrium.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD40">
				<rdf:value>
				CD40:  
				The excess blood volume in the left atrium (VLE) is equal to the instantaneous 
				volume of blood in the left atrium (VLA) minus a constant value which is the 
				volume of blood in the left atrium when it is filled with the pressure at zero.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD41">
				<rdf:value>
				CD41:  
				The pressure in the left atrium (PLE) is equal to the instantaneous exces volume 
				in the left atrium (VLE) divided by a constant which is equal to the capacitance 
				of the left atrium.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="VLA"	units="litre" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="left_atrial_pressure_PLA"
					name="PLA" 	units="mmHg" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="VLE"	units="litre" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD40">
				<eq/>
				<ci>VLE</ci>
				<apply>
					<minus/>
					<ci>VLA</ci>
					<cn cellml:units="litre">0.38</cn>
				</apply>
			</apply>
			<apply id="CD41">
				<eq/>
				<ci>PLA</ci>
				<apply>
					<divide/>
					<ci>VLE</ci>
					<cn cellml:units="L_per_mmHg">0.01</cn>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="left_atrial_pressure" component_2="left_atrial_blood_volume"/>
		<map_variables variable_1="VLA" variable_2="VLA"/>
	</connection>

<!-- =================================	AUTONOMIC STIMULATION EFFECT ON LEFT ATRIAL PRESSURE	========================================= -->
	<component 	name="autonomic_stimulation_effect_on_left_atrial_pressure" 
				cmeta:id="autonomic_stimulation_effect_on_left_atrial_pressure">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#autonomic_stimulation_effect_on_left_atrial_pressure">
				<rdf:value>
				CD41A, CD41B, CD41C, and CD41D:  
				These blocks serve the same functions for the left heart that Blocks CD25C, CD25D, 
				CD25E, and CD25F serve for the right ventricle.  The value AU in Block CD41D is the 
				level of autonomic stimulation of the heart, and HTAUML is the multiplier constant
				for calculating the effect of changes in AU on the shift of left atrial pressure 
				effect from PLA to PLA1.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD41A_to_CD41D">
				<rdf:value>
				CD41A, CD41B, CD41C, and CD41D:  
				These blocks serve the same functions for the left heart that Blocks CD25C, CD25D, 
				CD25E, and CD25F serve for the right ventricle.  The value AU in Block CD41D is the 
				level of autonomic stimulation of the heart, and HTAUML is the multiplier constant
				for calculating the effect of changes in AU on the shift of left atrial pressure 
				effect from PLA to PLA1.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PLA"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="AU"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="PLA1" 	units="mmHg" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="HTAUML"	units="dimensionless" private_interface="none" public_interface="in"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD41A_to_CD41D">
				<eq/>
				<ci>PLA1</ci>
				<apply>
					<minus/>
					<apply>
						<times/>
						<apply>
							<plus/>
							<ci>PLA</ci>
							<cn cellml:units="mmHg">4</cn>
						</apply>
						<apply>
							<plus/>
							<apply>
								<times/>
								<ci>HTAUML</ci>
								<apply>
									<minus/>
									<ci>AU</ci>
									<cn cellml:units="dimensionless">1</cn>
								</apply>
							</apply>
							<cn cellml:units="dimensionless">1</cn>
						</apply>
					</apply>
					<cn cellml:units="mmHg">4</cn>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="autonomic_stimulation_effect_on_left_atrial_pressure" component_2="left_atrial_pressure"/>
		<map_variables variable_1="PLA" variable_2="PLA"/>
	</connection>
	<connection>
		<map_components component_1="autonomic_stimulation_effect_on_left_atrial_pressure" component_2="circulatory_dynamics"/>
		<map_variables variable_1="AU" variable_2="AU"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="autonomic_stimulation_effect_on_left_atrial_pressure" component_2="parameter_values"/>
		<map_variables variable_1="HTAUML" variable_2="HTAUML"/>
	</connection>

<!-- ========================================	LEFT VENTRICLE		============================================= -->
	<component 	name="left_ventricle" 
				cmeta:id="left_ventricle">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#left_ventricle">
				<rdf:value>
				Containment grouping component for "pumping_effectiveness_of_left_ventricle",
				and "left_ventricular_output".
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
	</component>

<!-- ========================================	PUMPING EFFECTIVENESS OF LEFT VENTRICLE	============================================= -->
	<component 	name="pumping_effectiveness_of_left_ventricle" 
				cmeta:id="pumping_effectiveness_of_left_ventricle">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pumping_effectiveness_of_left_ventricle">
				<rdf:value>
				CD66:  
				A temporary multiplier function (PA2) for the effectiveness of left heart pumping 
				is calculated from three factors:  Stimulation of the left heart by the autonomic 
				nervous system (AUH), effect on heart pumping caused by changes in arterial oxygen 
				saturation (OSA), effect on heart pumping caused by the loading effect of systemic 
				arterial pressure (PA).

				CD67:  
				Function curve relating the pumping effectiveness of the left heart (LVM) to the 
				multiplier function calculated in CD66 (PA2).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD66">
				<rdf:value>
				CD66:  
				A temporary multiplier function (PA2) for the effectiveness of left heart pumping 
				is calculated from three factors:  Stimulation of the left heart by the autonomic 
				nervous system (AUH), effect on heart pumping caused by changes in arterial oxygen 
				saturation (OSA), effect on heart pumping caused by the loading effect of systemic 
				arterial pressure (PA).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD67">
				<rdf:value>
				CD67:  
				Function curve relating the pumping effectiveness of the left heart (LVM) to the 
				multiplier function calculated in CD66 (PA2).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PA"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="AUH"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="OSA"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="LVM" 	units="dimensionless" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="PA2"	units="mmHg" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD66">
				<eq/>
				<ci>PA2</ci>
				<apply>
					<divide/>
					<ci>PA</ci>
					<apply>
						<times/>
						<ci>AUH</ci>
						<ci>OSA</ci>
					</apply>
				</apply>
			</apply>
			<apply id="CD67">
				<eq/>
				<ci>LVM</ci>
				<piecewise>
					<piece>
						<cn cellml:units="dimensionless">1.04</cn>
						<apply>
							<leq/>
							<ci>PA2</ci>
							<cn cellml:units="mmHg">0</cn>
						</apply>
					</piece>
					<piece>
						<apply>
							<plus/>
							<cn cellml:units="dimensionless">1.04</cn>
							<apply>
								<divide/>
								<apply>
									<times/>
									<apply>
										<minus/>
										<cn cellml:units="per_mmHg">1.025</cn>
										<cn cellml:units="per_mmHg">1.04</cn>
									</apply>
									<apply>
										<minus/>
										<ci>PA2</ci>
										<cn cellml:units="mmHg">0</cn>
									</apply>
								</apply>
								<apply>
									<minus/>
									<cn cellml:units="dimensionless">60</cn>
									<cn cellml:units="dimensionless">0</cn>
								</apply>
							</apply>
						</apply>
						<apply>
							<and/>
							<apply>
								<gt/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">0</cn>
							</apply>
							<apply>
								<leq/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">60</cn>
							</apply>
						</apply>
					</piece>
					<piece>
						<apply>
							<plus/>
							<cn cellml:units="dimensionless">1.025</cn>
							<apply>
								<divide/>
								<apply>
									<times/>
									<apply>
										<minus/>
										<cn cellml:units="per_mmHg">0.97</cn>
										<cn cellml:units="per_mmHg">1.025</cn>
									</apply>
									<apply>
										<minus/>
										<ci>PA2</ci>
										<cn cellml:units="mmHg">60</cn>
									</apply>
								</apply>
								<apply>
									<minus/>
									<cn cellml:units="dimensionless">125</cn>
									<cn cellml:units="dimensionless">60</cn>
								</apply>
							</apply>
						</apply>
						<apply>
							<and/>
							<apply>
								<gt/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">60</cn>
							</apply>
							<apply>
								<leq/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">125</cn>
							</apply>
						</apply>
					</piece>
					<piece>
						<apply>
							<plus/>
							<cn cellml:units="dimensionless">0.97</cn>
							<apply>
								<divide/>
								<apply>
									<times/>
									<apply>
										<minus/>
										<cn cellml:units="per_mmHg">0.88</cn>
										<cn cellml:units="per_mmHg">0.97</cn>
									</apply>
									<apply>
										<minus/>
										<ci>PA2</ci>
										<cn cellml:units="mmHg">125</cn>
									</apply>
								</apply>
								<apply>
									<minus/>
									<cn cellml:units="dimensionless">160</cn>
									<cn cellml:units="dimensionless">125</cn>
								</apply>
							</apply>
						</apply>
						<apply>
							<and/>
							<apply>
								<gt/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">125</cn>
							</apply>
							<apply>
								<leq/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">160</cn>
							</apply>
						</apply>
					</piece>
					<piece>
						<apply>
							<plus/>
							<cn cellml:units="dimensionless">0.88</cn>
							<apply>
								<divide/>
								<apply>
									<times/>
									<apply>
										<minus/>
										<cn cellml:units="per_mmHg">0.59</cn>
										<cn cellml:units="per_mmHg">0.88</cn>
									</apply>
									<apply>
										<minus/>
										<ci>PA2</ci>
										<cn cellml:units="mmHg">160</cn>
									</apply>
								</apply>
								<apply>
									<minus/>
									<cn cellml:units="dimensionless">200</cn>
									<cn cellml:units="dimensionless">160</cn>
								</apply>
							</apply>
						</apply>
						<apply>
							<and/>
							<apply>
								<gt/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">160</cn>
							</apply>
							<apply>
								<leq/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">200</cn>
							</apply>
						</apply>
					</piece>
					<piece>
						<apply>
							<plus/>
							<cn cellml:units="dimensionless">0.59</cn>
							<apply>
								<divide/>
								<apply>
									<times/>
									<apply>
										<minus/>
										<cn cellml:units="per_mmHg">0</cn>
										<cn cellml:units="per_mmHg">0.59</cn>
									</apply>
									<apply>
										<minus/>
										<ci>PA2</ci>
										<cn cellml:units="mmHg">200</cn>
									</apply>
								</apply>
								<apply>
									<minus/>
									<cn cellml:units="dimensionless">240</cn>
									<cn cellml:units="dimensionless">200</cn>
								</apply>
							</apply>
						</apply>
						<apply>
							<and/>
							<apply>
								<gt/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">200</cn>
							</apply>
							<apply>
								<leq/>
								<ci>PA2</ci>
								<cn cellml:units="mmHg">240</cn>
							</apply>
						</apply>
					</piece>
					<otherwise>
						<cn cellml:units="dimensionless">0</cn>
					</otherwise>
				</piecewise>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pumping_effectiveness_of_left_ventricle" component_2="arterial_pressure_and_pressure_gradient"/>
		<map_variables variable_1="PA" variable_2="PA"/>
	</connection>
	<connection>
		<map_components component_1="pumping_effectiveness_of_left_ventricle" component_2="circulatory_dynamics"/>
		<map_variables variable_1="AUH" variable_2="AUH"/>
		<map_variables variable_1="OSA" variable_2="OSA"/>
	</connection>

<!-- ========================================	LEFT VENTRICULAR OUTPUT		============================================= -->
	<component 	name="left_ventricular_output" 
				cmeta:id="left_ventricular_output">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#left_ventricular_output">
				<rdf:value>
				CD42:  
				Function curve that gives the normalized rate of output of the left ventricle (QLN) 
				when the left ventricle is operating at a normal level of pumping effectiveness for 
				any given left atrial pressure (PLA).

				CD43:  
				The actual rate of output from the left ventricle (QLO) when the normalized rate (QLN) 
				is multiplied by various factors that alter the pumping effectiveness of the heart:  
				A multiplier that reduces the effectiveness because of pressure load on the heart (LVM), 
				a factor that changes the effectiveness of the heart because of abnormal left heart
				strength (HSL), a factor that increases the effectiveness of the heart because of
				hypertrophy (HPL), a factor that decreases the strength of the heart because of 
				deterioration of the heart in low blood flow states (HMD), and a factor that alters 
				the strength of the heart by increases or decreases in autonomic stimulation (AUH).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD42">
				<rdf:value>
				CD42:  
				Function curve that gives the normalized rate of output of the left ventricle (QLN) 
				when the left ventricle is operating at a normal level of pumping effectiveness for 
				any given left atrial pressure (PLA).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD43">
				<rdf:value>
				CD43:  
				The actual rate of output from the left ventricle (QLO) when the normalized rate (QLN) 
				is multiplied by various factors that alter the pumping effectiveness of the heart:  
				A multiplier that reduces the effectiveness because of pressure load on the heart (LVM), 
				a factor that changes the effectiveness of the heart because of abnormal left heart
				strength (HSL), a factor that increases the effectiveness of the heart because of
				hypertrophy (HPL), a factor that decreases the strength of the heart because of 
				deterioration of the heart in low blood flow states (HMD), and a factor that alters 
				the strength of the heart by increases or decreases in autonomic stimulation (AUH).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD43A_and_CD43B">
				<rdf:value>
				CD43:  
				The actual rate of output from the left ventricle (QLO) when the normalized rate (QLN) 
				is multiplied by various factors that alter the pumping effectiveness of the heart:  
				A multiplier that reduces the effectiveness because of pressure load on the heart (LVM), 
				a factor that changes the effectiveness of the heart because of abnormal left heart
				strength (HSL), a factor that increases the effectiveness of the heart because of
				hypertrophy (HPL), a factor that decreases the strength of the heart because of 
				deterioration of the heart in low blood flow states (HMD), and a factor that alters 
				the strength of the heart by increases or decreases in autonomic stimulation (AUH).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD43C">
				<rdf:value>
				CD43:  
				The actual rate of output from the left ventricle (QLO) when the normalized rate (QLN) 
				is multiplied by various factors that alter the pumping effectiveness of the heart:  
				A multiplier that reduces the effectiveness because of pressure load on the heart (LVM), 
				a factor that changes the effectiveness of the heart because of abnormal left heart
				strength (HSL), a factor that increases the effectiveness of the heart because of
				hypertrophy (HPL), a factor that decreases the strength of the heart because of 
				deterioration of the heart in low blood flow states (HMD), and a factor that alters 
				the strength of the heart by increases or decreases in autonomic stimulation (AUH).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PLA1"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="LVM"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="AUH"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="HMD"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="HPL"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="PLA"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="PA"	units="mmHg" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="left_ventricular_output_QLO"
					name="QLO" 	units="L_per_minute" private_interface="none" public_interface="out"/>
		<variable name="QLOT" 	units="L_per_minute" private_interface="none" public_interface="out"/>
		<variable name="QLN" 	units="L_per_minute" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="HSL"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Internal variables -->
		<variable name="QLO1"	units="L_per_minute" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD42">
                <eq/>
                <ci>QLN</ci>
                <piecewise>
                    <piece>
                        <cn cellml:units="L_per_minute">0.01</cn>
                        <apply>
                            <leq/>
                            <ci>PLA1</ci>
                            <apply>
                                <minus/>
                                <cn cellml:units="mmHg">2</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="L_per_minute">0.01</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="L_per_minute_per_mmHg">3.6</cn>
                                        <cn cellml:units="L_per_minute_per_mmHg">0.01</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PLA1</ci>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="mmHg">2</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PLA1</ci>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="mmHg">2</cn>
                                </apply>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PLA1</ci>
                                <cn cellml:units="mmHg">1</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="L_per_minute">3.6</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="L_per_minute_per_mmHg">9.4</cn>
                                        <cn cellml:units="L_per_minute_per_mmHg">3.6</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PLA1</ci>
                                        <cn cellml:units="mmHg">1</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">5</cn>
                                    <cn cellml:units="dimensionless">1</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PLA1</ci>
                                <cn cellml:units="mmHg">1</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PLA1</ci>
                                <cn cellml:units="mmHg">5</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="L_per_minute">9.4</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="L_per_minute_per_mmHg">11.6</cn>
                                        <cn cellml:units="L_per_minute_per_mmHg">9.4</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PLA1</ci>
                                        <cn cellml:units="mmHg">5</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">8</cn>
                                    <cn cellml:units="dimensionless">5</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PLA1</ci>
                                <cn cellml:units="mmHg">5</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PLA1</ci>
                                <cn cellml:units="mmHg">8</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <cn cellml:units="L_per_minute">11.6</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="L_per_minute_per_mmHg">13.5</cn>
                                        <cn cellml:units="L_per_minute_per_mmHg">11.6</cn>
                                    </apply>
                                    <apply>
                                        <minus/>
                                        <ci>PLA1</ci>
                                        <cn cellml:units="mmHg">8</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">12</cn>
                                    <cn cellml:units="dimensionless">8</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>PLA1</ci>
                                <cn cellml:units="mmHg">8</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>PLA1</ci>
                                <cn cellml:units="mmHg">12</cn>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="L_per_minute">13.5</cn>
                    </otherwise>
                </piecewise>
			</apply>
			<apply id="CD43">
				<eq/>
				<ci>QLOT</ci>
				<apply>
					<times/>
					<ci>LVM</ci>
					<ci>QLN</ci>
					<ci>AUH</ci>
					<ci>HSL</ci>
					<ci>HMD</ci>
					<ci>HPL</ci>
				</apply>
			</apply>
			<apply id="CD43A_and_CD43B">
				<eq/>
				<ci>QLO1</ci>
				<apply>
					<divide/>
					<apply>
						<minus/>
						<ci>PLA</ci>
						<ci>PA</ci>
					</apply>
					<cn cellml:units="mmHg_minute_per_L">3</cn>
				</apply>
			</apply>
			<apply id="CD43C">
				<eq/>
				<ci>QLO</ci>
				<piecewise>
					<piece>
						<apply>
							<plus/>
							<ci>QLOT</ci>
							<ci>QLO1</ci>
						</apply>
						<apply>
							<gt/>
							<ci>QLO1</ci>
							<cn cellml:units="L_per_minute">0</cn>
						</apply>
					</piece>
					<otherwise>
						<ci>QLOT</ci>
					</otherwise>
				</piecewise>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="left_ventricular_output" component_2="autonomic_stimulation_effect_on_left_atrial_pressure"/>
		<map_variables variable_1="PLA1" variable_2="PLA1"/>
	</connection>
	<connection>
		<map_components component_1="left_ventricular_output" component_2="pumping_effectiveness_of_left_ventricle"/>
		<map_variables variable_1="LVM" variable_2="LVM"/>
	</connection>
	<connection>
		<map_components component_1="left_ventricular_output" component_2="circulatory_dynamics"/>
		<map_variables variable_1="AUH" variable_2="AUH"/>
		<map_variables variable_1="HMD" variable_2="HMD"/>
		<map_variables variable_1="HPL" variable_2="HPL"/>
	</connection>
	<connection>
		<map_components component_1="left_ventricular_output" component_2="left_atrial_pressure"/>
		<map_variables variable_1="PLA" variable_2="PLA"/>
	</connection>
	<connection>
		<map_components component_1="left_ventricular_output" component_2="arterial_pressure_and_pressure_gradient"/>
		<map_variables variable_1="PA" variable_2="PA"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="left_ventricular_output" component_2="parameter_values"/>
		<map_variables variable_1="HSL" variable_2="HSL"/>
	</connection>

<!-- ========================================	SYSTEMIC VENOUS SYSTEM	============================================= -->
	<component 	name="systemic_venous_system" 
				cmeta:id="systemic_venous_system">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#systemic_venous_system">
				<rdf:value>
				Containment grouping component for "venous_blood_volume", 
				"angiotensin_induced_venous_constriction", "venous_excess_volume", 
				"venous_average_pressure", "venous_outflow_pressure_into_heart", 
				"resistance_from_veins_to_right_atrium", "rate_of_blood_flow_from_veins_to_right_atrium",
				"venous_resistance" and "NM_NR_venous_resistance".
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
	</component>

<!-- ========================================	VENOUS BLOOD VOLUME	============================================= -->
	<component 	name="venous_blood_volume" 
				cmeta:id="venous_blood_volume">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#venous_blood_volume">
				<rdf:value>
				CD11:  
				The rate of change of blood volume in the systemic veins (DVS) is equal to the 
				rate of blood flow into the veins from the arterial tree (QAO) minus the rate 
				of blood flow out of the veins (QVO).

				CD12:  
				A temporary value is calculated for the instantaneous volume of blood in the 
				veins by integrating the rate of change of the volume in the veins (DVS).

				CD13:  
				The portion of any change in blood volume that has occurred since the last iteration 
				that is ascribable to volume change in the veins is calculated by multiplying the 
				total volume change (VBD) times a constant.

				CD14:  
				The instantaneous volume of blood in the veins (VVS) is the sum of the temporary 
				calculation of instantaneous venous volume from CD12 plus the additional venous 
				volume change caused by change in total blood volume as calculated in CD13.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD11">
				<rdf:value>
				CD11:  
				The rate of change of blood volume in the systemic veins (DVS) is equal to the 
				rate of blood flow into the veins from the arterial tree (QAO) minus the rate 
				of blood flow out of the veins (QVO).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD12">
				<rdf:value>
				CD12:  
				A temporary value is calculated for the instantaneous volume of blood in the 
				veins by integrating the rate of change of the volume in the veins (DVS).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD13_and_CD14">
				<rdf:value>
				CD13:  
				The portion of any change in blood volume that has occurred since the last iteration 
				that is ascribable to volume change in the veins is calculated by multiplying the 
				total volume change (VBD) times a constant.

				CD14:  
				The instantaneous volume of blood in the veins (VVS) is the sum of the temporary 
				calculation of instantaneous venous volume from CD12 plus the additional venous 
				volume change caused by change in total blood volume as calculated in CD13.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="QAO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="QVO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="VBD"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="time"	units="minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="VVS" 	units="litre" private_interface="none" public_interface="out"/>
		<variable name="VVS1"	initial_value="3.28246"	units="litre" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="DVS"	units="L_per_minute" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD11">
				<eq/>
				<ci>DVS</ci>
				<apply>
					<minus/>
					<ci>QAO</ci>
					<ci>QVO</ci>
				</apply>
			</apply>
			<apply id="CD12">
				<eq/>
				<apply>
					<diff/>
					<bvar>
						<ci>time</ci>
					</bvar>
					<ci>VVS1</ci>
				</apply>
				<ci>DVS</ci>
			</apply>
			<apply id="CD13_and_CD14">
				<eq/>
				<ci>VVS</ci>
				<apply>
					<plus/>
					<ci>VVS1</ci>
					<apply>
						<times/>
						<ci>VBD</ci>
						<cn cellml:units="dimensionless">0.3986</cn>
					</apply>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="venous_blood_volume" component_2="systemic_blood_flow"/>
		<map_variables variable_1="QAO" variable_2="QAO"/>
	</connection>
	<connection>
		<map_components component_1="venous_blood_volume" component_2="rate_of_blood_flow_from_veins_to_right_atrium"/>
		<map_variables variable_1="QVO" variable_2="QVO"/>
	</connection>
	<connection>
		<map_components component_1="venous_blood_volume" component_2="total_blood_volume_change"/>
		<map_variables variable_1="VBD" variable_2="VBD"/>
		<map_variables variable_1="VVS1" variable_2="VVS1"/>
	</connection>
	<connection>
		<map_components component_1="venous_blood_volume" component_2="circulatory_dynamics"/>
		<map_variables variable_1="time" variable_2="time"/>
	</connection>

<!-- ========================================	ANGIOTENSIN-INDUCED VENOUS CONSTRICTION	============================================= -->
	<component 	name="angiotensin_induced_venous_constriction" 
				cmeta:id="angiotensin_induced_venous_constriction">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#angiotensin_induced_venous_constriction">
				<rdf:value>
				CD76 and CD77:  
				Calculation of the decrease in excess venous volume caused by angiotensin 
				constriction based on two factors:  A multiplier factor caused by changes in 
				concentration of angiotensin in the circulating blood (ANU) and a 
				sensitivity adjustment (ANY).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD76_and_CD77">
				<rdf:value>
				CD76 and CD77:  
				Calculation of the decrease in excess venous volume caused by angiotensin 
				constriction based on two factors:  A multiplier factor caused by changes in 
				concentration of angiotensin in the circulating blood (ANU) and a 
				sensitivity adjustment (ANY).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="ANU"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="VVA" 	units="litre" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="ANY"	units="litre" private_interface="none" public_interface="in"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD76_and_CD77">
				<eq/>
				<ci>VVA</ci>
				<apply>
					<times/>
					<apply>
						<minus/>
						<ci>ANU</ci>
						<cn cellml:units="dimensionless">1</cn>
					</apply>
					<ci>ANY</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="angiotensin_induced_venous_constriction" component_2="circulatory_dynamics"/>
		<map_variables variable_1="ANU" variable_2="ANU"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="angiotensin_induced_venous_constriction" component_2="parameter_values"/>
		<map_variables variable_1="ANY" variable_2="ANY"/>
	</connection>

<!-- ========================================	VENOUS EXCESS VOLUME	============================================= -->
	<component 	name="venous_excess_volume" 
				cmeta:id="venous_excess_volume">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#venous_excess_volume">
				<rdf:value>
				CD15:  
				The excess volume in the veins (VVE) is calculated by subtracting the maximum 
				volume of blood at zero venous pressure from the actual volume of blood in the 
				systemic venous system (VVS).  The maximum volume of blood in the venous system 
				at zero pressure is equal to the sum of several variable factors: a basic volume 
				when all other factors are normal (VVR), changes caused by atrial volume 
				receptor feedback (ATRVFB), changes caused by stress relaxation (VV6 and VV7), 
				and a change in basic volume of the venous system caused by constriction of the 
				venous system in response to circulating angiotensin from block CD77.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD15">
				<rdf:value>
				CD15:  
				The excess volume in the veins (VVE) is calculated by subtracting the maximum 
				volume of blood at zero venous pressure from the actual volume of blood in the 
				systemic venous system (VVS).  The maximum volume of blood in the venous system 
				at zero pressure is equal to the sum of several variable factors: a basic volume 
				when all other factors are normal (VVR), changes caused by atrial volume 
				receptor feedback (ATRVFB), changes caused by stress relaxation (VV6 and VV7), 
				and a change in basic volume of the venous system caused by constriction of the 
				venous system in response to circulating angiotensin from block CD77.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="VVS"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="VVR"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="VVA"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="VV6"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="VV7"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="ATRVFB"	units="litre" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="venous_excess_volume_VVE"
					name="VVE" 	units="litre" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="VVE1"	units="litre" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD15">
				<eq/>
				<ci>VVE1</ci>
				<apply>
					<minus/>
					<apply>
						<minus/>
						<apply>
							<minus/>
							<apply>
								<minus/>
								<apply>
									<minus/>
									<ci>VVS</ci>
									<ci>VVR</ci>
								</apply>
								<ci>VVA</ci>
							</apply>
							<ci>VV7</ci>
						</apply>
						<ci>VV6</ci>
					</apply>
					<ci>ATRVFB</ci>
				</apply>
			</apply>
			<apply id="CD15_cont">
				<eq/>
				<ci>VVE</ci>
				<piecewise>
					<piece>
						<cn cellml:units="litre">0.0001</cn>
						<apply>
							<lt/>
							<ci>VVE1</ci>
							<cn cellml:units="litre">0.0001</cn>
						</apply>
					</piece>
					<otherwise>
						<ci>VVE1</ci>
					</otherwise>
				</piecewise>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="venous_excess_volume" component_2="venous_blood_volume"/>
		<map_variables variable_1="VVS" variable_2="VVS"/>
	</connection>
	<connection>
		<map_components component_1="venous_excess_volume" component_2="circulatory_dynamics"/>
		<map_variables variable_1="VVR" variable_2="VVR"/>
		<map_variables variable_1="VV6" variable_2="VV6"/>
		<map_variables variable_1="VV7" variable_2="VV7"/>
		<map_variables variable_1="ATRVFB" variable_2="ATRVFB"/>
	</connection>
	<connection>
		<map_components component_1="venous_excess_volume" component_2="angiotensin_induced_venous_constriction"/>
		<map_variables variable_1="VVA" variable_2="VVA"/>
	</connection>

<!-- ========================================	VENOUS AVERAGE PRESSURE	============================================= -->
	<component 	name="venous_average_pressure" 
				cmeta:id="venous_average_pressure">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#venous_average_pressure">
				<rdf:value>
				CD16, CD16A, and CD16B:  
				The average pressure in the venous system (PVS) is equal to the excess volume of 
				blood in the veins (VVE) divided by the capacitance of the venous system (CV).  
				The mathematics in these blocks are arranged so that when CV in block CD16A is 
				changed, the blood volume in the venous system does not change at the normal venous 
				pressure level of PVS (+ 3.7 mm Hg).

				CD16D:  
				This block prevents the average venous pressure (PVS) from falling below .001 mm Hg.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD16_to_CD16B">
				<rdf:value>
				CD16, CD16A, and CD16B:  
				The average pressure in the venous system (PVS) is equal to the excess volume of 
				blood in the veins (VVE) divided by the capacitance of the venous system (CV).  
				The mathematics in these blocks are arranged so that when CV in block CD16A is 
				changed, the blood volume in the venous system does not change at the normal venous 
				pressure level of PVS (+ 3.7 mm Hg).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD16D">
				<rdf:value>
				CD16D:  
				This block prevents the average venous pressure (PVS) from falling below .001 mm Hg.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="VVE"	units="litre" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="venous_average_pressure_PVS"
					name="PVS" 	units="mmHg" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="CV"	units="L_per_mmHg" private_interface="none" public_interface="in"/>

<!-- Internal variables -->
		<variable name="PVS1"	units="mmHg" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD16_to_CD16B">
				<eq/>
				<ci>PVS1</ci>
				<apply>
					<plus/>
					<cn cellml:units="mmHg">3.7</cn>
					<apply>
						<divide/>
						<apply>
							<minus/>
							<ci>VVE</ci>
							<cn cellml:units="litre">0.74</cn>
						</apply>
						<ci>CV</ci>
					</apply>
				</apply>
			</apply>
			<apply id="CD16D">
				<eq/>
				<ci>PVS</ci>
				<piecewise>
					<piece>
						<cn cellml:units="mmHg">0.0001</cn>
						<apply>
							<lt/>
							<ci>PVS1</ci>
							<cn cellml:units="mmHg">0.0001</cn>
						</apply>
					</piece>
					<otherwise>
						<ci>PVS1</ci>
					</otherwise>
				</piecewise>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="venous_average_pressure" component_2="venous_excess_volume"/>
		<map_variables variable_1="VVE" variable_2="VVE"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="venous_average_pressure" component_2="parameter_values"/>
		<map_variables variable_1="CV" variable_2="CV"/>
	</connection>

<!-- ========================================	VENOUS OUTFLOW PRESSURE INTO CHEST/HEART	============================================= -->
	<component 	name="venous_outflow_pressure_into_heart" 
				cmeta:id="venous_outflow_pressure_into_heart">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#venous_outflow_pressure_into_heart">
				<rdf:value>
				CD25A and CD25B:  
				Calculation of the outflow pressure from the systemic veins into the chest (PR1) 
				which is used for calculating the blood flow through the venous system in CD17.  
				This corrects for the collapse of veins that might occur at entry to the chest 
				when the right atrial pressure is negative, thus maintaining the output pressure 
				from the venous system above a minimum pressure level corresponding to the pressure 
				at which the veins collapse (PRILL).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD25A_and_CD25B">
				<rdf:value>
				CD25A and CD25B:  
				Calculation of the outflow pressure from the systemic veins into the chest (PR1) 
				which is used for calculating the blood flow through the venous system in CD17.  
				This corrects for the collapse of veins that might occur at entry to the chest 
				when the right atrial pressure is negative, thus maintaining the output pressure 
				from the venous system above a minimum pressure level corresponding to the pressure 
				at which the veins collapse (PRILL).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PRA"	units="mmHg" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="PR1" 	units="mmHg" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="PR1LL"	units="mmHg" private_interface="none" public_interface="in"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD25A_and_CD25B">
				<eq/>
				<ci>PR1</ci>
				<piecewise>
					<piece>
						<ci>PR1LL</ci>
						<apply>
							<lt/>
							<ci>PRA</ci>
							<ci>PR1LL</ci>
						</apply>
					</piece>
					<otherwise>
						<ci>PRA</ci>
					</otherwise>
				</piecewise>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="venous_outflow_pressure_into_heart" component_2="right_atrial_pressure"/>
		<map_variables variable_1="PRA" variable_2="PRA"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="venous_outflow_pressure_into_heart" component_2="parameter_values"/>
		<map_variables variable_1="PR1LL" variable_2="PR1LL"/>
	</connection>

<!-- ========================================	RESISTANCE FROM VEINS TO RIGHT ATRIUM	============================================= -->
	<component 	name="resistance_from_veins_to_right_atrium" 
				cmeta:id="resistance_from_veins_to_right_atrium">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#resistance_from_veins_to_right_atrium">
				<rdf:value>
				CD18, CD18A, and CD18B:  
				These blocks calculate the resistance from the large veins to the right atrium (RVS).  
				Block CD18 takes into consideration the effect of the viscosity of the blood (VIM) when 
				the normal value for the viscosity is considered to be 1.0.  Block CD18A considers that
				the resistance (RVS) decreases in proportion to the square root of the level of large 
				vein pressure (PVS).  The numerical values in Blocks CD18 and CD18B are proportionality 
				constants.  This group of blocks is especially concerned with the reduction of venous 
				resistance when pressure increases the diameter of the veins.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD18_to_CD18B">
				<rdf:value>
				CD18, CD18A, and CD18B:  
				These blocks calculate the resistance from the large veins to the right atrium (RVS).  
				Block CD18 takes into consideration the effect of the viscosity of the blood (VIM) when 
				the normal value for the viscosity is considered to be 1.0.  Block CD18A considers that
				the resistance (RVS) decreases in proportion to the square root of the level of large 
				vein pressure (PVS).  The numerical values in Blocks CD18 and CD18B are proportionality 
				constants.  This group of blocks is especially concerned with the reduction of venous 
				resistance when pressure increases the diameter of the veins.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PVS"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="VIM"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="RVG" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD18_to_CD18B">
				<eq/>
				<ci>RVG</ci>
				<apply>
					<divide/>
					<cn cellml:units="mmHg_minute_per_L">0.74</cn>
					<apply>
						<power/>
						<apply>
							<divide/>
							<ci>PVS</ci>
							<apply>
								<times/>
								<ci>VIM</ci>
								<cn cellml:units="mmHg">3.7</cn>
							</apply>
						</apply>
						<cn cellml:units="dimensionless">0.5</cn>
					</apply>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="resistance_from_veins_to_right_atrium" component_2="venous_average_pressure"/>
		<map_variables variable_1="PVS" variable_2="PVS"/>
	</connection>
	<connection>
		<map_components component_1="resistance_from_veins_to_right_atrium" component_2="circulatory_dynamics"/>
		<map_variables variable_1="VIM" variable_2="VIM"/>
	</connection>

<!-- ========================================	RATE OF BLOOD FLOW FROM VEINS TO RIGHT ATRIUM	============================================= -->
	<component 	name="rate_of_blood_flow_from_veins_to_right_atrium" 
				cmeta:id="rate_of_blood_flow_from_veins_to_right_atrium">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#rate_of_blood_flow_from_veins_to_right_atrium">
				<rdf:value>
				CD17:  
				The temporary pressure gradient (PGV) from the midpoint of the veins to the exit 
				of the veins into the chest equals the venous pressure (PVS) minus the pressure 
				at the exit point (PR1).

				CD19:  
				The rate of blood flow out of the veins into the right atrium (QVO) is equal to 
				the pressure gradient through the venous system (PGV) divided by the resistance 
				to blood flow through the venous system (RVS).

				CD19A:  
				This block provides damping of the value QVO when running on the computer.  
				A damping value of X of 1.0 is no damping.  Any higher value causes damping.
				The value should be equal to 1.0 when studying rapid changes in circulatory 
				dynamics.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD17">
				<rdf:value>
				CD17:  
				The temporary pressure gradient (PGV) from the midpoint of the veins to the exit 
				of the veins into the chest equals the venous pressure (PVS) minus the pressure 
				at the exit point (PR1).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD19">
				<rdf:value>
				CD19:  
				The rate of blood flow out of the veins into the right atrium (QVO) is equal to 
				the pressure gradient through the venous system (PGV) divided by the resistance 
				to blood flow through the venous system (RVS).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD19A">
				<rdf:value>
				CD19A:  
				This block provides damping of the value QVO when running on the computer.  
				A damping value of X of 1.0 is no damping.  Any higher value causes damping.
				The value should be equal to 1.0 when studying rapid changes in circulatory 
				dynamics.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PVS"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="PR1"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="RVG"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>
		<variable name="QRO"	units="L_per_minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="QVO" 	units="L_per_minute" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="PGV"	units="mmHg" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD17">
				<eq/>
				<ci>PGV</ci>
				<apply>
					<minus/>
					<ci>PVS</ci>
					<ci>PR1</ci>
				</apply>
			</apply>
			<apply id="CD19">
				<eq/>
				<ci>QVO</ci>
				<apply>
					<divide/>
					<ci>PGV</ci>
					<ci>RVG</ci>
				</apply>
			</apply>
<!--			<apply id="CD19A - DAMPING!!!">
				<eq/>
				<ci>QVO</ci>
				<apply>
					<plus/>
					<ci>QRO</ci>
					<apply>
						<divide/>
						<apply>
							<minus/>
							<ci>QVO</ci>
							<ci>QRO</ci>
						</apply>
						<ci>X</ci>
					</apply>
				</apply>
			</apply> -->
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="rate_of_blood_flow_from_veins_to_right_atrium" component_2="venous_average_pressure"/>
		<map_variables variable_1="PVS" variable_2="PVS"/>
	</connection>
	<connection>
		<map_components component_1="rate_of_blood_flow_from_veins_to_right_atrium" component_2="venous_outflow_pressure_into_heart"/>
		<map_variables variable_1="PR1" variable_2="PR1"/>
	</connection>
	<connection>
		<map_components component_1="rate_of_blood_flow_from_veins_to_right_atrium" component_2="resistance_from_veins_to_right_atrium"/>
		<map_variables variable_1="RVG" variable_2="RVG"/>
	</connection>
	<connection>
		<map_components component_1="rate_of_blood_flow_from_veins_to_right_atrium" component_2="right_ventricular_output"/>
		<map_variables variable_1="QRO" variable_2="QRO"/>
	</connection>

<!-- ========================================	VENOUS RESISTANCE	============================================= -->
	<component 	name="venous_resistance" 
				cmeta:id="venous_resistance">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#venous_resistance">
				<rdf:value>
				CD50, CD51, CD52, CD53, CD54, and CD55:  
				A curve-shaping series to calculate a resistance multiplier factor (RV1) from the 
				effect of vascular stretch in the venous system, based on two factors: the input 
				pressure to the venous system from the capillaries (PC) and a basal systemic venous
				multiplier (RVSM).  The damping factor in CD54 slows the response and prevents 
				oscillation of the system.
				NB - The damping in CD54 has not been coded!!!!

				CD56:  
				Calculation of the venous resistance (RVS) after modification of the basic venous 
				resistance multiplier factor (RV1) by various other multiplier factors:  a multiplier
				factor for the effect of angiotensin (ANUVN), a multiplier factor for the effect of 
				the autonomic nervous system (AVE), and a multiplier factor for the effect of blood
				viscosity on venous resistance (VIM).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD50_to_CD53">
				<rdf:value>
				CD50, CD51, CD52, CD53, CD54, and CD55:  
				A curve-shaping series to calculate a resistance multiplier factor (RV1) from the 
				effect of vascular stretch in the venous system, based on two factors: the input 
				pressure to the venous system from the capillaries (PC) and a basal systemic venous
				multiplier (RVSM).  The damping factor in CD54 slows the response and prevents 
				oscillation of the system.
				NB - The damping in CD54 has not been coded!!!!
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD55">
				<rdf:value>
				CD50, CD51, CD52, CD53, CD54, and CD55:  
				A curve-shaping series to calculate a resistance multiplier factor (RV1) from the 
				effect of vascular stretch in the venous system, based on two factors: the input 
				pressure to the venous system from the capillaries (PC) and a basal systemic venous
				multiplier (RVSM).  The damping factor in CD54 slows the response and prevents 
				oscillation of the system.
				NB - The damping in CD54 has not been coded!!!!
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD56">
				<rdf:value>
				CD56:  
				Calculation of the venous resistance (RVS) after modification of the basic venous 
				resistance multiplier factor (RV1) by various other multiplier factors:  a multiplier
				factor for the effect of angiotensin (ANUVN), a multiplier factor for the effect of 
				the autonomic nervous system (AVE), and a multiplier factor for the effect of blood
				viscosity on venous resistance (VIM).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PC"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="VIM"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="AVE"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="ANUVN"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="venous_resistance_RVS"
					name="RVS" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="CN7"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="CN2"	units="per_mmHg" private_interface="none" public_interface="in"/>
		<variable name="RVSM"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>

<!-- Internal variables -->
		<variable name="CN3"	units="dimensionless" private_interface="none" public_interface="none"/>
		<variable name="RV1"	units="mmHg_minute_per_L" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD50_to_CD53">
                <eq/>
                <ci>CN3</ci>
                <apply>
                    <times/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <ci>PC</ci>
                                <cn cellml:units="mmHg">17</cn>
                            </apply>
                            <ci>CN7</ci>
                        </apply>
                        <cn cellml:units="mmHg">17</cn>
                    </apply>
                    <ci>CN2</ci>
                </apply>
			</apply>
			<apply id="CD55">
				<eq/>
				<ci>RV1</ci>
				<apply>
					<divide/>
					<ci>RVSM</ci>
					<ci>CN3</ci>
				</apply>
			</apply>
			<apply id="CD56">
				<eq/>
				<ci>RVS</ci>
				<apply>
					<times/>
					<ci>AVE</ci>
					<ci>RV1</ci>
					<ci>VIM</ci>
					<ci>ANUVN</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="venous_resistance" component_2="circulatory_dynamics"/>
		<map_variables variable_1="PC" variable_2="PC"/>
		<map_variables variable_1="VIM" variable_2="VIM"/>
		<map_variables variable_1="AVE" variable_2="AVE"/>
		<map_variables variable_1="ANUVN" variable_2="ANUVN"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="venous_resistance" component_2="parameter_values"/>
		<map_variables variable_1="CN7" variable_2="CN7"/>
		<map_variables variable_1="CN2" variable_2="CN2"/>
		<map_variables variable_1="RVSM" variable_2="RVSM"/>
	</connection>

<!-- ========================================	NON-MUSCLE, NON-RENAL VENOUS RESISTANCE	============================================= -->
	<component 	name="NM_NR_venous_resistance" 
				cmeta:id="NM_NR_venous_resistance">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#NM_NR_venous_resistance">
				<rdf:value>
				CD57:  
				Calculation of that proportion of the renal venous resistance that is ascribable
				to blood flow through the systemic circulation besides the muscles and the kidneys,
				by multiplying the actual venous resistance (RVS) times a proportionality factor.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD57">
				<rdf:value>
				CD57:  
				Calculation of that proportion of the renal venous resistance that is ascribable
				to blood flow through the systemic circulation besides the muscles and the kidneys,
				by multiplying the actual venous resistance (RVS) times a proportionality factor.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="RVS"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="NNRVR" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD57">
				<eq/>
				<ci>NNRVR</ci>
				<apply>
					<times/>
					<ci>RVS</ci>
					<cn cellml:units="dimensionless">1.79</cn>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="NM_NR_venous_resistance" component_2="venous_resistance"/>
		<map_variables variable_1="RVS" variable_2="RVS"/>
	</connection>

<!-- ========================================	SYSTEMIC ARTERIAL SYSTEM	============================================= -->
	<component 	name="systemic_arterial_system" 
				cmeta:id="systemic_arterial_system">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#systemic_arterial_system">
				<rdf:value>
				Containment grouping component for "arterial_blood_volume", 
				"arterial_pressure_and_pressure_gradient", "pressure_effect_on_arterial_distention", 
				"NR_systemic_arterial_resistance_multiplier" and "NM_NR_arterial_resistance".
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
	</component>

<!-- ========================================	ARTERIAL BLOOD VOLUME	============================================= -->
	<component 	name="arterial_blood_volume" 
				cmeta:id="arterial_blood_volume">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#arterial_blood_volume">
				<rdf:value>
				CD1:  
				The rate of change of blood volume in the aorta (DAS) is equal to the rate of 
				inflow to the aorta from the heart (QLO) minus the rate of outflow from the 
				aorta through the systemic circulation (QAO) plus any flow that occurs passively
				through the left ventricle (QLO1) because of a left atrial pressure that is 
				greater than aortic pressure, as occurs in the last stages of left ventricular
				failure.

				CD2:  
				Integration of the rate of change of volume in the aorta (DAS) gives an output 
				which is a temporary value for the volume of blood in the systemic arteries at
				any given instant.

				CD3:  
				This block calculates the portion of any change in blood volume that has occurred 
				since the last iteration (VBD) that is partitioned into the arteries.  The remainder
				is partitioned into other sections of the circulation.

				CD4:  
				The volume of blood in the arterial tree at any given instant (VAS) is equal to the
				temporary calculation in volume of blood as described in CD2 plus the portion of a
				blood volume change as calculated in CD3.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD1">
				<rdf:value>
				CD1:  
				The rate of change of blood volume in the aorta (DAS) is equal to the rate of 
				inflow to the aorta from the heart (QLO) minus the rate of outflow from the 
				aorta through the systemic circulation (QAO) plus any flow that occurs passively
				through the left ventricle (QLO1) because of a left atrial pressure that is 
				greater than aortic pressure, as occurs in the last stages of left ventricular
				failure.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD2">
				<rdf:value>
				CD2:  
				Integration of the rate of change of volume in the aorta (DAS) gives an output 
				which is a temporary value for the volume of blood in the systemic arteries at
				any given instant.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD3_and_CD4">
				<rdf:value>
				CD3:  
				This block calculates the portion of any change in blood volume that has occurred 
				since the last iteration (VBD) that is partitioned into the arteries.  The remainder
				is partitioned into other sections of the circulation.

				CD4:  
				The volume of blood in the arterial tree at any given instant (VAS) is equal to the
				temporary calculation in volume of blood as described in CD2 plus the portion of a
				blood volume change as calculated in CD3.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="QLO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="QAO"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="VBD"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="time"	units="minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="VAS" 	units="litre" private_interface="none" public_interface="out"/>
		<variable name="VAS1"	initial_value="0.862514"	units="litre" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="DAS"	units="L_per_minute" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD1">
				<eq/>
				<ci>DAS</ci>
				<apply>
					<minus/>
					<ci>QLO</ci>
					<ci>QAO</ci>
				</apply>
			</apply>
			<apply id="CD2">
				<eq/>
				<apply>
					<diff/>
					<bvar>
						<ci>time</ci>
					</bvar>
					<ci>VAS1</ci>
				</apply>
				<ci>DAS</ci>
			</apply>
			<apply id="CD3_and_CD4">
				<eq/>
				<ci>VAS</ci>
				<apply>
					<plus/>
					<ci>VAS1</ci>
					<apply>
						<times/>
						<ci>VBD</ci>
						<cn cellml:units="dimensionless">0.261</cn>
					</apply>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="arterial_blood_volume" component_2="left_ventricular_output"/>
		<map_variables variable_1="QLO" variable_2="QLO"/>
	</connection>
	<connection>
		<map_components component_1="arterial_blood_volume" component_2="systemic_blood_flow"/>
		<map_variables variable_1="QAO" variable_2="QAO"/>
	</connection>
	<connection>
		<map_components component_1="arterial_blood_volume" component_2="total_blood_volume_change"/>
		<map_variables variable_1="VAS1" variable_2="VAS1"/>
		<map_variables variable_1="VBD" variable_2="VBD"/>
	</connection>
	<connection>
		<map_components component_1="arterial_blood_volume" component_2="circulatory_dynamics"/>
		<map_variables variable_1="time" variable_2="time"/>
	</connection>

<!-- ========================================	ARTERIAL PRESSURE AND PRESSURE GRADIENT	============================================= -->
	<component 	name="arterial_pressure_and_pressure_gradient" 
				cmeta:id="arterial_pressure_and_pressure_gradient">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#arterial_pressure_and_pressure_gradient">
				<rdf:value>
				CD5:  
				The excess volume in the arterial tree (VAE) over and above the volume that is 
				required to barely fill the aorta at zero pressure is calculated by subtracting 
				a constant (which is equal to "VO") from the instantaneous volume in the aorta (VAS).

				CD6:  
				Arterial pressure (PA) is equal to the excess volume in the arterial tree (VAE) 
				divided by a constant which is the capacitance of the arterial tree.

				CD78:  
				The output of this block is the total pressure gradient from the arterial pressure (PA) 
				to the right atrial pressure (PRA).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD5">
				<rdf:value>
				CD5:  
				The excess volume in the arterial tree (VAE) over and above the volume that is 
				required to barely fill the aorta at zero pressure is calculated by subtracting 
				a constant (which is equal to "VO") from the instantaneous volume in the aorta (VAS).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD6">
				<rdf:value>
				CD6:  
				Arterial pressure (PA) is equal to the excess volume in the arterial tree (VAE) 
				divided by a constant which is the capacitance of the arterial tree.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD78">
				<rdf:value>
				CD78:  
				The output of this block is the total pressure gradient from the arterial pressure (PA) 
				to the right atrial pressure (PRA).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="VAS"	units="litre" private_interface="none" public_interface="in"/>
		<variable name="PRA"	units="mmHg" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="arterial_pressure_and_pressure_gradient_PA"
					name="PA" 	units="mmHg" private_interface="none" public_interface="out"/>
		<variable name="PAG" 	units="mmHg" private_interface="none" public_interface="out"/>

<!-- Internal variables -->
		<variable name="VAE"	units="litre" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD5">
				<eq/>
				<ci>VAE</ci>
				<apply>
					<minus/>
					<ci>VAS</ci>
					<cn cellml:units="litre">0.495</cn>
				</apply>
			</apply>
			<apply id="CD6">
				<eq/>
				<ci>PA</ci>
				<apply>
					<divide/>
					<ci>VAE</ci>
					<cn cellml:units="L_per_mmHg">0.00355</cn>
				</apply>
			</apply>
			<apply id="CD78">
				<eq/>
				<ci>PAG</ci>
				<apply>
					<minus/>
					<ci>PA</ci>
					<ci>PRA</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="arterial_pressure_and_pressure_gradient" component_2="arterial_blood_volume"/>
		<map_variables variable_1="VAS" variable_2="VAS"/>
	</connection>
	<connection>
		<map_components component_1="arterial_pressure_and_pressure_gradient" component_2="right_atrial_pressure"/>
		<map_variables variable_1="PRA" variable_2="PRA"/>
	</connection>

<!-- ========================================	PRESSURE EFFECT ON ARTERIAL DISTENTION/RESISTANCE	============================================= -->
	<component 	name="pressure_effect_on_arterial_distention" 
				cmeta:id="pressure_effect_on_arterial_distention">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pressure_effect_on_arterial_distention">
				<rdf:value>
				CD44 and CD45:  
				Calculation of the effect of arterial vascular distension on resistance caused by 
				the arterial pressure itself (PA), giving a multiplier output (PAM) that is then 
				used to calculate the effect of distension on systemic resistance.  The exponential 
				factor (PAEX) modifies the extent to which pressure affects the degree of distension
				on an exponential basis.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD44_and_CD45">
				<rdf:value>
				CD44 and CD45:  
				Calculation of the effect of arterial vascular distension on resistance caused by 
				the arterial pressure itself (PA), giving a multiplier output (PAM) that is then 
				used to calculate the effect of distension on systemic resistance.  The exponential 
				factor (PAEX) modifies the extent to which pressure affects the degree of distension
				on an exponential basis.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PA"	units="mmHg" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="PAM" 	units="dimensionless" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="PAEX"	units="dimensionless" private_interface="none" public_interface="in"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD44_and_CD45">
				<eq/>
				<ci>PAM</ci>
				<apply>
					<power/>
					<apply>
						<divide/>
						<ci>PA</ci>
						<cn cellml:units="mmHg">100</cn>
					</apply>
					<ci>PAEX</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pressure_effect_on_arterial_distention" component_2="arterial_pressure_and_pressure_gradient"/>
		<map_variables variable_1="PA" variable_2="PA"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="pressure_effect_on_arterial_distention" component_2="parameter_values"/>
		<map_variables variable_1="PAEX" variable_2="PAEX"/>
	</connection>

<!-- ======================================		NON-RENAL SYSTEMIC ARTERIAL RESISTANCE MULTIPLIER		======================================= -->
	<component 	name="non_renal_systemic_arterial_resistance_multiplier" 
				cmeta:id="non_renal_systemic_arterial_resistance_multiplier">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#non_renal_systemic_arterial_resistance_multiplier">
				<rdf:value>
				CD46 and CD47:  
				Calculation of the effect of multiple factors on systemic arterial resistance in
				the muscles and in the soft tissues besides the kidneys to give a multiplier 
				factor (R1).  The input factors that contribute to this multiplier factor are:  
				a multiplier factor for the degree of sympathetic stimulation (AUM), a multiplier 
				factor for blood viscosity (VIM), a multiplier factor for the effect of angiotensin
				on vascular resistance (ANU), a multiplier factor for the effect of antidiuretic 
				hormone (ADHMV), a division factor for the effect of feedback from the atrial stretch
				receptors (ATRRFB), a division factor caused by dilation of the arteries in response
				to changes in arterial pressure (PAM), and a multiplier factor (PAMK) for any other
				effect that might constrict the arteries.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD46_and_CD47">
				<rdf:value>
				CD46 and CD47:  
				Calculation of the effect of multiple factors on systemic arterial resistance in
				the muscles and in the soft tissues besides the kidneys to give a multiplier 
				factor (R1).  The input factors that contribute to this multiplier factor are:  
				a multiplier factor for the degree of sympathetic stimulation (AUM), a multiplier 
				factor for blood viscosity (VIM), a multiplier factor for the effect of angiotensin
				on vascular resistance (ANU), a multiplier factor for the effect of antidiuretic 
				hormone (ADHMV), a division factor for the effect of feedback from the atrial stretch
				receptors (ATRRFB), a division factor caused by dilation of the arteries in response
				to changes in arterial pressure (PAM), and a multiplier factor (PAMK) for any other
				effect that might constrict the arteries.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="ANU"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="ADHMV"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="AUM"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="VIM"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="PAMK"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="PAM"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="ATRRFB"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="R1" 	units="dimensionless" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD46_and_CD47">
				<eq/>
				<ci>R1</ci>
				<apply>
					<divide/>
					<apply>
						<divide/>
						<apply>
							<times/>
							<ci>ANU</ci>
							<ci>ADHMV</ci>
							<ci>AUM</ci>
							<ci>VIM</ci>
							<ci>PAMK</ci>
						</apply>
						<ci>PAM</ci>
					</apply>
					<ci>ATRRFB</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="non_renal_systemic_arterial_resistance_multiplier" component_2="circulatory_dynamics"/>
		<map_variables variable_1="ANU" variable_2="ANU"/>
		<map_variables variable_1="ADHMV" variable_2="ADHMV"/>
		<map_variables variable_1="AUM" variable_2="AUM"/>
		<map_variables variable_1="VIM" variable_2="VIM"/>
		<map_variables variable_1="PAMK" variable_2="PAMK"/>
		<map_variables variable_1="ATRRFB" variable_2="ATRRFB"/>
	</connection>
	<connection>
		<map_components component_1="non_renal_systemic_arterial_resistance_multiplier" component_2="pressure_effect_on_arterial_distention"/>
		<map_variables variable_1="PAM" variable_2="PAM"/>
	</connection>

<!-- ========================================	NON-MUSCLE, NON-RENAL ARTERIAL RESISTANCE	============================================= -->
	<component 	name="NM_NR_arterial_resistance" 
				cmeta:id="NM_NR_arterial_resistance">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#NM_NR_arterial_resistance">
				<rdf:value>
				CD49:  
				Modification of the resistance multiplier factor (R1) in the tissues of the 
				body besides the muscles and the kidneys caused by the basic resistance 
				through these tissues (RAR), times the degree of effect of an autoregulation 
				multiplier factor (ARM) caused by autoregulation in these tissues, times 
				RMULT1 for experiments on postulations of very rapid autoregulation, and 
				times MYOGRS for resistance changes caused by myogenic autoregulation.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD49">
				<rdf:value>
				CD49:  
				Modification of the resistance multiplier factor (R1) in the tissues of the 
				body besides the muscles and the kidneys caused by the basic resistance 
				through these tissues (RAR), times the degree of effect of an autoregulation 
				multiplier factor (ARM) caused by autoregulation in these tissues, times 
				RMULT1 for experiments on postulations of very rapid autoregulation, and 
				times MYOGRS for resistance changes caused by myogenic autoregulation.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="R1"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="ARM"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="MYOGRS"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="NNRAR" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="RAR"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>
		<variable name="RMULT1"	units="dimensionless" private_interface="none" public_interface="in"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD49">
				<eq/>
				<ci>NNRAR</ci>
				<apply>
					<times/>
					<ci>RAR</ci>
					<ci>ARM</ci>
					<ci>R1</ci>
					<ci>MYOGRS</ci>
					<ci>RMULT1</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="NM_NR_arterial_resistance" component_2="non_renal_systemic_arterial_resistance_multiplier"/>
		<map_variables variable_1="R1" variable_2="R1"/>
	</connection>
	<connection>
		<map_components component_1="NM_NR_arterial_resistance" component_2="circulatory_dynamics"/>
		<map_variables variable_1="ARM" variable_2="ARM"/>
		<map_variables variable_1="MYOGRS" variable_2="MYOGRS"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="NM_NR_arterial_resistance" component_2="parameter_values"/>
		<map_variables variable_1="RAR" variable_2="RAR"/>
		<map_variables variable_1="RMULT1" variable_2="RMULT1"/>
	</connection>

<!-- ========================================	PRESSURE GRADIENT FROM ARTERIES TO VEINS	============================================= -->
	<component 	name="pressure_gradient_from_arteries_to_veins" 
				cmeta:id="pressure_gradient_from_arteries_to_veins">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#pressure_gradient_from_arteries_to_veins">
				<rdf:value>
				CD7:  
				The pressure gradient from the aorta to the major veins in the systemic circulation (PGS) 
				is equal to the pressure in the aorta (PA) minus the average pressure in the major veins (PVS).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD7">
				<rdf:value>
				CD7:  
				The pressure gradient from the aorta to the major veins in the systemic circulation (PGS) 
				is equal to the pressure in the aorta (PA) minus the average pressure in the major veins (PVS).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PA"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="PVS"	units="mmHg" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="PGS" 	units="mmHg" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD7">
				<eq/>
				<ci>PGS</ci>
				<apply>
					<minus/>
					<ci>PA</ci>
					<ci>PVS</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="pressure_gradient_from_arteries_to_veins" component_2="arterial_pressure_and_pressure_gradient"/>
		<map_variables variable_1="PA" variable_2="PA"/>
	</connection>
	<connection>
		<map_components component_1="pressure_gradient_from_arteries_to_veins" component_2="venous_average_pressure"/>
		<map_variables variable_1="PVS" variable_2="PVS"/>
	</connection>

<!-- ========================================	MUSCLE SYSTEMIC RESISTANCE		============================================= -->
	<component 	name="M_systemic_resistance" 
				cmeta:id="M_systemic_resistance">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#M_systemic_resistance">
				<rdf:value>
				CD48:  
				Calculation of the resistance through the systemic muscles (RSM) by multiplying 
				the basic resistance through the muscles (RAM) times the multiplier factor 
				calculated in CD47 (R1), times another multiplier factor resulting from local 
				tissue blood flow autoregulation in the muscles (AMM), times RMULT1 for experiments
				on postulations of very rapid autoregulation, and times MYOGRS for resistance 
				changes caused by possible myogenic autoregulation.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD48">
				<rdf:value>
				CD48:  
				Calculation of the resistance through the systemic muscles (RSM) by multiplying 
				the basic resistance through the muscles (RAM) times the multiplier factor 
				calculated in CD47 (R1), times another multiplier factor resulting from local 
				tissue blood flow autoregulation in the muscles (AMM), times RMULT1 for experiments
				on postulations of very rapid autoregulation, and times MYOGRS for resistance 
				changes caused by possible myogenic autoregulation.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="R1"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="AMM"	units="dimensionless" private_interface="none" public_interface="in"/>
		<variable name="MYOGRS"	units="dimensionless" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="RSM" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="RAM"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>
		<variable name="RMULT1"	units="dimensionless" private_interface="none" public_interface="in"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD48">
				<eq/>
				<ci>RSM</ci>
				<apply>
					<times/>
					<ci>RAM</ci>
					<ci>AMM</ci>
					<ci>R1</ci>
					<ci>MYOGRS</ci>
					<ci>RMULT1</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="M_systemic_resistance" component_2="non_renal_systemic_arterial_resistance_multiplier"/>
		<map_variables variable_1="R1" variable_2="R1"/>
	</connection>
	<connection>
		<map_components component_1="M_systemic_resistance" component_2="circulatory_dynamics"/>
		<map_variables variable_1="AMM" variable_2="AMM"/>
		<map_variables variable_1="MYOGRS" variable_2="MYOGRS"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="M_systemic_resistance" component_2="parameter_values"/>
		<map_variables variable_1="RAM" variable_2="RAM"/>
		<map_variables variable_1="RMULT1" variable_2="RMULT1"/>
	</connection>

<!-- ========================================	TOTAL NON-MUSCLE, NON-RENAL SYSTEMIC RESISTANCE	============================================= -->
	<component 	name="total_NM_NR_systemic_resistance" 
				cmeta:id="total_NM_NR_systemic_resistance">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#total_NM_NR_systemic_resistance">
				<rdf:value>
				CD58:  
				Calculation of the resistance to blood flow through the nonmuscular and nonkidney 
				portions of the systemic vasculature (RSN) by adding the arterial portion of the 
				resistance as calculated from CD49 and the venous portion of the resistance 
				calculated from CD57.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD58">
				<rdf:value>
				CD58:  
				Calculation of the resistance to blood flow through the nonmuscular and nonkidney 
				portions of the systemic vasculature (RSN) by adding the arterial portion of the 
				resistance as calculated from CD49 and the venous portion of the resistance 
				calculated from CD57.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="NNRAR"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>
		<variable name="NNRVR"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="RSN" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD58">
				<eq/>
				<ci>RSN</ci>
				<apply>
					<plus/>
					<ci>NNRAR</ci>
					<ci>NNRVR</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="total_NM_NR_systemic_resistance" component_2="NM_NR_arterial_resistance"/>
		<map_variables variable_1="NNRAR" variable_2="NNRAR"/>
	</connection>
	<connection>
		<map_components component_1="total_NM_NR_systemic_resistance" component_2="NM_NR_venous_resistance"/>
		<map_variables variable_1="NNRVR" variable_2="NNRVR"/>
	</connection>

<!-- ========================================	BLOOD FLOW THROUGH MUSCLE TISSUES	============================================= -->
	<component 	name="blood_flow_through_M_tissues" 
				cmeta:id="blood_flow_through_M_tissues">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#blood_flow_through_M_tissues">
				<rdf:value>
				CD9:  
				The blood flow through the muscles (BFM) is equal to the pressure gradient through 
				the systemic circulation to the major veins (PGS) divided by the resistance to the 
				blood flow through the muscles (RSM).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD9">
				<rdf:value>
				CD9:  
				The blood flow through the muscles (BFM) is equal to the pressure gradient through 
				the systemic circulation to the major veins (PGS) divided by the resistance to the 
				blood flow through the muscles (RSM).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PGS"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="RSM"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="blood_flow_through_M_tissues_BFM"
					name="BFM" 	units="L_per_minute" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD9">
				<eq/>
				<ci>BFM</ci>
				<apply>
					<divide/>
					<ci>PGS</ci>
					<ci>RSM</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="blood_flow_through_M_tissues" component_2="pressure_gradient_from_arteries_to_veins"/>
		<map_variables variable_1="PGS" variable_2="PGS"/>
	</connection>
	<connection>
		<map_components component_1="blood_flow_through_M_tissues" component_2="M_systemic_resistance"/>
		<map_variables variable_1="RSM" variable_2="RSM"/>
	</connection>

<!-- ========================================	BLOOD FLOW THROUGH NON-MUSCLE, NON-RENAL TISSUES	============================================= -->
	<component 	name="blood_flow_through_NM_NR_tissues" 
				cmeta:id="blood_flow_through_NM_NR_tissues">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#blood_flow_through_NM_NR_tissues">
				<rdf:value>
				CD8:  
				Blood flow through the nonmuscular portions of the body besides the kidneys (BFN)
				is equal to the pressure gradient through the systemic circulation (PGS) divided by
				the resistance through the nonmuscular portions of the body besides the kidneys (RSN).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD8">
				<rdf:value>
				CD8:  
				Blood flow through the nonmuscular portions of the body besides the kidneys (BFN)
				is equal to the pressure gradient through the systemic circulation (PGS) divided by
				the resistance through the nonmuscular portions of the body besides the kidneys (RSN).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PGS"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="RSN"	units="mmHg_minute_per_L" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="blood_flow_through_NM_NR_tissues_BFN"
					name="BFN" 	units="L_per_minute" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD8">
				<eq/>
				<ci>BFN</ci>
				<apply>
					<divide/>
					<ci>PGS</ci>
					<ci>RSN</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="blood_flow_through_NM_NR_tissues" component_2="pressure_gradient_from_arteries_to_veins"/>
		<map_variables variable_1="PGS" variable_2="PGS"/>
	</connection>
	<connection>
		<map_components component_1="blood_flow_through_NM_NR_tissues" component_2="total_NM_NR_systemic_resistance"/>
		<map_variables variable_1="RSN" variable_2="RSN"/>
	</connection>

<!-- ========================================	BLOOD FLOW THROUGH AV FISTULAS	============================================= -->
	<component 	name="blood_flow_through_AV_fistulas" 
				cmeta:id="blood_flow_through_AV_fistulas">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#blood_flow_through_AV_fistulas">
				<rdf:value>
				CD79:  
				Calculation of the rate of blood flow through a fistula (FISFLO) by multiplying 
				a conductance factor for the fistula (FIS) times the pressure difference from the
				arteries to the right atrium as calculated by Block CD78.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD79">
				<rdf:value>
				CD79:  
				Calculation of the rate of blood flow through a fistula (FISFLO) by multiplying 
				a conductance factor for the fistula (FIS) times the pressure difference from the
				arteries to the right atrium as calculated by Block CD78.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PAG"	units="mmHg" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="FISFLO" 	units="L_per_minute" private_interface="none" public_interface="out"/>

<!-- Parameters from parameter_file -->
		<variable name="FIS"	units="L_per_minute_per_mmHg" private_interface="none" public_interface="in"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD79">
				<eq/>
				<ci>FISFLO</ci>
				<apply>
					<times/>
					<ci>PAG</ci>
					<ci>FIS</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="blood_flow_through_AV_fistulas" component_2="arterial_pressure_and_pressure_gradient"/>
		<map_variables variable_1="PAG" variable_2="PAG"/>
	</connection>

<!-- PARAMETER CONNECTIONS -->
	<connection>
		<map_components component_1="blood_flow_through_AV_fistulas" component_2="parameter_values"/>
		<map_variables variable_1="FIS" variable_2="FIS"/>
	</connection>

<!-- ========================================	SYSTEMIC BLOOD FLOW	============================================= -->
	<component 	name="systemic_blood_flow" 
				cmeta:id="systemic_blood_flow">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#systemic_blood_flow">
				<rdf:value>
				CD10:  
				The rate of blood flow out of the arterial tree (QAO) is equal to the blood flow
				through the muscles (BFM), the blood flow through the nonmuscular portions of 
				the body (BFN), the blood flow through the kidneys (RBF) and the blood flow 
				through any artificial AV fistulas (FISFLO).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD10">
				<rdf:value>
				CD10:  
				The rate of blood flow out of the arterial tree (QAO) is equal to the blood flow
				through the muscles (BFM), the blood flow through the nonmuscular portions of 
				the body (BFN), the blood flow through the kidneys (RBF) and the blood flow 
				through any artificial AV fistulas (FISFLO).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="BFM"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="BFN"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="RBF"	units="L_per_minute" private_interface="none" public_interface="in"/>
		<variable name="FISFLO"	units="L_per_minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="SYSFLO" 	units="L_per_minute" private_interface="none" public_interface="out"/>
		<variable 	cmeta:id="systemic_blood_flow_QAO"
					name="QAO" 	units="L_per_minute" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD10">
				<eq/>
				<ci>SYSFLO</ci>
				<apply>
					<plus/>
					<ci>BFM</ci>
					<ci>BFN</ci>
					<ci>RBF</ci>
				</apply>
			</apply>
			<apply id="CD10_cont">
				<eq/>
				<ci>QAO</ci>
				<apply>
					<plus/>
					<ci>SYSFLO</ci>
					<ci>FISFLO</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="systemic_blood_flow" component_2="blood_flow_through_M_tissues"/>
		<map_variables variable_1="BFM" variable_2="BFM"/>
	</connection>
	<connection>
		<map_components component_1="systemic_blood_flow" component_2="blood_flow_through_NM_NR_tissues"/>
		<map_variables variable_1="BFN" variable_2="BFN"/>
	</connection>
	<connection>
		<map_components component_1="systemic_blood_flow" component_2="circulatory_dynamics"/>
		<map_variables variable_1="RBF" variable_2="RBF"/>
	</connection>
	<connection>
		<map_components component_1="systemic_blood_flow" component_2="blood_flow_through_AV_fistulas"/>
		<map_variables variable_1="FISFLO" variable_2="FISFLO"/>
	</connection>

<!-- ========================================	TOTAL PERIPHERAL RESISTANCE		============================================= -->
	<component 	name="total_peripheral_resistance" 
				cmeta:id="total_peripheral_resistance">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#total_peripheral_resistance">
				<rdf:value>
				CD80:  
				The total peripheral resistance (RTP) is equal to the total pressure drop from 
				the arteries to the right atrium (from Block CD78) divided by the total blood 
				flow through the systemic circulation (QAO).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#CD80">
				<rdf:value>
				CD80:  
				The total peripheral resistance (RTP) is equal to the total pressure drop from 
				the arteries to the right atrium (from Block CD78) divided by the total blood 
				flow through the systemic circulation (QAO).
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="PAG"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="QAO"	units="L_per_minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable name="RTP" 	units="mmHg_minute_per_L" private_interface="none" public_interface="out"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="CD80">
				<eq/>
				<ci>RTP</ci>
				<apply>
					<divide/>
					<ci>PAG</ci>
					<ci>QAO</ci>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="total_peripheral_resistance" component_2="arterial_pressure_and_pressure_gradient"/>
		<map_variables variable_1="PAG" variable_2="PAG"/>
	</connection>
	<connection>
		<map_components component_1="total_peripheral_resistance" component_2="systemic_blood_flow"/>
		<map_variables variable_1="QAO" variable_2="QAO"/>
	</connection>
	
<!-- ============================================================		PARAMETER VALUES		=============================================================== -->
	<component 	name="parameter_values"
				cmeta:id="parameter_values">
		<variable name="HTAUML" 	units="dimensionless" 	initial_value="0.4"			private_interface="none"	public_interface="out"/>	<!-- autonomic sensitivity on PRA [P] -->
		<variable name="QRF" 		units="L_per_minute" 	initial_value="0.15"		private_interface="none"	public_interface="out"/>	<!-- left ventricle funct effect on right ventricle function [P] -->
		<variable name="HSR" 		units="dimensionless" 	initial_value="1"			private_interface="none"	public_interface="out"/>	<!-- basic strength of right ventricle -->
		<variable name="HSL" 		units="dimensionless" 	initial_value="1"			private_interface="none"	public_interface="out"/>	<!-- basic strength of left ventricle -->
		<variable name="ANY" 		units="litre" 	initial_value="-0.2"		private_interface="none"	public_interface="out"/>	<!-- sensitivity controller of ANU for venous volume [P] -->
		<variable name="CV" 		units="L_per_mmHg" 	initial_value="0.1"			private_interface="none"	public_interface="out"/>	<!-- venous compliance [P] -->
		<variable name="PR1LL" 		units="mmHg" 	initial_value="0"			private_interface="none"	public_interface="out"/>	<!-- PR1 lower limit [P] -->
		<variable name="RVSM" 		units="mmHg_minute_per_L" 	initial_value="1"			private_interface="none"	public_interface="out"/>	<!-- basal systemic venous multiplier [P] -->
		<variable name="CN2" 		units="per_mmHg" 	initial_value="0.0212"		private_interface="none"	public_interface="out"/>	<!-- curve fitting coefficient, calculation of CN3 [P] -->
		<variable name="CN7" 		units="dimensionless" 	initial_value="0.2"			private_interface="none"	public_interface="out"/>	<!-- curve fitting coefficient, calculation of CN3 [P] -->
		<variable name="PAEX"	 	units="dimensionless" 	initial_value="2"			private_interface="none"	public_interface="out"/>	<!-- exponential factor affecting PAM [P] -->
		<variable name="RAR" 		units="mmHg_minute_per_L" 	initial_value="30.52"		private_interface="none"	public_interface="out"/>	<!-- basal non-muscle vascular resistance [P] -->
		<variable name="RMULT1" 	units="dimensionless" 	initial_value="1"			private_interface="none"	public_interface="out"/>	<!-- very rapid autoregulation multiplier (if AUTO > 0) -->
		<variable name="RAM" 		units="mmHg_minute_per_L" 	initial_value="96.3"		private_interface="none"	public_interface="out"/>	<!-- basal muscle vascular resistance [P] -->
		<variable name="FIS" 		units="L_per_minute_per_mmHg" 	initial_value="0"			private_interface="none"	public_interface="out"/>	<!-- fistula conductance factor -->
	</component>

<!-- ============================================================		GROUPING		=============================================================== -->
   <group>
	<relationship_ref relationship="containment"/>
		<component_ref component="circulatory_dynamics">
			<component_ref component="total_blood_volume_change"/>
			<component_ref component="right_atrium">
				<component_ref component="right_atrial_blood_volume"/>
				<component_ref component="right_atrial_pressure"/>
				<component_ref component="autonomic_stimulation_effect_on_right_atrial_pressure"/>
			</component_ref>
			<component_ref component="right_ventricle">
				<component_ref component="pressure_effect_on_right_ventricular_pumping"/>
				<component_ref component="pumping_effectiveness_of_right_ventricle"/>
				<component_ref component="right_ventricular_output"/>
			</component_ref>
			<component_ref component="pulmonary_vasculature">
				<component_ref component="pulmonary_vasculature_blood_volume"/>
				<component_ref component="pulmonary_vasculature_pressure"/>
				<component_ref component="pulmonary_arterial_resistance"/>
				<component_ref component="pulmonary_venous_resistance"/>
				<component_ref component="total_pulmonary_vascular_resistance"/>
				<component_ref component="pressure_gradient_through_the_lungs"/>
				<component_ref component="rate_of_blood_flow_from_pulmonary_veins_to_left_atrium"/>
			</component_ref>
			<component_ref component="left_atrium">
				<component_ref component="left_atrial_blood_volume"/>
				<component_ref component="left_atrial_pressure"/>
				<component_ref component="autonomic_stimulation_effect_on_left_atrial_pressure"/>
			</component_ref>
			<component_ref component="left_ventricle">
				<component_ref component="pumping_effectiveness_of_left_ventricle"/>
				<component_ref component="left_ventricular_output"/>
			</component_ref>
			<component_ref component="systemic_venous_system">
				<component_ref component="venous_blood_volume"/>
				<component_ref component="angiotensin_induced_venous_constriction"/>
				<component_ref component="venous_excess_volume"/>
				<component_ref component="venous_average_pressure"/>
				<component_ref component="venous_outflow_pressure_into_heart"/>
				<component_ref component="resistance_from_veins_to_right_atrium"/>
				<component_ref component="rate_of_blood_flow_from_veins_to_right_atrium"/>
				<component_ref component="venous_resistance"/>
				<component_ref component="NM_NR_venous_resistance"/>
			</component_ref>
			<component_ref component="systemic_arterial_system">
				<component_ref component="arterial_blood_volume"/>
				<component_ref component="arterial_pressure_and_pressure_gradient"/>
				<component_ref component="pressure_effect_on_arterial_distention"/>
				<component_ref component="non_renal_systemic_arterial_resistance_multiplier"/>
				<component_ref component="NM_NR_arterial_resistance"/>
			</component_ref>
			<component_ref component="pressure_gradient_from_arteries_to_veins"/>
			<component_ref component="M_systemic_resistance"/>
			<component_ref component="total_NM_NR_systemic_resistance"/>
			<component_ref component="blood_flow_through_M_tissues"/>
			<component_ref component="blood_flow_through_NM_NR_tissues"/>
			<component_ref component="blood_flow_through_AV_fistulas"/>
			<component_ref component="systemic_blood_flow"/>
			<component_ref component="total_peripheral_resistance"/>
		</component_ref>
   </group>


   <group>
		<relationship_ref relationship="encapsulation"/>
		<component_ref component="circulatory_dynamics">
			<component_ref component="parameter_values"/>
			<component_ref component="total_blood_volume_change"/>
			<component_ref component="right_atrium"/>
			<component_ref component="right_atrial_blood_volume"/>
			<component_ref component="right_atrial_pressure"/>
			<component_ref component="autonomic_stimulation_effect_on_right_atrial_pressure"/>
			<component_ref component="right_ventricle"/>
			<component_ref component="pressure_effect_on_right_ventricular_pumping"/>
			<component_ref component="pumping_effectiveness_of_right_ventricle"/>
			<component_ref component="right_ventricular_output"/>
			<component_ref component="pulmonary_vasculature"/>
			<component_ref component="pulmonary_vasculature_blood_volume"/>
			<component_ref component="pulmonary_vasculature_pressure"/>
			<component_ref component="pulmonary_arterial_resistance"/>
			<component_ref component="pulmonary_venous_resistance"/>
			<component_ref component="total_pulmonary_vascular_resistance"/>
			<component_ref component="pressure_gradient_through_the_lungs"/>
			<component_ref component="rate_of_blood_flow_from_pulmonary_veins_to_left_atrium"/>
			<component_ref component="left_atrium"/>
			<component_ref component="left_atrial_blood_volume"/>
			<component_ref component="left_atrial_pressure"/>
			<component_ref component="autonomic_stimulation_effect_on_left_atrial_pressure"/>
			<component_ref component="left_ventricle"/>
			<component_ref component="pumping_effectiveness_of_left_ventricle"/>
			<component_ref component="left_ventricular_output"/>
			<component_ref component="systemic_venous_system"/>
			<component_ref component="venous_blood_volume"/>
			<component_ref component="angiotensin_induced_venous_constriction"/>
			<component_ref component="venous_excess_volume"/>
			<component_ref component="venous_average_pressure"/>
			<component_ref component="venous_outflow_pressure_into_heart"/>
			<component_ref component="resistance_from_veins_to_right_atrium"/>
			<component_ref component="rate_of_blood_flow_from_veins_to_right_atrium"/>
			<component_ref component="venous_resistance"/>
			<component_ref component="NM_NR_venous_resistance"/>
			<component_ref component="systemic_arterial_system"/>
			<component_ref component="arterial_blood_volume"/>
			<component_ref component="arterial_pressure_and_pressure_gradient"/>
			<component_ref component="pressure_effect_on_arterial_distention"/>
			<component_ref component="non_renal_systemic_arterial_resistance_multiplier"/>
			<component_ref component="NM_NR_arterial_resistance"/>
			<component_ref component="pressure_gradient_from_arteries_to_veins"/>
			<component_ref component="M_systemic_resistance"/>
			<component_ref component="total_NM_NR_systemic_resistance"/>
			<component_ref component="blood_flow_through_M_tissues"/>
			<component_ref component="blood_flow_through_NM_NR_tissues"/>
			<component_ref component="blood_flow_through_AV_fistulas"/>
			<component_ref component="systemic_blood_flow"/>
			<component_ref component="total_peripheral_resistance"/>
		</component_ref>
   </group>

   
<!-- SIMULATION METADATA -->
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <RDF:Description RDF:about="circulation_1-0.cellml#circulatory_dynamics_CellML1_0_model">
    <NS1:simulation xmlns:NS1="http://www.cellml.org/metadata/simulation/1.0#" RDF:resource="rdf:#$QQv43"/>
  </RDF:Description>
  <RDF:Description RDF:about="rdf:#$4SdBX3">
    <RDF:first RDF:resource="rdf:#$5SdBX3"/>
    <RDF:rest RDF:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
  </RDF:Description>
  <RDF:Description RDF:about="rdf:#$3SdBX3">
    <NS1:boundIntervals xmlns:NS1="http://www.cellml.org/metadata/simulation/1.0#" RDF:resource="rdf:#$4SdBX3"/>
  </RDF:Description>
  <RDF:Description xmlns:NS1="http://www.cellml.org/metadata/simulation/1.0#" RDF:about="rdf:#$SQv43" NS1:endingValue="1" NS1:nonstandard-pointDensity="1000"/>
  <RDF:Description RDF:about="circulation_1-0.cellml#circulatory_dynamics_CellML1_0_model#LfY7zdZ%60EYs">
    <NS1:simulation xmlns:NS1="http://www.cellml.org/metadata/simulation/1.0#" RDF:resource="rdf:#$b2Cb93"/>
    <NS1:simulation xmlns:NS1="http://www.cellml.org/metadata/simulation/1.0#" RDF:resource="rdf:#$3SdBX3"/>
  </RDF:Description>
  <RDF:Description RDF:about="rdf:#$QQv43">
    <NS1:boundIntervals xmlns:NS1="http://www.cellml.org/metadata/simulation/1.0#" RDF:resource="rdf:#$RQv43"/>
  </RDF:Description>
  <RDF:Description RDF:about="rdf:#$RQv43">
    <RDF:first RDF:resource="rdf:#$SQv43"/>
    <RDF:rest RDF:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
  </RDF:Description>
  <RDF:Description RDF:about="rdf:#$b2Cb93">
    <NS1:boundIntervals xmlns:NS1="http://www.cellml.org/metadata/simulation/1.0#" RDF:resource="rdf:#$c2Cb93"/>
  </RDF:Description>
  <RDF:Description RDF:about="rdf:#$c2Cb93">
    <RDF:first RDF:resource="rdf:#$d2Cb93"/>
    <RDF:rest RDF:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
  </RDF:Description>
</RDF:RDF>

</model>