Rendering of the source text

<?xml version="1.0" encoding="utf-8"?>
<model 
	name="heart_hypertrophy_or_deterioration_CellML1_0_model"
	cmeta:id="heart_hypertrophy_or_deterioration_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: Heart Hypertrophy or Deterioration</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 been validated. 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). This may effect the transient behaviour of the model, however the 
		steady-state behaviour would remain	the same. The equations in this file and the steady-state output from the model 
		conform to the results from the MODSIM program.
	</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 effect of heart hypertrophy or heart deterioration on heart pumping capability.
</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="heart_hypertrophy_or_deterioration_diagram">
<mediaobject>
  <imageobject>
    <objectinfo>
      <title>model diagram</title>
    </objectinfo>
    <imagedata fileref="hypert_or_deter.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="#heart_hypertrophy_or_deterioration_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>Heart Hypertrophy or Deterioration</vCard:Family>
									<vCard:Given></vCard:Given>
									<vCard:Other></vCard:Other>
								</vCard:N>
							</rdf:li>

						</rdf:Seq>
					</dc:creator>
					<dc:title>Description of Guyton heart hypertrophy or deterioration 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>heart hypertrophy or deterioration</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="per_mmHg_per_minute">
      <unit units="mmHg" exponent="-1"/>
      <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="mmHg_L_per_minute">
      <unit units="litre"/>
      <unit units="mmHg"/>
      <unit units="minute" 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="#heart_hypertrophy_or_deterioration_CellML1_0_model">
			<rdf:value>
			Effect of heart hypertrophy or heart deterioration on heart pumping capability.
			</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>

<!-- ========================================	HEART HYPERTROPHY OR DETERIORATION TOP-LEVEL COMPONENT		============================================= -->
	<component 	name="heart_hypertrophy_or_deterioration" 
				cmeta:id="heart_hypertrophy_or_deterioration">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#heart_hypertrophy_or_deterioration">
				<rdf:value>
				Encapsulation grouping component containing all the components in the Heart Hypertrophy or Deterioration Model. 
				The inputs and outputs of the  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="QAO"	initial_value="5.00707"	units="L_per_minute" private_interface="out" public_interface="none"/>
		<variable name="PA"		initial_value="103.525"	units="mmHg" private_interface="out" public_interface="none"/>
		<variable name="POT"	initial_value="35.1148"	units="mmHg" private_interface="out" public_interface="none"/>
		<variable name="PPA"	initial_value="15.6376"	units="mmHg" private_interface="out" public_interface="none"/>
	</component>

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

<!-- ========================================	DEGREE OF LEFT VENTRICULAR HYPERTROPHY	============================================= -->
	<component 	name="left_ventricular_hypertrophy" 
				cmeta:id="left_ventricular_hypertrophy">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#left_ventricular_hypertrophy">
				<rdf:value>
				HH1A, HH1, and HH2:  
				Calculation of a quantitative value (output of Block HH2) which is a multiplier 
				that is approached asymptotically in response to three factors that cause left 
				ventricular hypertrophy, (1) the arterial pressure (PA), (2) the cardiac output (QAO), 
				and (3) the basic strength of the heart (HSL).  The degree of hypertrophy in response 
				to the input factors is controlled by the exponent (Z13) in Block HH2.

				HH3, HH4, and HH5:  
				Calculation of the actual degree of hypertrophy of the left ventricle (HPL) that 
				results over a period of time in response to arterial pressure (PA), cardiac output (QAO), 
				and basic left ventricular strength (HSL).  The value HPL approaches the output value 
				from Block HH2 asymptotically with a time constant equal to the input variable at the 
				side of Block HH4.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#HH1_to_HH5">
				<rdf:value>
				HH1A, HH1, and HH2:  
				Calculation of a quantitative value (output of Block HH2) which is a multiplier 
				that is approached asymptotically in response to three factors that cause left 
				ventricular hypertrophy, (1) the arterial pressure (PA), (2) the cardiac output (QAO), 
				and (3) the basic strength of the heart (HSL).  The degree of hypertrophy in response 
				to the input factors is controlled by the exponent (Z13) in Block HH2.

				HH3, HH4, and HH5:  
				Calculation of the actual degree of hypertrophy of the left ventricle (HPL) that 
				results over a period of time in response to arterial pressure (PA), cardiac output (QAO), 
				and basic left ventricular strength (HSL).  The value HPL approaches the output value 
				from Block HH2 asymptotically with a time constant equal to the input variable at the 
				side of Block HH4.
				</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="PA"		units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="time"	units="minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="left_ventricular_hypertrophy_HPL"
					name="HPL" 	initial_value="1.00163"	units="dimensionless" private_interface="none" public_interface="out"/>

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

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="HH1_to_HH5">
				<eq/>
				<apply>
					<diff/>
					<bvar>
						<ci>time</ci>
					</bvar>
					<ci>HPL</ci>
				</apply>
				<apply>
					<divide/>
					<apply>
						<minus/>
						<apply>
							<power/>
							<apply>
								<divide/>
								<apply>
									<times/>
									<ci>PA</ci>
									<ci>QAO</ci>
								</apply>
								<apply>
									<times/>
									<cn cellml:units="mmHg_L_per_minute">500</cn>
									<ci>HSL</ci>
								</apply>
							</apply>
							<ci>Z13</ci>
						</apply>
						<ci>HPL</ci>
					</apply>
					<cn cellml:units="minute">57600</cn>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="left_ventricular_hypertrophy" component_2="heart_hypertrophy_or_deterioration"/>
		<map_variables variable_1="QAO" variable_2="QAO"/>
		<map_variables variable_1="PA" variable_2="PA"/>
		<map_variables variable_1="time" variable_2="time"/>
	</connection>

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

