This package contains test examples:
Extends from Modelica.Icons.ExamplesPackage
(Icon for packages containing runnable examples).
Name | Description |
---|---|
IndirectCooling | Indirect cooling circuit |
OneMass | Cooling of one hot mass |
ParallelCooling | Cooling circuit with parallel branches |
ParallelPumpDropOut | Cooling circuit with parallel branches and drop out of pump |
PumpAndValve | Cooling circuit with pump and valve |
PumpDropOut | Cooling circuit with drop out of pump |
SimpleCooling | Simple cooling circuit |
TestCylinder | Two cylinder system |
TestOpenTank | Test the OpenTank model |
TwoMass | Cooling of two hot masses |
TwoTanks | Two connected open tanks |
Utilities … | Utility models for examples |
WaterPump | Water pumping station |
1st test example: SimpleCooling
A prescribed heat source dissipates its heat through a thermal conductor to a coolant flow. The coolant flow is taken from an ambient and driven by a pump with prescribed mass flow.output | explanation | formula | actual steady-state value |
dTSource | Source over Ambient | dtCoolant + dtToPipe | 20 K |
dTtoPipe | Source over Coolant | Losses / ThermalConductor.G | 10 K |
dTCoolant | Coolant's temperature increase | Losses * cp * massFlow | 10 K |
Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Cooling medium |
Temperature | TAmb | 293.15 | Ambient temperature |
2nd test example: ParallelCooling
Two prescribed heat sources dissipate their heat through thermal conductors to coolant flows. The coolant flow is taken from an ambient and driven by a pump with prescribed mass flow, then split into two coolant flows connected to the two heat sources, and afterwards merged. Splitting of coolant flows is determined by pressure drop characteristic of the two pipes.output | explanation | formula | actual steady-state value |
dTSource1 | Source1 over Ambient | dTCoolant1 + dTtoPipe1 | 15 K |
dTtoPipe1 | Source1 over Coolant1 | Losses1 / ThermalConductor1.G | 5 K |
dTCoolant1 | Coolant's temperature increase | Losses * cp * totalMassFlow/2 | 10 K |
dTSource2 | Source2 over Ambient | dTCoolant2 + dTtoPipe2 | 30 K |
dTtoPipe2 | Source2 over Coolant2 | Losses2 / ThermalConductor2.G | 10 K |
dTCoolant2 | Coolant's temperature increase | Losses * cp * totalMassFlow/2 | 20 K |
dTmixedCoolant | mixed Coolant's temperature increase | (dTCoolant1+dTCoolant2)/2 | 15 K |
Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Cooling medium |
Temperature | TAmb | 293.15 | Ambient temperature |
3rd test example: IndirectCooling
A prescribed heat sources dissipates its heat through a thermal conductor to the inner coolant cycle. It is necessary to define the pressure level of the inner coolant cycle. The inner coolant cycle is coupled to the outer coolant flow through a thermal conductor.output | explanation | formula | actual steady-state value |
dTSource | Source over Ambient | dtouterCoolant + dtCooler + dTinnerCoolant + dtToPipe | 40 K |
dTtoPipe | Source over inner Coolant | Losses / ThermalConductor.G | 10 K |
dTinnerColant | inner Coolant's temperature increase | Losses * cp * innerMassFlow | 10 K |
dTCooler | Cooler's temperature rise between inner and outer pipes | Losses * (innerGc + outerGc) | 10 K |
dTouterColant | outer Coolant's temperature increase | Losses * cp * outerMassFlow | 10 K |
Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Medium | outerMedium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Outer medium |
Medium | innerMedium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Inner medium |
Temperature | TAmb | 293.15 | Ambient temperature |
4th test example: PumpAndValve
The pump is running with half speed for 0.4 s, afterwards with full speed (using a ramp of 0.1 s).Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Cooling medium |
Temperature | TAmb | 293.15 | Ambient temperature |
5th test example: PumpDropOut
Same as 1st test example, but with a drop out of the pump:Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Cooling medium |
Temperature | TAmb | 293.15 | Ambient temperature |
6th test example: ParallelPumpDropOut
Same as 2nd test example, but with a drop out of the pump:Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Cooling medium |
Temperature | TAmb | 293.15 | Ambient temperature |
7th test example: OneMass
A thermal capacity is coupled with a coolant flow. Different initial temperatures of thermal capacity and pipe's coolant get ambient's temperature, the time behaviour depending on coolant flow.Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Cooling medium |
Temperature | TAmb | 293.15 | Ambient temperature |
Temperature | TMass | 313.15 | Initial temperature of mass |
8th test example: TwoMass
Two thermal capacities are coupled with two parallel coolant flow. Different initial temperatures of thermal capacities and pipe's coolants get ambient's temperature, the time behaviour depending on coolant flow.Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Cooling medium |
Temperature | TAmb | 293.15 | Ambient temperature |
Temperature | TMass1 | 313.15 | Initial temperature of mass1 |
Temperature | TMass2 | 333.15 | Initial temperature of mass2 |
There are two reservoirs at ambient pressure, the second one 25 m higher than the first one. The ideal pump is driven by a speed source, starting from zero and going up to 1.2 times nominal speed. To avoid water flowing back, the one way valve is used.
Extends from Modelica.Icons.Example
(Icon for runnable examples).
First, the medium is pumped out of the tank (initial level = 0.5 m, T = 40°C) to an (infinite) ambient (T = 20°C):
Subsequently the medium is pumped into the tank from an (infinite) ambient:
Extends from Modelica.Icons.Example
(Icon for runnable examples).
Two tanks are connected with a pipe:
Within 1.5 s (dependent on the flow resistance of the pipe) the level = 0.5 m in both tanks is the same, medium flows from tank 1 to tank 2. The temperature of tank 1 remains unchanged, the temperature of tank 2 is increased.
Extends from Modelica.Icons.Example
(Icon for runnable examples).
Test of a system with 2 cylinders (with same volume):
A force is applied that presses from 0.25 s to 0.50 s with 1 Nm on piston1. Due to the ratio of areas 10:1
At piston2 a mass is mounted which is moved and presses the springDamper. When the force at piston1 is removed, the springDamper pushes back the mass and a damped oscillation occurs.
Note: Take care of the initial conditions. The unstretched spring length is cylinder2.L/2, i.e. when piston2 is the middle of its cylinder the spring applies no force to the mass (and piston2).
Extends from Modelica.Icons.Example
(Icon for runnable examples).
Generated 2018-12-12 12:14:33 EST by MapleSim.