Schematic of the bi-ventricular model coupled with a circulatory system. MV, mitral valve; AV, aortic valve; RA, right atrium; TV, tricuspid valve; PV, pulmonary valve; LA, left atrium; RA, right atrium; Ao, aorta; Sys, systemic circulation; Pul, pulmonary circulation; and PA, pulmonary artery. Grounded spring with a stiffness (k) is tuned to provide the appropriate pressure–volume response (i.e. compliance) for that cavity. CV is viscous resistance coefficient to describe resistance between cavities. One-direction flow through valves is controlled by setting fluid exchanging properties between the cavities.