<!-- ========================================	DEGREE OF RIGHT VENTRICULAR HYPERTROPHY	============================================= -->
	<component 	name="right_ventricular_hypertrophy" 
				cmeta:id="right_ventricular_hypertrophy">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#right_ventricular_hypertrophy">
				<rdf:value>
				HH6A, HH6, HH7, HH8, HH9, and HH10:  
				Calculation of the degree of hypertrophy of the right ventricle (HPR) according 
				to the same scheme as noted above for left ventricular hypertrophy, but with different 
				inputs:  pulmonary arterial pressure (PPA), cardiac output (QAO), and basic normal 
				strength of the right heart (HSR).
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#HH6_to_HH10">
				<rdf:value>
				HH6A, HH6, HH7, HH8, HH9, and HH10:  
				Calculation of the degree of hypertrophy of the right ventricle (HPR) according 
				to the same scheme as noted above for left ventricular hypertrophy, but with different 
				inputs:  pulmonary arterial pressure (PPA), cardiac output (QAO), and basic normal 
				strength of the right heart (HSR).
				</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="PPA"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="time"	units="minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="right_ventricular_hypertrophy_HPR"
					name="HPR" 	initial_value="1.00237"	units="dimensionless" private_interface="none" public_interface="out"/>

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

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="HH6_to_HH10">
				<eq/>
				<apply>
					<diff/>
					<bvar>
						<ci>time</ci>
					</bvar>
					<ci>HPR</ci>
				</apply>
				<apply>
					<divide/>
					<apply>
						<minus/>
						<apply>
							<power/>
							<apply>
								<divide/>
								<apply>
									<times/>
									<ci>PPA</ci>
									<ci>QAO</ci>
								</apply>
								<apply>
									<times/>
									<cn cellml:units="mmHg_L_per_minute">75</cn>
									<ci>HSR</ci>
								</apply>
							</apply>
							<ci>Z13</ci>
						</apply>
						<ci>HPR</ci>
					</apply>
					<cn cellml:units="minute">57600</cn>
				</apply>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="right_ventricular_hypertrophy" component_2="heart_hypertrophy_or_deterioration"/>
		<map_variables variable_1="QAO" variable_2="QAO"/>
		<map_variables variable_1="PPA" variable_2="PPA"/>
		<map_variables variable_1="time" variable_2="time"/>
	</connection>

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

<!-- ========================================	HEART DETERIORATION	============================================= -->
	<component 	name="heart_deterioration" 
				cmeta:id="heart_deterioration">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			<rdf:Description rdf:about="#heart_deterioration">
				<rdf:value>
				HH11, HH12, HH13, and HH14:  
				Calculation of a multiplier factor that decreases cardiac pumping effectiveness (HMD) 
				when the cellular P02 of the heart muscle cells (POT) falls too low.  The sensitivity 
				control is DHDTR, and the effect is limited by Block HH14 so that no change in HMD 
				occurs until the cell PO2 falls below the input value to the side of Block HH11.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#HH11_and_HH12">
				<rdf:value>
				HH11, HH12, HH13, and HH14:  
				Calculation of a multiplier factor that decreases cardiac pumping effectiveness (HMD) 
				when the cellular P02 of the heart muscle cells (POT) falls too low.  The sensitivity 
				control is DHDTR, and the effect is limited by Block HH14 so that no change in HMD 
				occurs until the cell PO2 falls below the input value to the side of Block HH11.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#HH13">
				<rdf:value>
				HH11, HH12, HH13, and HH14:  
				Calculation of a multiplier factor that decreases cardiac pumping effectiveness (HMD) 
				when the cellular P02 of the heart muscle cells (POT) falls too low.  The sensitivity 
				control is DHDTR, and the effect is limited by Block HH14 so that no change in HMD 
				occurs until the cell PO2 falls below the input value to the side of Block HH11.
				</rdf:value>
			</rdf:Description>
			<rdf:Description rdf:about="#HH14">
				<rdf:value>
				HH11, HH12, HH13, and HH14:  
				Calculation of a multiplier factor that decreases cardiac pumping effectiveness (HMD) 
				when the cellular P02 of the heart muscle cells (POT) falls too low.  The sensitivity 
				control is DHDTR, and the effect is limited by Block HH14 so that no change in HMD 
				occurs until the cell PO2 falls below the input value to the side of Block HH11.
				</rdf:value>
			</rdf:Description>
		</rdf:RDF>
		
