feat: Working on presentation, new tapes, more run scripts.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
- Why I'm here
|
||||
- Brief interests
|
||||
|
||||
## Reason for talk : time 5 minutes
|
||||
## Reason for talk : time 3 minutes
|
||||
|
||||
### Refrigerant Changes
|
||||
|
||||
|
||||
137
Presentation.md
137
Presentation.md
@@ -1,24 +1,145 @@
|
||||
autoscale: false
|
||||
autoscale: true
|
||||
footer:  *2025 Symposium*
|
||||
slidenumbers: false
|
||||
build-lists: false
|
||||
slidenumbers: true
|
||||
|
||||
<!-- FIX: Fix slide -->
|
||||
# Talk title
|
||||
# Are Chillers the Future
|
||||
|
||||
2025 Symposium
|
||||
|
||||
---
|
||||
[.footer:]
|
||||
|
||||

|
||||
|
||||
---
|
||||
[.build-lists: false]
|
||||
[.footer:]
|
||||
|
||||

|
||||
|
||||
# Reasons
|
||||
|
||||
- Change to flammable refrigerants in the future.
|
||||
- Learn concepts / similarities.
|
||||
- Pros vs. Cons
|
||||
**Change to flammable refrigerants in the future.**[^1]
|
||||
|
||||
[^1]: Projected to change refrigerants again in the next 10-15 years.
|
||||
|
||||
---
|
||||
[.footer:]
|
||||
|
||||
### It's not just because I like the art of piping systems
|
||||
<br/>
|
||||
|
||||

|
||||
|
||||
---
|
||||
[.footer:]
|
||||
|
||||

|
||||
|
||||
---
|
||||
[.footer:]
|
||||
|
||||

