diff --git a/Outline.md b/Outline.md index 4bf2d12..043374d 100644 --- a/Outline.md +++ b/Outline.md @@ -8,7 +8,7 @@ - Why I'm here - Brief interests -## Reason for talk : time 5 minutes +## Reason for talk : time 3 minutes ### Refrigerant Changes diff --git a/Presentation.md b/Presentation.md index bdc2b64..73be455 100644 --- a/Presentation.md +++ b/Presentation.md @@ -1,24 +1,145 @@ -autoscale: false +autoscale: true footer: ![house](./img/SketchupHouse.png) *2025 Symposium* +slidenumbers: false build-lists: false -slidenumbers: true - -# Talk title +# Are Chillers the Future 2025 Symposium --- +[.footer:] ![intro](./img/gif/intro.gif) --- -[.build-lists: false] +[.footer:] + +![flammable](./img/gif/mushroomcloud.gif) # 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 +
+ +![inline 120%](./img/gif/sus.gif) + +--- +[.footer:] + +![](./img/gif/reasons.gif) + +--- +[.footer:] + +![](./img/gif/history.gif) + +--- +[.text: #ffffff, .text-scale(0.8)] + +# History +[.build-lists: false] + + - Dates back to Romans + - 19th century, broader adoption due to cast iron radiators and steam boilers + - 20th century, introduction of pumps, energy efficiency, zone controls + - Popular choice for contemporary HVAC Systems + +--- + +# Definitions + +--- +[.footer:] + +![](./img/gif/chillers.gif) + +--- + +# 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 | +| --------- | ------------------------- | ------------------------------ | +| Air1 | 0.075lb/ft3 | 0.24btu/lb | +| Water2 | 62.37lb/ft3 | 1.0btu/lb | + +1Air density calculated for sea-level @ 70°. +2Water density calculated @ 60°. + +`https://hvacrschool.com/sensible-heat-in-air-and-water` + +--- + +# Fun Facts + +![inline](./img/pipe_vs_duct.png) + +_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] + +![fit](./img/house_detail.jpg) --- diff --git a/bin/run b/bin/run new file mode 100755 index 0000000..3b933f7 --- /dev/null +++ b/bin/run @@ -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 diff --git a/bin/show-stats b/bin/show-stats deleted file mode 100755 index 777a1a1..0000000 --- a/bin/show-stats +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/zsh - -gum spin --title "Computing stats..." -- sleep 5 - -cat ShowStats.md | gum format diff --git a/bin/where-he-from b/bin/where-he-from deleted file mode 100755 index f7342fd..0000000 --- a/bin/where-he-from +++ /dev/null @@ -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!' diff --git a/bin/who-dis-guy b/bin/who-dis-guy deleted file mode 100755 index fa5be03..0000000 --- a/bin/who-dis-guy +++ /dev/null @@ -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 diff --git a/ShowStats.md b/files/ShowStats.md similarity index 100% rename from ShowStats.md rename to files/ShowStats.md diff --git a/files/chillers.json b/files/chillers.json new file mode 100644 index 0000000..3ea8a07 --- /dev/null +++ b/files/chillers.json @@ -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" +} diff --git a/files/chillers.md b/files/chillers.md new file mode 100644 index 0000000..99ddfff --- /dev/null +++ b/files/chillers.md @@ -0,0 +1,17 @@ + + 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. + + ┃ Uses of Chillers in HVAC: + + 1. Commercial Buildings: Used to cool large spaces like office buildings, hotels, and shopping malls through centralized air conditioning systems. + 2. Industrial Applications: Provide cooling for manufacturing processes, particularly where large amounts of heat are generated. + 3. Data Centers: Essential for maintaining optimal temperatures for servers and electronic equipment, preventing overheating and ensuring reliability. + 4. Hospitality: Used in hotels and resorts to keep guest rooms and common areas comfortable. + 5. Food and Beverage: In places requiring precise temperature control, such as food processing and storage facilities. + 6. Refrigeration Systems: Chillers can be part of a larger refrigeration system in places like supermarkets or warehouses. + + ┃ Summary: + + 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." diff --git a/files/history.json b/files/history.json new file mode 100644 index 0000000..a9b55aa --- /dev/null +++ b/files/history.json @@ -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" +} diff --git a/gum b/gum deleted file mode 100644 index d5cd5b6..0000000 --- a/gum +++ /dev/null @@ -1,15 +0,0 @@ -# Michael Housh - -## Location - -Cincinnati, Ohio - -## Company - -Housh - The Home Energy Experts - -## Interests - -- Everything HVAC -- Hydronics -- Programming diff --git a/img/gif/chillers.gif b/img/gif/chillers.gif new file mode 100644 index 0000000..5dabcd1 --- /dev/null +++ b/img/gif/chillers.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffdccdddbf9f31e784a883c4eac625644fbbfc7042de77457e3919156c57574e +size 433369 diff --git a/img/gif/history.gif b/img/gif/history.gif new file mode 100644 index 0000000..21408b7 --- /dev/null +++ b/img/gif/history.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e3bd832971489bfc425a878d3bb4dc1842ee560e8c699d8bda71c9308cdef4d +size 829356 diff --git a/img/gif/intro.gif b/img/gif/intro.gif index 1c2af26..a2d947a 100644 --- a/img/gif/intro.gif +++ b/img/gif/intro.gif @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d2b2c0cb5784645be3d290dd67011e0c4b1fb76d8f0a3c6b894c03acc57e9fa4 -size 156785 +oid sha256:5f4668ffa1b43d217ea2d450466b082f4381dbb9813e0928c3fe4ca6b9cfb1b7 +size 75886 diff --git a/img/gif/mushroomcloud.gif b/img/gif/mushroomcloud.gif new file mode 100644 index 0000000..81c97f5 --- /dev/null +++ b/img/gif/mushroomcloud.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9efa78d9f2bcf63ab651c8a1a2bbf0e8e6e86d24b41d8b1046d1bf54c0e390cc +size 1860908 diff --git a/img/gif/reasons.gif b/img/gif/reasons.gif new file mode 100644 index 0000000..1696ab8 --- /dev/null +++ b/img/gif/reasons.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d54afb79a115c68c0d61176798c6b3dbdfd3b1af3bed44e041d2ec3a734c9dc9 +size 68894 diff --git a/img/gif/sus.gif b/img/gif/sus.gif new file mode 100644 index 0000000..13d14f9 --- /dev/null +++ b/img/gif/sus.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c95d70a4c001546716fa5a57b79002006e39cea434e3451211d4f823229f0451 +size 160813 diff --git a/img/house_detail.jpg b/img/house_detail.jpg new file mode 100644 index 0000000..e50702e Binary files /dev/null and b/img/house_detail.jpg differ diff --git a/img/my_ass_hurts.jpg b/img/my_ass_hurts.jpg deleted file mode 100644 index d0add11..0000000 Binary files a/img/my_ass_hurts.jpg and /dev/null differ diff --git a/img/pipe_vs_duct.png b/img/pipe_vs_duct.png new file mode 100644 index 0000000..4ec8f7d --- /dev/null +++ b/img/pipe_vs_duct.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecd7a9329e862235e209f4f706cc043eaf67b8ab5f80b73209cb511c2c0979e5 +size 763892 diff --git a/justfile b/justfile index c07d84f..a960e36 100644 --- a/justfile +++ b/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 diff --git a/symposium.dstheme b/symposium.dstheme new file mode 100644 index 0000000..eb4c4ac --- /dev/null +++ b/symposium.dstheme @@ -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"} \ No newline at end of file diff --git a/tapes/chiller.tape b/tapes/chiller.tape new file mode 100644 index 0000000..6d3d85d --- /dev/null +++ b/tapes/chiller.tape @@ -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 diff --git a/tapes/history.tape b/tapes/history.tape new file mode 100644 index 0000000..c163437 --- /dev/null +++ b/tapes/history.tape @@ -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 diff --git a/tapes/internal/showstats.tape b/tapes/internal/showstats.tape index aba48d8..267ab9a 100644 --- a/tapes/internal/showstats.tape +++ b/tapes/internal/showstats.tape @@ -1,4 +1,3 @@ - -Type "bin/show-stats" +Type "bin/run --show-stats" Enter Sleep 20s diff --git a/tapes/internal/whodis.tape b/tapes/internal/whodis.tape index 3cb0d97..2c44107 100644 --- a/tapes/internal/whodis.tape +++ b/tapes/internal/whodis.tape @@ -1,4 +1,4 @@ -Type "bin/who-dis-guy" +Type "bin/run --who-dis-guy" Enter Sleep 5.5s Type@150ms Michael freakin diff --git a/tapes/intro.tape b/tapes/intro.tape index 3fc20b6..ab7b02a 100644 --- a/tapes/intro.tape +++ b/tapes/intro.tape @@ -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 diff --git a/tapes/reasons.tape b/tapes/reasons.tape new file mode 100644 index 0000000..5a79d34 --- /dev/null +++ b/tapes/reasons.tape @@ -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