Physiolibrary.Fluid.Sources

Information

Extends from Modelica.Icons.SourcesPackage (Icon for packages containing sources).

Package Content

Name Description
Physiolibrary.Fluid.Sources.MassInflowSource MassInflowSource Prescribed mass flow rate at port with unlimited mass
Physiolibrary.Fluid.Sources.VolumeInflowSource VolumeInflowSource Prescribed volume flow rate at port with unlimited mass
Physiolibrary.Fluid.Sources.PressureSource PressureSource Prescribed pressure at port with unlimited mass
Physiolibrary.Fluid.Sources.MassOutflowSource MassOutflowSource Prescribed flow at port with unlimited mass storage
Physiolibrary.Fluid.Sources.VolumeOutflowSource VolumeOutflowSource Prescribed flow at port with unlimited mass storage

Physiolibrary.Fluid.Sources.MassInflowSource Physiolibrary.Fluid.Sources.MassInflowSource

Prescribed mass flow rate at port with unlimited mass

Information

This element needs to be connected only to next hydraulic elements, which contain calculation of hydraulic pressure in connector. It is because equation contains only hydraulic volume flow variable, which is set to value of input signal variable.

Extends from Physiolibrary.Fluid.Interfaces.ConditionalMassFlow (Input of solution mass flow vs. parametric solution mass flow), Physiolibrary.Fluid.Interfaces.CompositionSetup (Initial substances composition setup).

Parameters

NameDescription
SolutionFlowMass flow of solution if useSolutionFlowInput=false [kg/s]
replaceable package MediumMedium model
hFluid enthalphy [J/kg]
Conditional inputs
useSolutionFlowInput=true, if solution flow input is used instead of parameter SolutionFlow
Initialization of medium composition
massFractions_start[:]* Masses of all base molecules. If size is nS-1 then last value is 1-sum(others). If size is nS then all values are scaled to sum==1. [1]
extraConcentration_start[Medium.nC]Extra substance amounts per kilogram of solution
Initialization
temperature_startInitial temperature [K]
pressure_startInitial pressure [Pa]

Connectors

NameDescription
solutionFlow[kg/s]
q_out 

Physiolibrary.Fluid.Sources.VolumeInflowSource Physiolibrary.Fluid.Sources.VolumeInflowSource

Prescribed volume flow rate at port with unlimited mass

Information

This element needs to be connected only to next hydraulic elements, which contain calculation of hydraulic pressure in connector. It is because equation contains only hydraulic volume flow variable, which is set to value of input signal variable.

Extends from Physiolibrary.Fluid.Interfaces.ConditionalVolumeFlow (Input of solution volume flow vs. parametric solution volume flow), Physiolibrary.Fluid.Interfaces.CompositionSetup (Initial substances composition setup).

Parameters

NameDescription
SolutionFlowMass flow of solution if useSolutionFlowInput=false [m3/s]
replaceable package MediumMedium model
hFluid enthalphy [J/kg]
Conditional inputs
useSolutionFlowInput=true, if solution flow input is used instead of parameter SolutionFlow
Initialization of medium composition
massFractions_start[:]* Masses of all base molecules. If size is nS-1 then last value is 1-sum(others). If size is nS then all values are scaled to sum==1. [1]
extraConcentration_start[Medium.nC]Extra substance amounts per kilogram of solution
Initialization
temperature_startInitial temperature [K]
pressure_startInitial pressure [Pa]

Connectors

NameDescription
solutionFlow[m3/s]
q_out 

Physiolibrary.Fluid.Sources.PressureSource Physiolibrary.Fluid.Sources.PressureSource

Prescribed pressure at port with unlimited mass

Information

Model has a vector of continuous Real input signals as pressures for vector of pressure-flow connectors.

Usage in tests: Set defaul volume>0 and try to set STEADY in instances to "false"!

Extends from Physiolibrary.Fluid.Interfaces.CompositionSetup (Initial substances composition setup).

Parameters

NameDescription
replaceable package MediumMedium model
Initialization
pressure_startInitial pressure [Pa]
temperature_startInitial temperature [K]
Initialization of medium composition
massFractions_start[:]* Masses of all base molecules. If size is nS-1 then last value is 1-sum(others). If size is nS then all values are scaled to sum==1. [1]
extraConcentration_start[Medium.nC]Extra substance amounts per kilogram of solution
Conditional inputs
usePressureInput=true, if pressure input is used

Connectors

NameDescription
pressurePressure [Pa]
yPressureFlow output connectors

Physiolibrary.Fluid.Sources.MassOutflowSource Physiolibrary.Fluid.Sources.MassOutflowSource

Prescribed flow at port with unlimited mass storage

Information

This element needs to be connected only to next hydraulic elements, which contain calculation of hydraulic pressure in connector. It is because equation contains only hydraulic volume flow variable, which is set to value of input signal variable.

Extends from Physiolibrary.Fluid.Interfaces.ConditionalMassFlow (Input of solution mass flow vs. parametric solution mass flow), Physiolibrary.Fluid.Interfaces.CompositionSetup (Initial substances composition setup).

Parameters

NameDescription
SolutionFlowMass flow of solution if useSolutionFlowInput=false [kg/s]
replaceable package MediumMedium model
hFluid enthalphy [J/kg]
Conditional inputs
useSolutionFlowInput=true, if solution flow input is used instead of parameter SolutionFlow
Initialization of medium composition
massFractions_start[:]* Masses of all base molecules. If size is nS-1 then last value is 1-sum(others). If size is nS then all values are scaled to sum==1. [1]
extraConcentration_start[Medium.nC]Extra substance amounts per kilogram of solution
Initialization
temperature_startInitial temperature [K]
pressure_startInitial pressure [Pa]

Connectors

NameDescription
solutionFlow[kg/s]
q_in 

Physiolibrary.Fluid.Sources.VolumeOutflowSource Physiolibrary.Fluid.Sources.VolumeOutflowSource

Prescribed flow at port with unlimited mass storage

Information

This element needs to be connected only to next hydraulic elements, which contain calculation of hydraulic pressure in connector. It is because equation contains only hydraulic volume flow variable, which is set to value of input signal variable.

Extends from Physiolibrary.Fluid.Interfaces.ConditionalVolumeFlow (Input of solution volume flow vs. parametric solution volume flow), Physiolibrary.Fluid.Interfaces.CompositionSetup (Initial substances composition setup).

Parameters

NameDescription
SolutionFlowMass flow of solution if useSolutionFlowInput=false [m3/s]
replaceable package MediumMedium model
hFluid enthalphy [J/kg]
Conditional inputs
useSolutionFlowInput=true, if solution flow input is used instead of parameter SolutionFlow
Initialization of medium composition
massFractions_start[:]* Masses of all base molecules. If size is nS-1 then last value is 1-sum(others). If size is nS then all values are scaled to sum==1. [1]
extraConcentration_start[Medium.nC]Extra substance amounts per kilogram of solution
Initialization
temperature_startInitial temperature [K]
pressure_startInitial pressure [Pa]

Connectors

NameDescription
solutionFlow[m3/s]
q_in 
Automatically generated Wed Oct 11 14:54:21 2023.