Physiolibrary.Chemical.Sensors

Information

Extends from Modelica.Icons.SensorsPackage (Icon for packages containing sensors).

Package Content

Name Description
Physiolibrary.Chemical.Sensors.MolarFlowMeasure MolarFlowMeasure Measure of molar flow
Physiolibrary.Chemical.Sensors.ConcentrationMeasure ConcentrationMeasure Measure of molar concentration
Physiolibrary.Chemical.Sensors.IncrementalFlowConcentrationMeasure IncrementalFlowConcentrationMeasure Incremental flow concentration meassure in circulation after absorption/secretion source (i.e. portal vein concentration)

Physiolibrary.Chemical.Sensors.MolarFlowMeasure Physiolibrary.Chemical.Sensors.MolarFlowMeasure

Measure of molar flow

Physiolibrary.Chemical.Sensors.MolarFlowMeasure

Information

Extends from Interfaces.OnePort (Partial transfer of solute between two ports without its accumulation), Modelica.Icons.RotationalSensor (Icon representing a round measurement device).

Connectors

TypeNameDescription
ChemicalPort_bq_out 
ChemicalPort_aq_in 
output MolarFlowRateOutputmolarFlowRate[mol/s]

Modelica definition

model MolarFlowMeasure "Measure of molar flow" extends Interfaces.OnePort; //extends Icons.MolarFlowMeasure; extends Modelica.Icons.RotationalSensor; Types.RealIO.MolarFlowRateOutput molarFlowRate; equation q_in.conc = q_out.conc; molarFlowRate = q_in.q; end MolarFlowMeasure;

Physiolibrary.Chemical.Sensors.ConcentrationMeasure Physiolibrary.Chemical.Sensors.ConcentrationMeasure

Measure of molar concentration

Physiolibrary.Chemical.Sensors.ConcentrationMeasure

Information

Extends from Modelica.Icons.RotationalSensor (Icon representing a round measurement device).

Connectors

TypeNameDescription
ChemicalPort_aq_inFor measure only
output ConcentrationOutputconcentrationConcentration [mol/m3]

Modelica definition

model ConcentrationMeasure "Measure of molar concentration" extends Modelica.Icons.RotationalSensor; Interfaces.ChemicalPort_a q_in "For measure only"; Types.RealIO.ConcentrationOutput concentration "Concentration"; equation concentration = q_in.conc; q_in.q = 0; end ConcentrationMeasure;

Physiolibrary.Chemical.Sensors.IncrementalFlowConcentrationMeasure Physiolibrary.Chemical.Sensors.IncrementalFlowConcentrationMeasure

Incremental flow concentration meassure in circulation after absorption/secretion source (i.e. portal vein concentration)

Physiolibrary.Chemical.Sensors.IncrementalFlowConcentrationMeasure

Information

Extends from Modelica.Icons.RotationalSensor (Icon representing a round measurement device), Hydraulic.Interfaces.ConditionalSolutionFlow (Input of solution volumetric flow vs. parametric solution volumetric flow).

Parameters

TypeNameDefaultDescription
VolumeFlowRateSolutionFlow0Volumetric flow of solution if useSolutionFlowInput=false [m3/s]
External inputs/outputs
BooleanuseSolutionFlowInputfalse=true, if solution flow input is used instead of parameter SolutionFlow

Connectors

TypeNameDescription
input VolumeFlowRateInputsolutionFlow[m3/s]
output ConcentrationOutputconcentrationConcentration after absorption source [mol/m3]
input MolarFlowRateInputaddition[mol/s]
ChemicalPort_aq_in 

Modelica definition

model IncrementalFlowConcentrationMeasure "Incremental flow concentration meassure in circulation after absorption/secretion source (i.e. portal vein concentration)" extends Modelica.Icons.RotationalSensor; extends Hydraulic.Interfaces.ConditionalSolutionFlow; Types.RealIO.ConcentrationOutput concentration "Concentration after absorption source"; Types.RealIO.MolarFlowRateInput addition; Interfaces.ChemicalPort_a q_in; equation concentration = if (q>0) then q_in.conc + addition/q else q_in.conc; q_in.q=0; end IncrementalFlowConcentrationMeasure;

Automatically generated Tue Sep 15 22:56:34 2015.