modelMassOutflowSource

Prescribed flow at port with unlimited mass storage

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

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.

Parameters

TypeNameDefaultDescription
Physiolibrary.Types.MassFlowRateSolutionFlow (from ConditionalMassFlow)0Mass flow of solution if useSolutionFlowInput=false
Modelica.Units.SI.SpecificEnthalpyhMedium.specificEnthalpy(Medium.setState_pTX(pressure_start, temperature_start, x_mass_start))Fluid enthalphy
Conditional inputs
BooleanuseSolutionFlowInput (from ConditionalMassFlow)false=true, if solution flow input is used instead of parameter SolutionFlow
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_defaultExtra substance amounts per kilogram of solution
Initialization
Modelica.Units.SI.Temperaturetemperature_start (from CompositionSetup)system.T_ambientInitial temperature
Modelica.Units.SI.Pressurepressure_start (from CompositionSetup)system.p_ambientInitial pressure

Connectors

TypeNameDefaultDescription
Physiolibrary.Types.RealIO.MassFlowRateInputsolutionFlow (from ConditionalMassFlow)q
Physiolibrary.Fluid.Interfaces.FluidPort_aq_in

Components

TypeNameDefaultDescription
Physiolibrary.Types.MassFlowRateq (from ConditionalMassFlow)Current solution flow
Modelica.Fluid.Systemsystem (from CompositionSetup)System wide properties

Revisions

Author: Marek Matejak
By: marek@matfyz.cz
Date of: january 2009-2018