modelElasticVessel
Elastic compartment as chemical solution envelop
Extends from Physiolibrary.Icons.ElasticBalloon, Physiolibrary.Fluid.Interfaces.Accumulation.
Information
mass = ∑ massOfSubstances
constant compliance

sigmoid compliance

Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | onElectricGround (from Accumulation) | false | =true, if electric potencial is zero |
| Types.HydraulicCompliance | Compliance | 1e+3 | Compliance e.g. TidalVolume/TidalPressureGradient if useComplianceInput=false |
| Types.Volume | ZeroPressureVolume | 1e-11 | Functional Residual Capacity. Maximal fluid volume, that does not generate pressure if useV0Input=false |
| Types.Pressure | ExternalPressure | if isExternalPressureAbsolute then system.p_ambient else 0 | External pressure if useExternalPressureInput=false. |
| Initialization of medium composition | |||
| Modelica.Units.SI.MassFraction[:] | massFractions_start (from CompositionSetup) | Medium.reference_X | * 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. |
| Real[Medium.nC] | extraConcentration_start (from CompositionSetup) | Medium.C_default | Extra substance amounts per kilogram of solution |
| Initialization | |||
| Modelica.Units.SI.Temperature | temperature_start (from CompositionSetup) | system.T_ambient | Initial temperature |
| Modelica.Units.SI.Pressure | pressure_start (from CompositionSetup) | system.p_ambient | Initial pressure |
| Boolean | use_mass_start (from Accumulation) | false | Use mass_start, otherwise volume_start |
| Physiolibrary.Types.Volume | volume_start (from Accumulation) | 0.001 | Total volume of solution start value |
| Physiolibrary.Types.Mass | mass_start (from Accumulation) | 1 | Total mass of solution start value |
| Ports | |||
| Integer | nPorts (from Accumulation) | 0 | Number of hydraulic ports |
| Conditional inputs | |||
| Boolean | useSubstances (from Accumulation) | false | =true, if substance ports are used |
| Boolean | useThermalPort (from Accumulation) | false | Is thermal port pressent? |
| Boolean | useV0Input | false | =true, if zero-pressure-fluid_volume input is used |
| Boolean | useComplianceInput | false | =true, if compliance input is used |
| Boolean | useExternalPressureInput | false | =true, if external pressure input is used |
| Boolean | isExternalPressureAbsolute | false | External pressure as absolute pressure? Relative to ambient otherwise. |
| Boolean | useInternalSpaceInput | false | =true, if internal space input is used |
| Advanced | |||
| String | stateName | getInstanceName() | State name in input/output files |
| Advanced › Pressure-Volume relationship | |||
| Types.Volume | ResidualVolume | 1e-9 | Residual volume. Or maximal fluid volume, which generate negative collapsing pressure in linear model |
| Boolean | useSigmoidCompliance | false | Sigmoid compliance e.g. lungs |
| Types.Volume | VitalCapacity | 0.00493 | Relative volume capacity if useSigmoidCompliance |
| Types.Volume | BaseTidalVolume | 0.000543 | Base value of tidal volume |
| Types.Volume | InternalSpace | 0 | Internal space if there is no pressure gradient |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPorts_a[nPorts] | q_in (from Accumulation) | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from Accumulation) | ||
| Types.RealIO.VolumeInput | zeroPressureVolume | zpv | |
| Types.RealIO.HydraulicComplianceInput | compliance | c | |
| Types.RealIO.PressureInput | externalPressure | ep | |
| Types.RealIO.VolumeOutput | fluidVolume | volume | |
| Types.RealIO.VolumeInput | internalSpace | is | additional internal volume (e.g. another inserted compartment inside) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system (from CompositionSetup) | System wide properties | |
| Medium.SubstancesPort | substances (from Accumulation) | ||
| Medium.ChemicalSolution | chemicalSolution (from Accumulation) | ||
| Physiolibrary.Types.HeatFlowRate | heatFromEnvironment (from Accumulation) | ||
| Physiolibrary.Types.Enthalpy | enthalpy (from Accumulation) | ||
| Physiolibrary.Types.Mass | mass (from Accumulation) | ||
| Physiolibrary.Types.MassFraction[Medium.nXi] | massFractions (from Accumulation) | ||
| Physiolibrary.Types.MassFraction[nPorts,Medium.nXi] | xx_mass (from Accumulation) | Substance mass fraction per fluid port | |
| Real[nPorts,Medium.nC] | xC_mass (from Accumulation) | Extra substance in 1 kg of solution per fluid port | |
| Real[Medium.nC] | extraSubstanceAmounts (from Accumulation) | Current amount of extra substances | |
| Real[Medium.nC] | extraSubstanceConcentrations (from Accumulation) | Current anount per kg of extra substances | |
| Physiolibrary.Types.Volume | volume (from Accumulation) | ||
| Physiolibrary.Types.Density | density (from Accumulation) | ||
| Types.Volume | excessVolume | Additional cavity volume (=fluid volume + internal space volume), that generate pressure | |
| Types.Pressure | relative_pressure |
Revisions
2020 by Marek Matejak, http://www.physiolib.com