<!-- Inputs from other components -->
		<variable name="POT"	units="mmHg" private_interface="none" public_interface="in"/>
		<variable name="time"	units="minute" private_interface="none" public_interface="in"/>

<!-- Outputs to other components -->
		<variable 	cmeta:id="heart_deterioration_HMD"
					name="HMD" 	units="dimensionless" private_interface="none" public_interface="out"/>

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

<!-- Internal variables -->
		<variable name="HMD1"	initial_value="1.0"	units="dimensionless" private_interface="none" public_interface="none"/>
		<variable name="DHM"	units="per_minute" private_interface="none" public_interface="none"/>

		<math xmlns="http://www.w3.org/1998/Math/MathML">
			<apply id="HH11_and_HH12">
				<eq/>
				<ci>DHM</ci>
				<apply>
					<times/>
					<apply>
						<minus/>
						<ci>POT</ci>
						<cn cellml:units="mmHg">10</cn>
					</apply>
					<ci>DHDTR</ci>
				</apply>
			</apply>
			<apply id="HH13">
				<eq/>
				<apply>
					<diff/>
					<bvar>
						<ci>time</ci>
					</bvar>
					<ci>HMD1</ci>
				</apply>
				<ci>DHM</ci>
			</apply>
			<apply id="HH14">
				<eq/>
				<ci>HMD</ci>
				<piecewise>
					<piece>
						<cn cellml:units="dimensionless">1</cn>
						<apply>
							<gt/>
							<ci>HMD1</ci>
							<cn cellml:units="dimensionless">1</cn>
						</apply>
					</piece>
					<otherwise>
						<ci>HMD1</ci>
					</otherwise>
				</piecewise>
			</apply>
		</math>
	</component>

<!-- INPUT CONNECTIONS -->
	<connection>
		<map_components component_1="heart_deterioration" component_2="heart_hypertrophy_or_deterioration"/>
		<map_variables variable_1="POT" variable_2="POT"/>
		<map_variables variable_1="time" variable_2="time"/>
	</connection>

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

	
<!-- ==========================================================	PARAMETER VALUES	================================================================ -->
	<component 	name="parameter_values"
				cmeta:id="parameter_values">
		<variable name="HSL" 		units="dimensionless" 	initial_value="1"			private_interface="none"	public_interface="out"/>	<!-- basic strength of left ventricle -->
		<variable name="Z13" 		units="dimensionless" 	initial_value="0.625"		private_interface="none"	public_interface="out"/>	<!-- exponent controlling degree of heart hypertrophy [P] -->
		<variable name="HSR" 		units="dimensionless" 	initial_value="1"			private_interface="none"	public_interface="out"/>	<!-- basic strength of right ventricle -->
		<variable name="DHDTR" 		units="per_mmHg_per_minute" 	initial_value="0.05"		private_interface="none"	public_interface="out"/>	<!-- proportionality constant, cardiac deterioration [P] -->
	</component>

<!-- ============================================================		GROUPING		=============================================================== -->
   <group>
		<relationship_ref relationship="containment"/>
		<component_ref component="heart_hypertrophy_or_deterioration">
			<component_ref component="left_ventricular_hypertrophy"/>
			<component_ref component="right_ventricular_hypertrophy"/>
			<component_ref component="heart_deterioration"/>
		</component_ref>
   </group>


   <group>
		<relationship_ref relationship="encapsulation"/>
		<component_ref component="heart_hypertrophy_or_deterioration">
			<component_ref component="parameter_values"/>
			<component_ref component="left_ventricular_hypertrophy"/>
			<component_ref component="right_ventricular_hypertrophy"/>
			<component_ref component="heart_deterioration"/>
		</component_ref>
   </group>

   
<!-- SIMULATION METADATA -->
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <RDF:Description RDF:about="#heart_hypertrophy_or_deterioration_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:#$5SdBX3" NS1:endingValue="500000"/>
  <RDF:Description xmlns:NS1="http://www.cellml.org/metadata/simulation/1.0#" RDF:about="rdf:#$SQv43" NS1:endingValue="500000" NS1:nonstandard-pointDensity="100000"/>
  <RDF:Description xmlns:NS1="http://www.cellml.org/metadata/simulation/1.0#" RDF:about="rdf:#$d2Cb93" NS1:nonstandard-pointDensity="100000"/>
  <RDF:Description RDF:about="#heart_hypertrophy_or_deterioration_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>