modelPartialCylinderHeatTransfer
Extends from Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.PartialVesselHeatTransfer (Base class for vessel heat transfer models).
Information
Heat Transfer Models
Base class for heat transfer correlations. The information available inside the subclasses are:
Integer n: The number of entries in the follwoing arrays. Gets defined as 1 in Modelica.Fluid.Vessels.BaseClasses.PartialLumpedVessel.
PartialMedium Medium: The fluid model used to obtain properties. Redeclared in Modelica.Fluid.Vessels.BaseClasses.PartialLumpedVessel.
ThermodynamicState states[]: States of working fluid in the cylinder. Also defined in Modelica.Fluid.Vessels.BaseClasses.PartialLumpedVessel.
Area surfaceAreas[]: Array with areas used for heat exchange. Note that there is probably only one element in this array. The actual area gets calculated from cylinder geometry and does NOT include the piston. Hence it expresses the area of the wall-to-fluid interface. Value from Modelica.Fluid.Machines.SweptVolume.
Angle crankshaftAngle: Angle information from the crankshaft. Can be supplied via an input connector, set to 0 otherwise. Note that all heat transfer models assume 0 to be the top dead centre (TDC).
Area pistonCrossArea: The surface area of the piston. Can be used to obtain the volume from surfaceAreas variable.
Length strokeLength: The stroke of the machine. Can be used to obtain mean piston speed and alike.
Integer initialize: Give 0 for no initialization, 1 for an initialization with a very high heat transfer coefficient, 2 for a very low heat transfer coefficient.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | initialize | 2 | 0: None, 1: High HTC, 2: Low HTC |
| Internal Interface | |||
| Integer | n (from PartialHeatTransfer) | 1 | Number of heat transfer segments |
| Boolean | use_k (from PartialHeatTransfer) | false | = true to use k value for thermal isolation |
| Ambient | |||
| SI.CoefficientOfHeatTransfer | k (from PartialHeatTransfer) | 0 | Heat transfer coefficient to ambient |
| SI.Temperature | T_ambient (from PartialHeatTransfer) | system.T_ambient | Ambient temperature |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.HeatPorts_a | heatPorts (from PartialHeatTransfer) | Heat port to component boundary |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | states (from PartialHeatTransfer) | Thermodynamic states of flow segments | |
| SI.Area | surfaceAreas (from PartialHeatTransfer) | Heat transfer areas | |
| SI.HeatFlowRate | Q_flows (from PartialHeatTransfer) | Heat flow rates | |
| Modelica.Fluid.System | system (from PartialHeatTransfer) | System wide properties | |
| Medium.Temperature | Ts (from PartialHeatTransfer) | Medium.temperature(states) | Temperatures defined by fluid states |
| Modelica.SIunits.Angle | crankshaftAngle | ||
| Modelica.SIunits.Area | pistonCrossArea | ||
| Modelica.SIunits.Length | strokeLength | ||
| Modelica.SIunits.CoefficientOfHeatTransfer | h | ||
| Modelica.SIunits.HeatFlux | q_w | Heat flux from wall | |
| Modelica.SIunits.Velocity | c_c | Current piston speed | |
| Modelica.SIunits.Velocity | c_m | Mean piston speed | |
| Modelica.SIunits.Angle | theta | Crankshaft angle | |
| Modelica.SIunits.AngularVelocity | omega_c | Current angular crank velocity | |
| Modelica.SIunits.AngularVelocity | omega_m | Mean angular crank velocity | |
| Modelica.SIunits.Length | bore | ||
| Modelica.SIunits.Length | stroke | ||
| Modelica.SIunits.Length | position | Clearance from cyl. head | |
| Modelica.SIunits.Length | position_m | Mean clearance from cyl. head | |
| Real | HTC_gain | Amplifier for h[i] |