What you learn today
- Cooling loop with pump and radiator
- Shut down on overtemperature
- Status display
This week revolved around heat: air conditioner, radiators, heat exchangers, planet climate and overtemperature. The project turns it into the machine hall's cooling loop.
The plant
| Device | Prefab | Name |
|---|---|---|
| Gas sensor in the hall | StructureGasSensor | “Halle” |
| Wall coolers (several) | StructureWallCooler | “Halle” |
| Pipe analyzer on the loop | StructurePipeAnalysizer | “Kuehlkreis” |
| Volume pump to the radiator | StructureVolumePump | “Kuehlpumpe” |
| LED display | StructureConsoleLED5 | “Status” |
The wall coolers push the hall's heat into the loop, the pump forces the loop gas through a radiator outside.
The rules
| What | on | off |
|---|---|---|
| Wall coolers | above 24 °C | below 21 °C |
| Pump (while coolers run) | loop warmer than hall − 3 K | loop colder than hall − 6 K |
| Overtemperature | loop above 60 °C | loop below 45 °C |
On overtemperature the coolers switch off – they would only push more heat into the overheated loop – and the pump keeps running so the radiator gets rid of the heat.
Status display
| State | Setting | Colour |
|---|---|---|
| ready | 0 | Color.Green |
| cooling | 1 | Color.Blue |
| overtemperature | 2 | Color.Red |
| sensor fault | 3 | Color.Orange |
With a select cascade the most important state always wins:
move state cool
select state hot S_HOT state
select state fault S_FAULT state
Milestones
- Wall coolers with hysteresis
- Pump in the band below room temperature
- Overtemperature: coolers off, pump on, state 2
- States 0 and 1 with the right colours
- Sensor gone: coolers off, pump on, state 3
add tmp room loop followed by snan fault tmp checks both readings in two lines: if one is NaN, the sum is NaN.
Diagram
Project task
Task
Build the cooling loop following the rules above. defines, aliases and measuring are already there; overtemperature, coolers, pump and status display are missing.
Milestones
- Milestone 1: wall coolers with hysteresis
- Milestone 2: pump in the band
- Milestone 3: overtemperature
- Milestone 4: states ready and cooling
- Milestone 5: sensor fails
Hints
Hint 1
Overtemperature: hysteresis with COOLED (and) and HOT (or).
Hint 2
Coolers: hysteresis with COOL and WARM, then “and” it with “not hot and no fault”.
Hint 3
Pump: band relative to the room as in lesson 164, then and cool, or hot, or fault.
Hint 4
State and colour each with move or select plus two more select.
Quiz
2 questions. You pass from 60 % – the server does the grading.
Complete the day
- Passed all milestones of the project
- Passed the quiz with at least 60 %
Without an account progress is saved in this browser only.
Report a mistake in this lesson
Please sign in to report. Sign in