|
||||
|
||||
---
|
||||
[.text: #ffffff, .text-scale(0.8)]
|
||||
|
||||
# History
|
||||
[.build-lists: false]
|
||||
|
||||
- Dates back to Romans
|
||||
- 19<sup>th</sup> century, broader adoption due to cast iron radiators and steam boilers
|
||||
- 20<sup>th</sup> century, introduction of pumps, energy efficiency, zone controls
|
||||
- Popular choice for contemporary HVAC Systems
|
||||
|
||||
---
|
||||
|
||||
# Definitions
|
||||
|
||||
---
|
||||
[.footer:]
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Define Chillers
|
||||
|
||||
Chillers are mechanical devices used in heating, ventilation, and air conditioning (HVAC) systems
|
||||
to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle.
|
||||
|
||||
---
|
||||
|
||||
# Applications in HVAC
|
||||
|
||||
1. **Commercial Buildings:**
|
||||
- Chillers are commonly found in shopping malls, office buildings, and hospitals, where they are used to cool large open spaces and maintain comfortable indoor temperatures.
|
||||
1. **Industrial Processes:**
|
||||
- Chillers are used to cool machinery and products, particularly in manufacturing processes that generate substantial amounts of heat.
|
||||
1. **Air Conditioning Systems:**
|
||||
- In large HVAC systems, chillers provide chilled water, which is then utilized by air handling units (AHUs) or fan coil units to cool air before it is distributed throughout the building.
|
||||
1. **District Cooling:**
|
||||
- Chillers are sometimes used in district cooling systems, where a central chiller plant provides chilled water to multiple buildings in a defined area.
|
||||
|
||||
^ Note how residential does not appear on the list.
|
||||
|
||||
---
|
||||
|
||||
# What do we do?
|
||||
|
||||
^ Ask the audience to answer.
|
||||
|
||||
---
|
||||
|
||||
# What do we do?
|
||||
|
||||
- Provide healthy, safe, and comfortable environment.
|
||||
- We move heat from one place to another, generally through refrigerant and air circulation...
|
||||
- Water _IS_ a refrigerant (R-718).
|
||||
|
||||
^ Second one is important to remember for later in the talk.
|
||||
|
||||
---
|
||||
|
||||
# Fun Facts
|
||||
|
||||
| | Density | Specific Heat |
|
||||
| --------- | ------------------------- | ------------------------------ |
|
||||
| Air<sup>1</sup> | 0.075<sup>lb/ft<sup>3</sup></sup> | 0.24<sup>btu/lb</sup> |
|
||||
| Water<sup>2</sup> | 62.37<sup>lb/ft<sup>3</sup></sup> | 1.0<sup>btu/lb</sup> |
|
||||
|
||||
<sup>1</sup>Air density calculated for sea-level @ 70°.
|
||||
<sup>2</sup>Water density calculated @ 60°.
|
||||
|
||||
`https://hvacrschool.com/sensible-heat-in-air-and-water`
|
||||
|
||||
---
|
||||
|
||||
# Fun Facts
|
||||
|
||||

|
||||
|
||||
_Source: **Modern Hydronic Heating**, by: John Siegenthaler, P.E._
|
||||
|
||||
^ Add to pros list.
|
||||
|
||||
---
|
||||
# A Home is Complex
|
||||
|
||||
- Shell / envelope
|
||||
- Ventilation / exhaust
|
||||
- Electrical
|
||||
- Plumbing / hot water
|
||||
- HVAC
|
||||
- and more...
|
||||
|
||||
#### _A home requires harmony between many different mechanical systems._
|
||||
|
||||
---
|
||||
[.footer-style: #696969, alignment(center)]
|
||||
[.footer: _From: 'What if Houses Came with Manuals' by **Sam Meyers** and **Genry Garcia**_]
|
||||
[.background-color: #d3d3d3]
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
72
bin/run
Executable file
72
bin/run
Executable file
@@ -0,0 +1,72 @@
|
||||
#!/bin/zsh
|
||||
# Primary helper script for generating output for 'tapes'.
|
||||
|
||||
######################### Options #########################
|
||||
|
||||
zparseopts -D -E -- \
|
||||
-who-dis-guy=whoami \
|
||||
-show-stats=showstats \
|
||||
-gimme-more-reasons=reasons \
|
||||
-show-history=showhistory \
|
||||
-show-me-the-chillers=showchillers \
|
||||
-ask-chat-gpt:=askgpt \
|
||||
-output:=outputFile
|
||||
|
||||
######################### Helpers #########################
|
||||
|
||||
function boxed_quote {
|
||||
gum style --foreground 212 --border double \
|
||||
--align center --margin "1 2" --padding "2 4" \
|
||||
"$1"
|
||||
}
|
||||
|
||||
function spinner {
|
||||
gum spin --title "$1" -- sleep "${2:-5}"
|
||||
}
|
||||
|
||||
function parseGpt {
|
||||
local json=$1
|
||||
local header=$2
|
||||
local content=$(cat "files/$json" | jq '.["choices"][0]["message"]["content"]')
|
||||
echo "$header\n$content" | gum format
|
||||
}
|
||||
|
||||
function askChatGpt {
|
||||
# note question needs to be json, this is generally prepared in the justfile.
|
||||
local question=$1
|
||||
local outputFile=$2
|
||||
if [ ! -f "$outputFile" ]; then
|
||||
# get ouptut from chat gpt, if file does not exists.
|
||||
# this saves from calling gpt over and over when recreating tapes.
|
||||
curl "https://api.openai.com/v1/chat/completions" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${OPENAI_API_KEY}" \
|
||||
-d "$question" \
|
||||
> "$outputFile"
|
||||
fi
|
||||
}
|
||||
|
||||
######################### MAIN #########################
|
||||
|
||||
if [ ! -z "$whoami" ]; then
|
||||
boxed_quote 'Great Question!!!'
|
||||
spinner "Googling..."
|
||||
elif [ ! -z "$showstats" ]; then
|
||||
spinner "Computing stats..."
|
||||
cat files/ShowStats.md | gum format
|
||||
elif [ ! -z "$reasons" ]; then
|
||||
spinner "Generating reasons..." 3
|
||||
echo "# More Reasons\n- Learn concepts / similarities\n- Pros vs. Cons\n" | gum format
|
||||
elif [ ! -z "$showhistory" ]; then
|
||||
content=$(cat files/history.json | jq '.["choices"][0]["message"]["content"]')
|
||||
echo "# Hydronic History\n$content" | gum format
|
||||
elif [ ! -z "$showchillers" ]; then
|
||||
content="$(parseGpt "chillers.json" "# Define Chillers")"
|
||||
echo $content > files/chillers.md
|
||||
gum pager < files/chillers.md
|
||||
elif [ ! -z "$askgpt" ]; then
|
||||
local question="${askgpt[-1]}"
|
||||
local file="${outputFile[-1]}"
|
||||
spinner "Asking ChatGPT..."
|
||||
askChatGpt $question $file
|
||||
fi
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
gum spin --title "Computing stats..." -- sleep 5
|
||||
|
||||
cat ShowStats.md | gum format
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
gum style --foreground 212 --border double \
|
||||
--align center --margin "1 2" --padding "2 4" \
|
||||
'I can check that for you, one moment.'
|
||||
|
||||
gum spin --title "Computing cooridnates..." -- sleep 5
|
||||
|
||||
gum style --foreground 212 --border double \
|
||||
--align center --margin "1 2" --padding "2 4" \
|
||||
'Cincinnati, O-H-I-O!'
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
gum style --foreground 212 --border double \
|
||||
--align center --margin "1 2" --padding "2 4" \
|
||||
'Great question!!!'
|
||||
|
||||
gum spin --title "Googling..." -- sleep 5
|
||||
34
files/chillers.json
Normal file
34
files/chillers.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": "chatcmpl-AkDtL7RvELOAPOuYd2XeW28Di2fb6",
|
||||
"object": "chat.completion",
|
||||
"created": 1735579851,
|
||||
"model": "gpt-4o-mini-2024-07-18",
|
||||
"choices": [
|
||||
{
|
||||
"index": 0,
|
||||
"message": {
|
||||
"role": "assistant",
|
||||
"content": "Chillers are mechanical devices used in heating, ventilation, and air conditioning (HVAC) systems to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle.\n\n### Uses of Chillers in HVAC:\n\n1. **Commercial Buildings**: Used to cool large spaces like office buildings, hotels, and shopping malls through centralized air conditioning systems.\n\n2. **Industrial Applications**: Provide cooling for manufacturing processes, particularly where large amounts of heat are generated.\n\n3. **Data Centers**: Essential for maintaining optimal temperatures for servers and electronic equipment, preventing overheating and ensuring reliability.\n\n4. **Hospitality**: Used in hotels and resorts to keep guest rooms and common areas comfortable.\n\n5. **Food and Beverage**: In places requiring precise temperature control, such as food processing and storage facilities.\n\n6. **Refrigeration Systems**: Chillers can be part of a larger refrigeration system in places like supermarkets or warehouses.\n\n### Summary:\n\nChillers play a key role in maintaining comfortable indoor environments and enabling industrial processes by efficiently removing heat. Their versatility and efficiency make them a critical component of many HVAC systems.",
|
||||
"refusal": null
|
||||
},
|
||||
"logprobs": null,
|
||||
"finish_reason": "stop"
|
||||
}
|
||||
],
|
||||
"usage": {
|
||||
"prompt_tokens": 29,
|
||||
"completion_tokens": 541,
|
||||
"total_tokens": 570,
|
||||
"prompt_tokens_details": {
|
||||
"cached_tokens": 0,
|
||||
"audio_tokens": 0
|
||||
},
|
||||
"completion_tokens_details": {
|
||||
"reasoning_tokens": 0,
|
||||
"audio_tokens": 0,
|
||||
"accepted_prediction_tokens": 0,
|
||||
"rejected_prediction_tokens": 0
|
||||
}
|
||||
},
|
||||
"system_fingerprint": "fp_0aa8d3e20b"
|
||||
}
|
||||
17
files/chillers.md
Normal file
17
files/chillers.md
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
[38;5;212;1m[0m[38;5;212;1m[0m [38;5;212;1mDefine[0m[38;5;212;1m Chillers[0m
|
||||
|
||||
"Chillers are mechanical devices used in heating, ventilation, and air conditioning (HVAC) systems to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle.
|
||||
|
||||
[38;5;212;1m[0m[38;5;212;1m[0m [38;5;212;1m┃ [0m[38;5;212;1mUses of Chillers in[0m[38;5;212;1m HVAC:[0m
|
||||
|
||||
1. [1mCommercial Buildings[0m: Used to cool large spaces like office buildings, hotels, and shopping malls through centralized air conditioning systems.
|
||||
2. [1mIndustrial Applications[0m: Provide cooling for manufacturing processes, particularly where large amounts of heat are generated.
|
||||
3. [1mData Centers[0m: Essential for maintaining optimal temperatures for servers and electronic equipment, preventing overheating and ensuring reliability.
|
||||
4. [1mHospitality[0m: Used in hotels and resorts to keep guest rooms and common areas comfortable.
|
||||
5. [1mFood and Beverage[0m: In places requiring precise temperature control, such as food processing and storage facilities.
|
||||
6. [1mRefrigeration Systems[0m: Chillers can be part of a larger refrigeration system in places like supermarkets or warehouses.
|
||||
|
||||
[38;5;212;1m[0m[38;5;212;1m[0m [38;5;212;1m┃ [0m[38;5;212;1mSummary:[0m
|
||||
|
||||
Chillers play a key role in maintaining comfortable indoor environments and enabling industrial processes by efficiently removing heat. Their versatility and efficiency make them a critical component of many HVAC systems."
|
||||
34
files/history.json
Normal file
34
files/history.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": "chatcmpl-AkBsy6lTyehpxdaJqImqGYFGJnRgV",
|
||||
"object": "chat.completion",
|
||||
"created": 1735572140,
|
||||
"model": "gpt-4o-mini-2024-07-18",
|
||||
"choices": [
|
||||
{
|
||||
"index": 0,
|
||||
"message": {
|
||||
"role": "assistant",
|
||||
"content": "Hydronic systems date back to ancient civilizations, with early forms of radiant heating being used by the Romans, who developed hypocaust systems to warm their bathhouses and homes. These systems utilized hot air generated by a furnace that circulated through spaces beneath the floors and inside walls. The concept evolved over the centuries, with significant advancements during the Industrial Revolution in the 19th century. The introduction of cast iron radiators and steam heating systems provided more efficient heating solutions, which led to the broader adoption of hydronic technologies in residential and commercial buildings.\n\nIn the 20th century, hydronic systems further advanced with the development of modern boiler technology and the introduction of pumps for circulating water. The focus shifted toward energy efficiency and improved indoor comfort, leading to the emergence of innovative products like micro-boilers, zone control systems, and smart thermostats. Today, hydronic heating and cooling systems are recognized for their efficiency, environmental benefits, and ability to provide consistent temperature control, making them a popular choice for contemporary HVAC applications.",
|
||||
"refusal": null
|
||||
},
|
||||
"logprobs": null,
|
||||
"finish_reason": "stop"
|
||||
}
|
||||
],
|
||||
"usage": {
|
||||
"prompt_tokens": 33,
|
||||
"completion_tokens": 204,
|
||||
"total_tokens": 237,
|
||||
"prompt_tokens_details": {
|
||||
"cached_tokens": 0,
|
||||
"audio_tokens": 0
|
||||
},
|
||||
"completion_tokens_details": {
|
||||
"reasoning_tokens": 0,
|
||||
"audio_tokens": 0,
|
||||
"accepted_prediction_tokens": 0,
|
||||
"rejected_prediction_tokens": 0
|
||||
}
|
||||
},
|
||||
"system_fingerprint": "fp_d02d531b47"
|
||||
}
|
||||
15
gum
15
gum
@@ -1,15 +0,0 @@
|
||||
# Michael Housh
|
||||
|
||||
## Location
|
||||
|
||||
Cincinnati, Ohio
|
||||
|
||||
## Company
|
||||
|
||||
Housh - The Home Energy Experts
|
||||
|
||||
## Interests
|
||||
|
||||
- Everything HVAC
|
||||
- Hydronics
|
||||
- Programming
|
||||
BIN
img/gif/chillers.gif
LFS
Normal file
BIN
img/gif/chillers.gif
LFS
Normal file
Binary file not shown.
BIN
img/gif/history.gif
LFS
Normal file
BIN
img/gif/history.gif
LFS
Normal file
Binary file not shown.
BIN
img/gif/intro.gif
LFS
BIN
img/gif/intro.gif
LFS
Binary file not shown.
BIN
img/gif/mushroomcloud.gif
LFS
Normal file
BIN
img/gif/mushroomcloud.gif
LFS
Normal file
Binary file not shown.
BIN
img/gif/reasons.gif
LFS
Normal file
BIN
img/gif/reasons.gif
LFS
Normal file
Binary file not shown.
BIN
img/gif/sus.gif
LFS
Normal file
BIN
img/gif/sus.gif
LFS
Normal file
Binary file not shown.
BIN
img/house_detail.jpg
Normal file
BIN
img/house_detail.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 70 KiB |
BIN
img/pipe_vs_duct.png
LFS
Normal file
BIN
img/pipe_vs_duct.png
LFS
Normal file
Binary file not shown.
15
justfile
15
justfile
@@ -5,3 +5,18 @@ record tape="intro.tape":
|
||||
|
||||
install-dependencies:
|
||||
brew install jstkdng/programs/ueberzugpp
|
||||
|
||||
ask-chat-gpt question output:
|
||||
@bin/run --ask-chat-gpt \
|
||||
'{ "model": "gpt-4o-mini", "messages": [{"role": "system", "content": "You are such a helpful assistant." }, { "role": "user", "content": "{{question}}" }]}' \
|
||||
--output {{output}}
|
||||
|
||||
# TODO: Remove
|
||||
ask-gpt question:
|
||||
@curl "https://api.openai.com/v1/chat/completions" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${OPENAI_API_KEY}" \
|
||||
-d '{ "model": "gpt-4o-mini", "messages": [{"role": "system", "content": "You are such a helpful assistant." }, { "role": "user", "content": "{{question}}" }]}'
|
||||
|
||||
convert-to-gif path output:
|
||||
magick path output
|
||||
|
||||
1
symposium.dstheme
Normal file
1
symposium.dstheme
Normal file
@@ -0,0 +1 @@
|
||||
{"type":0,"customizations":{"header":{"color":{"blue":1,"green":0.2527923882,"red":1},"textAlignment":0,"textScale":1.2,"lineHeight":1,"__deckset_model_version":0,"font":{"familyName":"Hack Nerd Font","memberName":"Regular","fullName":"HackNF-Regular"}},"background":{"__deckset_model_version":0,"color":{"blue":1,"green":0.31308263539999998,"red":0.41514921189999998}},"text":{"textScale":1.2,"color":{"green":1,"blue":1,"red":0.99999600649999998},"__deckset_model_version":0,"lineHeight":1.2,"textAlignment":0,"font":{"familyName":"Avenir Next","memberName":"Demi Bold","fullName":"AvenirNext-DemiBold"}}},"identifier":"courier"}
|
||||
25
tapes/chiller.tape
Normal file
25
tapes/chiller.tape
Normal file
@@ -0,0 +1,25 @@
|
||||
Output img/gif/chillers.gif
|
||||
|
||||
Set Shell "zsh"
|
||||
Set FontSize 32
|
||||
Set Width 1920
|
||||
Set Height 1080
|
||||
Set Theme "Catppuccin Mocha"
|
||||
Set Margin 20
|
||||
Set MarginFill "#6B50FF"
|
||||
Set Padding 4
|
||||
Set CursorBlink false
|
||||
Set PlaybackSpeed 0.75
|
||||
|
||||
Type "just ask-chat-gpt 'Define chillers and how they are used in HVAC applications.' \"
|
||||
Enter
|
||||
Type "files/chillers.json"
|
||||
Enter
|
||||
Sleep 5.1s
|
||||
Hide
|
||||
Type "clear"
|
||||
Enter
|
||||
Show
|
||||
Type "bin/run --show-me-the-chillers"
|
||||
Enter
|
||||
Sleep 10s
|
||||
21
tapes/history.tape
Normal file
21
tapes/history.tape
Normal file
@@ -0,0 +1,21 @@
|
||||
Output img/gif/history.gif
|
||||
|
||||
Set Shell "zsh"
|
||||
Set FontSize 32
|
||||
Set Width 1920
|
||||
Set Height 1080
|
||||
Set Theme "Catppuccin Mocha"
|
||||
Set Margin 20
|
||||
Set MarginFill "#6B50FF"
|
||||
Set Padding 4
|
||||
Set CursorBlink false
|
||||
Set PlaybackSpeed 0.75
|
||||
|
||||
Type "just ask-gpt 'Tell me about the history of hydronic systems in 2 short paragraphs.' \"
|
||||
Enter
|
||||
Type "> files/history.json && \"
|
||||
Enter
|
||||
Type "bin/run --show-history"
|
||||
Enter
|
||||
Screenshot "img/history.png"
|
||||
Sleep 20s
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
Type "bin/show-stats"
|
||||
Type "bin/run --show-stats"
|
||||
Enter
|
||||
Sleep 20s
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Type "bin/who-dis-guy"
|
||||
Type "bin/run --who-dis-guy"
|
||||
Enter
|
||||
Sleep 5.5s
|
||||
Type@150ms Michael freakin
|
||||
|
||||
@@ -69,7 +69,4 @@ Set CursorBlink false
|
||||
Set PlaybackSpeed 0.75
|
||||
|
||||
Source tapes/internal/whodis.tape
|
||||
Hide
|
||||
# Backspace 13
|
||||
Show
|
||||
Source tapes/internal/showstats.tape
|
||||
|
||||
16
tapes/reasons.tape
Normal file
16
tapes/reasons.tape
Normal file
@@ -0,0 +1,16 @@
|
||||
Output img/gif/reasons.gif
|
||||
|
||||
Set Shell "zsh"
|
||||
Set FontSize 32
|
||||
Set Width 1920
|
||||
Set Height 1080
|
||||
Set Theme "Catppuccin Mocha"
|
||||
Set Margin 20
|
||||
Set MarginFill "#6B50FF"
|
||||
Set Padding 4
|
||||
Set CursorBlink false
|
||||
Set PlaybackSpeed 0.75
|
||||
|
||||
Type "bin/run --gimme-more-reasons"
|
||||
Enter
|
||||
Sleep 10s
|
||||
Reference in New Issue
Block a user