Physiolibrary.Hydraulic.Sources

Information

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

Package Content

Name Description
Physiolibrary.Hydraulic.Sources.UnlimitedPump UnlimitedPump Prescribed flow at port
Physiolibrary.Hydraulic.Sources.UnlimitedVolume UnlimitedVolume Prescribed pressure at port
Physiolibrary.Hydraulic.Sources.UnlimitedOutflowPump UnlimitedOutflowPump Prescribed flow at port

Physiolibrary.Hydraulic.Sources.UnlimitedPump Physiolibrary.Hydraulic.Sources.UnlimitedPump

Prescribed flow at port

Physiolibrary.Hydraulic.Sources.UnlimitedPump

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 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]
HydraulicPort_bq_out 

Modelica definition

model UnlimitedPump "Prescribed flow at port" extends Interfaces.ConditionalSolutionFlow; Interfaces.HydraulicPort_b q_out; equation q_out.q = - q; end UnlimitedPump;

Physiolibrary.Hydraulic.Sources.UnlimitedVolume Physiolibrary.Hydraulic.Sources.UnlimitedVolume

Prescribed pressure at port

Physiolibrary.Hydraulic.Sources.UnlimitedVolume

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"!

Parameters

TypeNameDefaultDescription
PressureP0Hydraulic pressure if usePressureInput=false [Pa]
External inputs/outputs
BooleanusePressureInputfalse=true, if pressure input is used
Equilibrium
Simulation
BooleanisIsolatedInSteadyStatetrue=true, if there is no flow at port in steady state
SimulationTypeSimulationTypes.SimulationType.NormalI...If in equilibrium, then zero-flow equation is added.

Connectors

TypeNameDescription
input PressureInputpressurePressure [Pa]
HydraulicPort_ayPressureFlow output connectors

Modelica definition

model UnlimitedVolume "Prescribed pressure at port" parameter Boolean usePressureInput = false "=true, if pressure input is used"; parameter Types.Pressure P=0 "Hydraulic pressure if usePressureInput=false"; Types.RealIO.PressureInput pressure(start=P)=p if usePressureInput "Pressure"; Interfaces.HydraulicPort_a y "PressureFlow output connectors"; parameter Boolean isIsolatedInSteadyState = true "=true, if there is no flow at port in steady state"; parameter Types.SimulationType Simulation=Types.SimulationType.NormalInit "If in equilibrium, then zero-flow equation is added."; protected Types.Pressure p; initial equation if isIsolatedInSteadyState and (Simulation==Types.SimulationType.InitSteadyState) then y.q = 0; end if; equation if not usePressureInput then p=P; end if; y.pressure = p; if isIsolatedInSteadyState and (Simulation==Types.SimulationType.SteadyState) then y.q = 0; end if; end UnlimitedVolume;

Physiolibrary.Hydraulic.Sources.UnlimitedOutflowPump Physiolibrary.Hydraulic.Sources.UnlimitedOutflowPump

Prescribed flow at port

Physiolibrary.Hydraulic.Sources.UnlimitedOutflowPump

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 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]
HydraulicPort_aq_in 

Modelica definition

model UnlimitedOutflowPump "Prescribed flow at port" extends Interfaces.ConditionalSolutionFlow; Interfaces.HydraulicPort_a q_in; equation q_in.q = q; end UnlimitedOutflowPump;

Automatically generated Tue Sep 15 22:53:45 2015.