Physiolibrary.Thermal.Interfaces

Information

Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).

Package Content

Name Description
Physiolibrary.Thermal.Interfaces.HeatPort HeatPort  
Physiolibrary.Thermal.Interfaces.HeatPort_a HeatPort_a Heat inflow
Physiolibrary.Thermal.Interfaces.HeatPort_b HeatPort_b Heat outflow
Physiolibrary.Thermal.Interfaces.OnePort OnePort Heat OnePort
Physiolibrary.Thermal.Interfaces.ConditionalMassFlow ConditionalMassFlow Input of mass flow vs. parametric mass flow
Physiolibrary.Thermal.Interfaces.ConditionalTemperature ConditionalTemperature Input of temperature vs. parametric temperature

Physiolibrary.Thermal.Interfaces.HeatPort

Modelica definition

connector HeatPort = Modelica.Thermal.HeatTransfer.Interfaces.HeatPort(T(displayUnit="degC"),Q_flow(displayUnit="kcal/min", nominal=4186.8/60));

Physiolibrary.Thermal.Interfaces.HeatPort_a Physiolibrary.Thermal.Interfaces.HeatPort_a

Heat inflow

Physiolibrary.Thermal.Interfaces.HeatPort_a

Information

Extends from HeatPort.

Contents

TypeNameDescription
TemperatureTPort temperature [K]
flow HeatFlowRateQ_flowHeat flow rate (positive if flowing from outside into the component) [W]

Modelica definition

connector HeatPort_a "Heat inflow" extends HeatPort; end HeatPort_a;

Physiolibrary.Thermal.Interfaces.HeatPort_b Physiolibrary.Thermal.Interfaces.HeatPort_b

Heat outflow

Physiolibrary.Thermal.Interfaces.HeatPort_b

Information

Extends from HeatPort.

Contents

TypeNameDescription
TemperatureTPort temperature [K]
flow HeatFlowRateQ_flowHeat flow rate (positive if flowing from outside into the component) [W]

Modelica definition

connector HeatPort_b "Heat outflow" extends HeatPort; end HeatPort_b;

Physiolibrary.Thermal.Interfaces.OnePort Physiolibrary.Thermal.Interfaces.OnePort

Heat OnePort

Physiolibrary.Thermal.Interfaces.OnePort

Connectors

TypeNameDescription
HeatPort_aq_in 
HeatPort_bq_out 

Modelica definition

partial model OnePort "Heat OnePort" HeatPort_a q_in; HeatPort_b q_out; equation q_in.Q_flow + q_out.Q_flow = 0; end OnePort;

Physiolibrary.Thermal.Interfaces.ConditionalMassFlow Physiolibrary.Thermal.Interfaces.ConditionalMassFlow

Input of mass flow vs. parametric mass flow

Physiolibrary.Thermal.Interfaces.ConditionalMassFlow

Parameters

TypeNameDefaultDescription
MassFlowRateMassFlow0Mass flow if useMassFlowInput=false [kg/s]
External inputs/outputs
BooleanuseMassFlowInputfalse=true, if mass flow input is used instead of parameter MassFlow

Connectors

TypeNameDescription
input MassFlowRateInputmassFlow[kg/s]

Modelica definition

partial model ConditionalMassFlow "Input of mass flow vs. parametric mass flow" parameter Boolean useMassFlowInput = false "=true, if mass flow input is used instead of parameter MassFlow"; parameter Types.MassFlowRate MassFlow=0 "Mass flow if useMassFlowInput=false"; Types.RealIO.MassFlowRateInput massFlow(start=MassFlow)=q if useMassFlowInput; Types.MassFlowRate q "Current mass flow"; equation if not useMassFlowInput then q = MassFlow; end if; end ConditionalMassFlow;

Physiolibrary.Thermal.Interfaces.ConditionalTemperature Physiolibrary.Thermal.Interfaces.ConditionalTemperature

Input of temperature vs. parametric temperature

Physiolibrary.Thermal.Interfaces.ConditionalTemperature

Parameters

TypeNameDefaultDescription
TemperatureT0Temperature if useTemperatureInput=false [K]
External inputs/outputs
BooleanuseTemperatureInputfalse=true, if temperature input is used instead of parameter T

Connectors

TypeNameDescription
input TemperatureInputt[K]

Modelica definition

partial model ConditionalTemperature "Input of temperature vs. parametric temperature" parameter Boolean useTemperatureInput = false "=true, if temperature input is used instead of parameter T"; parameter Types.Temperature T=0 "Temperature if useTemperatureInput=false"; Types.RealIO.TemperatureInput t(start=T)=temperature if useTemperatureInput; Types.Temperature temperature "Current temperature"; equation if not useTemperatureInput then temperature = T; end if; end ConditionalTemperature;

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