@@ -1644,8 +1644,8 @@ The sensor is ideal, i.e., it does not influence the fluid.
16441644 Placement(transformation(extent = {{100, -10}, {120, 10}})));
16451645
16461646 replaceable function GetFraction =
1647- Physiolibrary.Media.Blood.hematocrit
1648- constrainedby Medium .GetFraction
1647+ Physiolibrary.Media.Blood.GetFraction
1648+ constrainedby Physiolibrary.Media.Interfaces.PartialMedium .GetFraction
16491649 "Get fraction from medium state"
16501650 annotation (choicesAllMatching=true);
16511651
@@ -3114,7 +3114,7 @@ The sensor is ideal, i.e., it does not influence the fluid.
31143114 package BloodPlasma =
31153115 BloodPlasma, redeclare
31163116 package Dialysate = Dialysate)
3117- annotation (
3117+ annotation (
31183118 Placement(transformation(extent = {{16, -18}, {36, 2}})));
31193119 inner Modelica.Fluid.System system(T_ambient = 310.15 ) annotation (
31203120 Placement(transformation(extent = {{-92, -6}, {-72, 14}})));
@@ -3556,7 +3556,7 @@ The sensor is ideal, i.e., it does not influence the fluid.
35563556 Physiolibrary.Types.Constants.HydraulicConductanceConst hydraulicConductance1(k = 1.250102626409427e-07 * (5 / 4 )) annotation (
35573557 Placement(transformation(extent = {{-4, -4}, {4, 4}}, rotation = 270, origin = {-80, -132})));
35583558 Physiolibrary.Fluid.Components.Conductor pulmonaryShunt(redeclare package Medium = Blood, Conductance(displayUnit = "l/(cmH2O.s)" ) = cShunt) annotation (
3559- Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 0, origin = {-4, -104 })));
3559+ Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 0, origin= {-4,-102 })));
35603560 Organs.Lungs.Components.RespiratoryUnit respiratoryUnit
35613561 [NA](
35623562 redeclare package Blood = Blood,
@@ -3640,9 +3640,9 @@ The sensor is ideal, i.e., it does not influence the fluid.
36403640 connect (pressureMeasureVeins.pressure, multiProduct1.u[2 ]) annotation (
36413641 Line(points={{-86,-208},{-94,-208},{-94,-148.95},{-76,-148.95}}, color = {0, 0, 127}));
36423642 connect (pulmonaryShunt.q_in, pulmonaryArteries.q_in[3 ]) annotation (
3643- Line(points={{-14,-104 },{-50.1,-104 },{-50.1,-101.675}}, color = {127, 0, 0}, thickness = 0.5));
3643+ Line(points={{-14,-102 },{-50.1,-102 },{-50.1,-101.675}}, color = {127, 0, 0}, thickness = 0.5));
36443644 connect (pulmonaryShunt.q_out, pulmonaryVeins.q_in[3 ]) annotation (
3645- Line(points={{6,-104 },{41.9,-104 },{41.9,-101.675}}, color = {127, 0, 0}, thickness = 0.5));
3645+ Line(points={{6,-102 },{41.9,-102 },{41.9,-101.675}}, color = {127, 0, 0}, thickness = 0.5));
36463646 for i in 1 :NA loop
36473647 connect (respiratoryUnit[i].blood_in, pulmonaryArteries.q_in[4 ]) annotation (
36483648 Line(
@@ -3969,7 +3969,7 @@ The sensor is ideal, i.e., it does not influence the fluid.
39693969 redeclare package Medium = Air,
39703970 EnthalpyNotUsed= false ,
39713971 Resistance= TotalResistance)
3972- annotation (Placement(transformation(extent={{-308,0 },{-288,20 }})));
3972+ annotation (Placement(transformation(extent={{-308,-2 },{-288,18 }})));
39733973 Physiolibrary.Fluid.Sensors.FlowMeasure flowMeasure(redeclare package Medium = Air) annotation (
39743974 Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-318, 66})));
39753975 Components.ElasticVessel chest(
@@ -4028,11 +4028,11 @@ The sensor is ideal, i.e., it does not influence the fluid.
40284028 annotation (Line(points={{-14,82},{-8,82},{-8,62},{-63,62},{-63,53}},
40294029 color={0,0,127}));
40304030 connect (flowMeasure.q_out, lungsPathways.q_in) annotation (Line(
4031- points={{-318,56},{-318,10 },{-308,10 }},
4031+ points={{-318,56},{-318,8 },{-308,8 }},
40324032 color={127,0,0},
40334033 thickness=0.5));
40344034 connect (lungsPathways.q_out, lungs.q_in[1 ]) annotation (Line(
4035- points={{-288,10 },{-156,10 },{-156,-1.025},{-135.9,-1.025}},
4035+ points={{-288,8 },{-156,8 },{-156,-1.025},{-135.9,-1.025}},
40364036 color={127,0,0},
40374037 thickness=0.5));
40384038 connect (alveolarPressure.port, lungs.q_in[2 ]) annotation (Line(
0 commit comments