@@ -1647,8 +1647,8 @@ The sensor is ideal, i.e., it does not influence the fluid.
16471647 Placement(transformation(extent = {{100, -10}, {120, 10}})));
16481648
16491649 replaceable function GetFraction =
1650- Physiolibrary.Media.Blood.hematocrit
1651- constrainedby Medium .GetFraction
1650+ Physiolibrary.Media.Blood.GetFraction
1651+ constrainedby Physiolibrary.Media.Interfaces.PartialMedium .GetFraction
16521652 "Get fraction from medium state"
16531653 annotation (choicesAllMatching=true);
16541654
@@ -3562,7 +3562,7 @@ The sensor is ideal, i.e., it does not influence the fluid.
35623562 Physiolibrary.Types.Constants.HydraulicConductanceConst hydraulicConductance1(k = 1.250102626409427e-07 * (5 / 4 )) annotation (
35633563 Placement(transformation(extent = {{-4, -4}, {4, 4}}, rotation = 270, origin = {-80, -132})));
35643564 Physiolibrary.Fluid.Components.Conductor pulmonaryShunt(redeclare package Medium = Blood, Conductance(displayUnit = "l/(cmH2O.s)" ) = cShunt) annotation (
3565- Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 0, origin = {-4, -104 })));
3565+ Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 0, origin= {-4,-102 })));
35663566 Organs.Lungs.Components.RespiratoryUnit respiratoryUnit
35673567 [NA](
35683568 redeclare package Blood = Blood,
@@ -3646,9 +3646,9 @@ The sensor is ideal, i.e., it does not influence the fluid.
36463646 connect (pressureMeasureVeins.pressure, multiProduct1.u[2 ]) annotation (
36473647 Line(points={{-86,-208},{-94,-208},{-94,-148.95},{-76,-148.95}}, color = {0, 0, 127}));
36483648 connect (pulmonaryShunt.q_in, pulmonaryArteries.q_in[3 ]) annotation (
3649- Line(points={{-14,-104 },{-50.1,-104 },{-50.1,-101.675}}, color = {127, 0, 0}, thickness = 0.5));
3649+ Line(points={{-14,-102 },{-50.1,-102 },{-50.1,-101.675}}, color = {127, 0, 0}, thickness = 0.5));
36503650 connect (pulmonaryShunt.q_out, pulmonaryVeins.q_in[3 ]) annotation (
3651- Line(points={{6,-104 },{41.9,-104 },{41.9,-101.675}}, color = {127, 0, 0}, thickness = 0.5));
3651+ Line(points={{6,-102 },{41.9,-102 },{41.9,-101.675}}, color = {127, 0, 0}, thickness = 0.5));
36523652 for i in 1 :NA loop
36533653 connect (respiratoryUnit[i].blood_in, pulmonaryArteries.q_in[4 ]) annotation (
36543654 Line(
@@ -3983,7 +3983,7 @@ The sensor is ideal, i.e., it does not influence the fluid.
39833983 redeclare package Medium = Air,
39843984 EnthalpyNotUsed= false ,
39853985 Resistance= TotalResistance)
3986- annotation (Placement(transformation(extent={{-308,0 },{-288,20 }})));
3986+ annotation (Placement(transformation(extent={{-308,-2 },{-288,18 }})));
39873987 Physiolibrary.Fluid.Sensors.FlowMeasure flowMeasure(redeclare package Medium = Air) annotation (
39883988 Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-318, 66})));
39893989 Components.ElasticVessel chest(
@@ -4040,11 +4040,11 @@ The sensor is ideal, i.e., it does not influence the fluid.
40404040 annotation (Line(points={{-14,82},{-8,82},{-8,62},{-63,62},{-63,53}},
40414041 color={0,0,127}));
40424042 connect (flowMeasure.q_out, lungsPathways.q_in) annotation (Line(
4043- points={{-318,56},{-318,10 },{-308,10 }},
4043+ points={{-318,56},{-318,8 },{-308,8 }},
40444044 color={127,0,0},
40454045 thickness=0.5));
40464046 connect (lungsPathways.q_out, lungs.q_in[1 ]) annotation (Line(
4047- points={{-288,10 },{-156,10 },{-156,-1.025},{-135.9,-1.025}},
4047+ points={{-288,8 },{-156,8 },{-156,-1.025},{-135.9,-1.025}},
40484048 color={127,0,0},
40494049 thickness=0.5));
40504050 connect (alveolarPressure.port, lungs.q_in[2 ]) annotation (Line(
0 commit comments