From 1d151e591a4fc719bcd74814188aacef2cae7782 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Sat, 23 Nov 2024 16:08:25 -0500 Subject: [PATCH] feat: Initial commit --- .editorconfig | 6 + .gitattributes | 2 + .gitignore | 4 + Airflow/.gitkeep | 0 Makefile | 54 ++++++ ManJ/.gitkeep | 0 README.md | 0 Report.md | 305 ++++++++++++++++++++++++++++++++++ img/goals.png | 3 + resources/Definitions.md | 47 ++++++ resources/footer.template.tex | 24 +++ resources/head.tex | 74 +++++++++ scripts/gen.sh | 23 +++ scripts/notify.scpt | Bin 0 -> 998 bytes vars.sh | 29 ++++ 15 files changed, 571 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Airflow/.gitkeep create mode 100644 Makefile create mode 100644 ManJ/.gitkeep create mode 100644 README.md create mode 100644 Report.md create mode 100644 img/goals.png create mode 100644 resources/Definitions.md create mode 100644 resources/footer.template.tex create mode 100644 resources/head.tex create mode 100755 scripts/gen.sh create mode 100644 scripts/notify.scpt create mode 100755 vars.sh diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..da81b18 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +root = true + +[*.md] +indent_style = space +indent_size = 2 +tab_width = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dc0531e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.png filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b89ed9e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.test.pdf +Report.tex +report.html +outfiles/* diff --git a/Airflow/.gitkeep b/Airflow/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..36c6516 --- /dev/null +++ b/Makefile @@ -0,0 +1,54 @@ +PDF_TITLE ?= "Report.pdf" +TEX_TITLE ?= "Report.tex" +HTML_TITLE ?= "report.html" +OUT_FILE ?= "Report.md" +OUT_DIR ?= "outfiles" +PDF_TEST_TILE ?= "Report.test.pdf" + +.PHONY: gen +gen: + @OUT_FILE="${OUT_DIR}/${OUT_FILE}" ./scripts/gen.sh + +.PHONY: pdf +pdf: gen + @pandoc --pdf-engine=xelatex \ + -H resources/head.tex \ + -H "${OUT_DIR}/footer.tex" \ + -o ${PDF_TITLE} \ + "${OUT_DIR}/${OUT_FILE}" \ + resources/Definitions.md \ + && open ${PDF_TITLE} \ + && osascript ./scripts/notify.scpt + +.PHONY: test-pdf +test-pdf: gen + @pandoc --pdf-engine=xelatex \ + -H resources/head.tex \ + -H "${OUT_DIR}/footer.tex" \ + -o ${PDF_TEST_TITLE} \ + "${OUT_DIR}/${OUT_FILE}" \ + resources/Definitions.md \ + && open ${PDF_TEST_TITLE} \ + && osascript ./scripts/notify.scpt + +.PHONY: tex +tex: gen + @pandoc \ + -H resources/head.tex \ + -H "${OUT_DIR}/footer.tex" \ + -o "${OUT_DIR}/${TEX_TITLE}" \ + "${OUT_DIR}/${OUT_FILE}" + +.PHONY: html +html: gen + @pandoc \ + -o "${OUT_DIR}/${HTML_TITLE}" \ + "${OUT_DIR}/${OUT_FILE}" \ + && open "${OUT_DIR}/${HTML_TITLE}" + +.PHONY: install +install: + @brew install pandoc \ + mactex-no-gui \ + imagemagick \ + gettext diff --git a/ManJ/.gitkeep b/ManJ/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/Report.md b/Report.md new file mode 100644 index 0000000..210f157 --- /dev/null +++ b/Report.md @@ -0,0 +1,305 @@ +--- +title: ${DOCUMENT_TITLE} +author: ${AUTHOR_NAME} +date: \today{} +mainfont: Avenir Next +documentclass: article +fontsize: 12pt +# NOTE: The applegreen is a custom color defined in resources/head.tex +linkcolor: applegreen +urlcolor: applegreen +abstract: | + **Prepared For:** + + ${CUSTOMER_NAME} + + ${CUSTOMER_STREET} + ${CUSTOMER_CITY_STATE_ZIP} + + ```{=latex} + \begin{center} + ``` + + \ + \ + \ + + [![logo](${LOGO_IMAGE}){ width=30% }](${COMPANY_WEBSITE}) + + ```{=latex} + \end{center} + ``` +--- + + + +# Contents + +1. [Introduction](#home-performance-report) + 1. [Your Goals](#your-goals) +1. [Leakage](#how-leaky-is-your-house) +1. [Observations](#observations) + 1. [HVAC](#hvac-observations) + 1. [Home](#home-observations) +1. [Load Calculations](#load-calculations) + 1. [Your Loads](#your-loads) +1. [Airflow Assessment](#airflow-assessment) + 1. [Your Static Measurements](#your-static-measurements) + 1. [Static Pressure Forecast](#static-measurements-forecast) +1. [Summary](#summary) +1. [Definitions](#definitions) + 1. [CFM50] + 1. [IAQ] + 1. [LAIR] + 1. [Load Calculation][load-calculation] + 1. [Shell][shell] + 1. [SHR] + 1. [TESP] + 1. [WC][wc] + +# Home Performance Report + +Thank you for having us to your home for a home performance assessment. I hope that it was +beneficial. We learned a lot about your home and your goals during the brief visit. So, let’s jump +in to some of the things discovered. + +Below is a summary of your goals, house measurements, and our budget discussion as well as my +observations and some recommendations. As part of the service we ran load calculations that help +determine the right sized HVAC for your home as it stand and with some upgrades. Those are attached +as are bids for replacements. + +Once you read the report you’ll have 3 options: do nothing, pick and choose upgrades, or do more +planning for more difficult goals or complex projects. These options are discussed at the end of the +report as well as our leanings for your home. + +\goalsimage + +## Your goals: + + + + + + +1. Add air conditioning. + +# How Leaky Is Your House + + + +One of the main objectives was to perform a blower door test and load calculations for the home. We +discovered that the blower door number was +${HOME_LEAKAGE} [CFM50] for the approximately ${HOME_SQUARE_FEET} \squarefoot (${HOME_LAIR} [LAIR]). +A leaky home, most often, is an uncomfortable and uncontrollable home. + +> _Air leakage tends to have one of the largest impacts on the load of a home._ +> +> - _Around 1:1 homes begin to be more controllable / comfortable_ +> - _Your home is ${HOME_LEAKAGE}:${HOME_SQUARE_FEET} \squarefoot for a ratio of ${HOME_LAIR}_ +> - _Leaky homes are very difficult to maintain comfort with HVAC alone._ + +# Observations + +The below sections are observations about the current HVAC system and the home. + +## HVAC Observations + + + +1. Current furnace is sized appropriately based on the load of the home. +1. Current duct system is not sized adequately for the system. + 1. Filter is too small for the system. + 1. Return sizing is not adequate. + 1. Supply sizing is marginal. + 1. Current static pressure is already high. + 1. These problems may become worse when AC is installed. + +## Home Observations + + + +1. The house leakage is high for the size of the home. +1. May be hard to control comfort without [shell] improvements. + +# Load Calculations + +Several [load-calculations][load-calculation] were performed on your home to determine the proper +equipment sizing for this application. Below is a comparison of the +[load-calculations][load-calculation] with the current air leakage and several improved air leakage +targets. + +## Your Loads + + + +| [CFM50] | | Heating Total | Cooling Total | [SHR] | [LAIR] | +| ------------------- | ----------- | ------------- | ------------- | -------- | ---------------- | +| **${HOME_LEAKAGE}** | **Current** | **55,102** | **20,726** | **0.79** | **${HOME_LAIR}** | +| 2,000 | | 40,320 | 17,279 | 0.85 | 1.5:1 | +| 1,350 | | 35,885 | 16,245 | 0.88 | 1:1 | + +> **Note:** +> +> 1. _The lower the heating and cooling total's the better._ +> 1. _An undersized air conditioner is better than an oversized one._ +> 1. _Supplemental dehumidification may be required for [SHR]'s below 0.83._ + +The above table shows the relationship between air leakage and the amount of heating and cooling +that is required for the home. A tight home is easier to control the comfort levels, offers superior +IAQ levels, and lower utility costs. + + + +The projected cooling size required for your home is around 2-Tons for the current leakage rate, or +1.5-Tons if [shell] improvements were made. + +[Here is a link to your load calculation reports][loads-folder] + +# Airflow Assessment + +While on site, we also measured the total system airflow and static pressure of the system. Static +pressure is equivalent to the blood pressure of your system and gives us a better understanding of +the overall ability for the system to provide the proper amount of airflow, as well as how much it +may struggle to do so. + +Static pressure is the amount of resistance that the blower has to work against in order to move air +through the system. Things that have an effect on the static pressure of the system include, air +filters (size and type), duct sizes, amount of ducts, length of ducts, duct fittings and +transitions, as well as internal system components. Each component of the system has a resistance +associated with it that the blower has to overcome, by taking some key measurements we are able to +determine the [TESP] of the system. While there are several static pressures in the system, when we +talk about static pressure we are generally referring to [TESP]. + +Static pressure ([TESP]) has a range of _low_, _acceptable_, or _high_. While these numbers are +specific to the actual equipment, most manufacturers follow similar standards. For the sake of +simplicity, 0.5" [wc] or under is an _acceptable_ target, 0.8" [wc] is generally the max acceptable +static pressure (although we like to stay well below this if possible), and above 0.8" [wc] is +considered _high_ and should be addressed. _Low_ is generally not common and is rarely problematic, +so it is not focused on much. + + + +\newpage + +## Your Static Measurements + +![True Flow Report][trueflow-image]{ height=50% } + + + +The above image is a snapshot of the static pressures recorded for your system. This shows that the +static pressure of your system is very high (1.114" [wc]). The primary culprits for the high static +pressure are that the filter is undersized for the airflow required and the return duct sizing is +small. + +These measurements were taken in the heating mode because your system does not currently have air +conditioning. Currently the heating airflow is on the low side for what is required for your system +(1200 CFM would be ideal). This should be adjusted if possible during the install to get better +performance and efficiency out of the system, given that some static pressures can be improved +during the project. + +\ +\ + +[Here is a link to the full airflow report.][trueflow-file] + + + +\newpage + +## Static Measurements Forecast + +![True Flow Forecast][trueflow-forecast-image]{ height=50% } + + + +The above image is a snapshot is of a forecast of the static pressures after adding air +conditioning. It should be noted that these measurements are based solely on the airflow required +for cooling mode, not for heating mode (in other words, heating mode is going to be higher because +the airflow requirement is higher). + +This shows that with an upgraded filter we can get the static pressure below the 0.8" [wc] max +target while in cooling mode. + +\ +\ + +[Here is a link to the full forecast report.][trueflow-forecast-file] + +# Summary + +The purpose of the home performance assessment is to help find the overlap between the house needs, +the goals, and the budget to see if there's a viable project. + + + +The house is pretty leaky overall. This is due to the age and construction style of the house. This +may lead to comfort problems or trouble maintaining comfort in all areas of the house. + +Based on the [load calculations][load-calculation], the previously quoted systems are too large for +the current load, so we need to update the proposals to be for 2-Ton systems. This will help with +the fact that the static pressure of the system is already really high. The static pressure for +heating will likely still be above the 0.8" [wc] max threshold. + +An upgraded air filter is going to be required to help alleviate the blower motor. Another return +may be required in the living space to further drop the static pressure, however this could likely +be done in the future if desired. I would estimate that adding another return would be in the +**$800-1,200** range. + +While on site it was mentioned that you would like some of the ducts to be sealed that go to the +second floor. This is something that is not included in our general proposals. I would estimate this +to be an additional **$150-300** and will add options in the updated proposals. + +Since the goal is to add air conditioning, then I would recommend going with a 2-Ton system. If the +system does not maintain then you could look into [shell] improvements and air sealing the home. + +Regards, + +\ +\ +\ + +[Here is a link to all the documents][document-folder] + + + +[CFM50]: #cfm50-definition "CFM50" +[IAQ]: #iaq-definition "IAQ" +[LAIR]: #lair-definition "LAIR" +[load-calculation]: #load-calculation-definition "load calculation" +[shell]: #shell-definition "shell" +[SHR]: #shr-definition "SHR" +[wc]: #wc-definition "wc" +[TESP]: #tesp-definition "TESP" + + + + + + +[trueflow-image]: ${TRUEFLOW_IMAGE} + + +[trueflow-forecast-image]: ${TRUEFLOW_FORECAST_IMAGE} + + + + +[loads-folder]: ${LOADS_FOLDER} +[trueflow-file]: ${TRUEFLOW_FILE} +[trueflow-forecast-file]: ${TRUEFLOW_FORECAST_FILE} +[document-folder]: ${DOCUMENT_FOLDER} diff --git a/img/goals.png b/img/goals.png new file mode 100644 index 0000000..0a7b327 --- /dev/null +++ b/img/goals.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb6c5985ba58d4e5b5ae049ad4645624cc6a6999c62c8d499744ee4a40e3e984 +size 38586 diff --git a/resources/Definitions.md b/resources/Definitions.md new file mode 100644 index 0000000..32c2160 --- /dev/null +++ b/resources/Definitions.md @@ -0,0 +1,47 @@ +# Definitions + + + +### CFM50 {#cfm50-definition} + +Is a unit of measurement that is taken when a blower door test is performed on the home. Stands for +$C$ubic $F$eet per $M$inute at 50 pascals. + +### IAQ {#iaq-definition} + +Stands for $I$ndoor $A$ir $Q$uality. We spend most of our time indoors, so having good indoor air +quality can help reduce illness and potentially improve the quality and longevity of life. + +### LAIR {#lair-definition} + +Stands for $L$eakage $A$ir $I$nfiltration $R$ate, which is a metric that compares the square footage +of the home and it's blower door number. This aids in determining if a home is controllable by +properly sized HVAC equipment or if [shell] improvements (air sealing and insulation) should be +considered. + +### Load Caclulation {#load-calculation-definition} + +A load calculation, also called a Manual-J, calculates the heating and cooling requirements for a +home. Each home has a unique heating and cooling load based on the direction it faces, the air +leakage, the location, the insulation values, the types and sizes of windows, among other factors. + +### Shell {#shell-definition} + +Shell is a term used to describe the enclosure of the house. It is often used when talking about air +leakage and insulation levels. + +### SHR {#shr-definition} + +Stands for $S$ensible $H$eat $R$atio. Sensible heat ratio is the ratio of work required by the air +conditioner to remove moisture, as well as maintain the sensible temperature. The higher the number +the better. + +### TESP {#tesp-definition} + +Stands for $T$otal $E$xternal $S$tatic $P$ressure, which is a metric used to determine how much +resistance the blower motor has to overcome for the airflow requirement of the system. + +### WC {#wc-definition} + +Stands for $W$ater $C$olumn, which is a unit of measurement for pressure. diff --git a/resources/footer.template.tex b/resources/footer.template.tex new file mode 100644 index 0000000..a76b1ec --- /dev/null +++ b/resources/footer.template.tex @@ -0,0 +1,24 @@ +% customize the footer +\usepackage{fancyhdr} +\pagestyle{fancy} +% clear all footers +\fancyfoot{} +% clear all headers +\fancyhead{} + +% change font size on footer. +\newcommand{\changefont}{% + \fontsize{8}{10}\selectfont +} +% NOTE: What is displayed in the footer of each page. +\fancyfoot[LE,LO]{ + \href{${COMPANY_WEBSITE}} + {\changefont\textbf{ + ${COMPANY_WEBSITE_DISPLAY} + }} +} +\fancyfoot[RE,RO]{\textbf{ + \changefont{ + Phone: \href{tel:${COMPANY_PHONE}}{\color{orange}${COMPANY_PHONE}} + } +}} diff --git a/resources/head.tex b/resources/head.tex new file mode 100644 index 0000000..a2f14f6 --- /dev/null +++ b/resources/head.tex @@ -0,0 +1,74 @@ +% https://jdhao.github.io/2019/05/30/markdown2pdf_pandoc/#the-top +% These were adapted from the above, which was very helpful in getting this +% functional. + +% change style of quote, see also https://tex.stackexchange.com/a/436253/114857 +\usepackage[most]{tcolorbox} + +% change page margins +\usepackage[top=2cm, bottom=1.5cm, left=2cm, right=2cm]{geometry} + +% change the line spacing +\usepackage{setspace} +\setstretch{1.25} + +\usepackage[utf8]{inputenc} + +% NOTE: This needs to stay above hyperref otherwise internal links break. + +% start each section on new page and make section titles orange. +\usepackage{titlesec} +\titleformat{\section} +{\color{orange}\normalfont\Huge\bfseries} +\newcommand{\sectionbreak}{\clearpage} + +% custom colors +\definecolor{applegreen}{rgb}{0.55,0.71,0.0} + +% Remove figure from images +\usepackage[labelformat=empty]{caption} + +\usepackage{fancyvrb,newverbs} + +% see for different color codes https://rgbcolorcode.com/color/E6FFEA +\definecolor{linequote}{RGB}{224,215,188} +\definecolor{backquote}{RGB}{230,255,234} % background color of quotes +\definecolor{bordercolor}{RGB}{221,221,221} + +% change left border: https://tex.stackexchange.com/a/475716/114857 +% change left margin: https://tex.stackexchange.com/a/457936/114857 +\newtcolorbox{myquote}[1][]{% + enhanced, + breakable, + size=minimal, + left=10pt, + top=5pt, + bottom=5pt, + frame hidden, + boxrule=0pt, + sharp corners=all, + colback=backquote, + borderline west={4pt}{0pt}{bordercolor}, + #1 +} + +% redefine quote environment to use the myquote environment, see https://tex.stackexchange.com/a/337587/114857 +\renewenvironment{quote}{\begin{myquote}}{\end{myquote}} + +% remove the abstract title. +\usepackage{abstract} +\renewcommand{\abstractname}{} +\renewcommand{\absnamepos}{empty} + +\def\squarefoot{$ft^{\text{2}}$ } +\def\goalsimage{ +\begin{center} + +\hfill\break +\hfill\break + +\includegraphics[width=0.6\linewidth,height=\textheight,keepaspectratio]{img/goals.png} + +\end{center} + +} diff --git a/scripts/gen.sh b/scripts/gen.sh new file mode 100755 index 0000000..297e8e4 --- /dev/null +++ b/scripts/gen.sh @@ -0,0 +1,23 @@ +#!/bin/zsh + +# This script is used to generate the output files and replacing +# variables used with ones setup in the vars.sh file. + + +OUT_DIR=${OUT_DIR:-"outfiles"} +OUT_FILE=${OUT_FILE:-"Report.out.md"} +IN_FILE=${IN_FILE:-"Report.md"} +local footer="resources/footer.template.tex" +local footer_out="${OUT_DIR}/footer.tex" + +if [ ! -d "$OUT_DIR" ]; then + mkdir "$OUT_DIR" +fi + +echo "Writing footer to: ${footer_out}" + +(source vars.sh; envsubst < "$footer" > "$footer_out") + +echo "Writing to: ${OUT_FILE}" + +(source vars.sh; envsubst < "$IN_FILE" > "$OUT_FILE") diff --git a/scripts/notify.scpt b/scripts/notify.scpt new file mode 100644 index 0000000000000000000000000000000000000000..55832290376926124b40fe6f2ba0ebd5b0cee194 GIT binary patch literal 998 zcmb_b%Wl&^6g_rK9a|1=2N8uqg3@phXD4}eU+-!)cNa7^hjrWE_DfglN?e>#x zn=0CfuMIw|IH*8-3)6#%O|+08#vNqvu}eP13q*625%~}p@Fpggp-+jAF?!VW@oJ8h zq&K$_6;Vb(erHTGlf*E?@i?`yl>06+2+Lst^lf|0vWm_x+m9K?dQr|)_QhNuEQ901 z(cYKmng7>AL=ypBLpU4=WmtR4YHHS2*d4@KBKrPD>zcpAXYWe)TVRKz^g2_KMI*mG ziQ-H&nC3O*e?VnJ*}GCx7%=_r-qp>VS`U&m>O|>e(2W=^R)S{kxVbrao`&hPxu|d{ zTL>zEgWK>}<|*5lv3VmltBnb{m{_2JknJ49#Vs~wi>S+%C|N>jpV}L2Obz#Pzrm&7 zV9{^zn_|?V1)M(CRbHs$91Mj6?N(9XhTB$0(!jq@+3&W|)6O-`IFKlM5z08Yf?Ns