Skip to content

Commit 17bcef2

Browse files
committed
add variable table
1 parent 29ff3ff commit 17bcef2

File tree

1 file changed

+130
-1
lines changed

1 file changed

+130
-1
lines changed

docs/formulas.md

Lines changed: 130 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,104 @@ toc-title: Table of contents
3838
This document contains the mathematical formulas implemented in the
3939
`npa-howtopay` model, organized by functional area.
4040

41+
## Variable Definitions
42+
43+
### Customer and Conversion Variables
44+
| Variable | Description | Units |
45+
|----------|-------------|-------|
46+
| $N_{gas}(t)$ | Number of gas customers in year $t$ | customers |
47+
| $N_{gas,init}$ | Initial number of gas customers | customers |
48+
| $N_{electric}(t)$ | Number of electric customers in year $t$ | customers |
49+
| $N_{electric,init}$ | Initial number of electric customers | customers |
50+
| $N_{converts}(t)$ | Cumulative heat pump converts through year $t$ | customers |
51+
| $HP_{converts}(t)$ | Sum of NPA households and scattershot converters in year $t$ | customers |
52+
| $N_{customers}(t)$ | Total number of customers in year $t$ | customers |
53+
54+
### Energy Usage and Efficiency Variables
55+
| Variable | Description | Units |
56+
|----------|-------------|-------|
57+
| $U_{gas}(t)$ | Total gas usage in therms in year $t$ | therms |
58+
| $U_{electric}(t)$ | Total electric usage in kWh in year $t$ | kWh |
59+
| $Q_{heating,therms}$ | Average per-customer heating need in therms | therms/customer |
60+
| $Q_{electric,kWh}$ | Average per-customer electric need in kWh | kWh/customer |
61+
| $K_{therm\to kWh}$ | Conversion factor from therms to kWh | kWh/therm |
62+
| $\eta_{HP}$ | Heat pump efficiency | dimensionless |
63+
64+
### Gas System Variables
65+
| Variable | Description | Units |
66+
|----------|-------------|-------|
67+
| $C_{gas,var}(t)$ | Gas variable costs in year $t$ | $ |
68+
| $C_{gas,fixed}(t)$ | Gas fixed costs in year $t$ | $ |
69+
| $C_{gas,overhead}(t)$ | Gas fixed overhead costs in year $t$ | $ |
70+
| $C_{gas,maintenance}(t)$ | Gas maintenance costs in year $t$ | $ |
71+
| $C_{gas,NPA,opex}(t)$ | Gas NPA OPEX in year $t$ | $ |
72+
| $C_{gas,opex}(t)$ | Gas OPEX costs in year $t$ | $ |
73+
| $R_{gas}(t)$ | Gas revenue requirement in year $t$ | $ |
74+
| $RB_{gas}(t)$ | Gas ratebase in year $t$ | $ |
75+
| $ror_{gas}$ | Gas rate of return | % |
76+
| $D_{gas}(t)$ | Gas depreciation expense in year $t$ | $ |
77+
| $P_{gas}(t)$ | Gas generation cost per therm in year $t$ | $/therm |
78+
79+
### Electric System Variables
80+
| Variable | Description | Units |
81+
|----------|-------------|-------|
82+
| $C_{electric,var}(t)$ | Electric variable costs in year $t$ | $ |
83+
| $C_{electric,fixed}(t)$ | Electric fixed costs in year $t$ | $ |
84+
| $C_{electric,overhead}(t)$ | Electric fixed overhead costs in year $t$ | $ |
85+
| $C_{electric,maintenance}(t)$ | Electric maintenance costs in year $t$ | $ |
86+
| $C_{electric,NPA,opex}(t)$ | Electric NPA OPEX in year $t$ | $ |
87+
| $C_{electric,opex}(t)$ | Electric OPEX costs in year $t$ | $ |
88+
| $R_{electric}(t)$ | Electric revenue requirement in year $t$ | $ |
89+
| $RB_{electric}(t)$ | Electric ratebase in year $t$ | $ |
90+
| $ror_{electric}$ | Electric rate of return | % |
91+
| $D_{electric}(t)$ | Electric depreciation expense in year $t$ | $ |
92+
| $P_{electric}(t)$ | Electricity generation cost per kWh in year $t$ | $/kWh |
93+
94+
### Revenue and Inflation Variables
95+
| Variable | Description | Units |
96+
|----------|-------------|-------|
97+
| $R(t)$ | Revenue requirement in year $t$ | $ |
98+
| $R_{adj}(t)$ | Inflation-adjusted revenue requirement in year $t$ | $ |
99+
| $R_{electric,adj}(t)$ | Inflation-adjusted electric revenue requirement in year $t$ | $ |
100+
| $R_{gas,adj}(t)$ | Inflation-adjusted gas revenue requirement in year $t$ | $ |
101+
| $d$ | Discount rate | % |
102+
| $t_0$ | Start year | year |
103+
104+
### Tariff and Billing Variables
105+
| Variable | Description | Units |
106+
|----------|-------------|-------|
107+
| $C_{electric,fixed,per\_customer}$ | Electric fixed charge per customer (user input) | $/customer |
108+
| $C_{electric,var,kWh}(t)$ | Electric volumetric tariff per kWh in year $t$ | $/kWh |
109+
| $C_{gas,fixed,per\_customer}$ | Gas fixed charge per customer (user input) | $/customer |
110+
| $C_{gas,var,therm}(t)$ | Gas volumetric tariff per therm in year $t$ | $/therm |
111+
| $B_{per\_customer}(t)$ | Bill per customer in year $t$ | $/customer |
112+
| $B_{electric,converts}(t)$ | Electric bill per customer for converts in year $t$ | $/customer |
113+
| $B_{electric,nonconverts}(t)$ | Electric bill per customer for non-converts in year $t$ | $/customer |
114+
| $B_{total,converts}(t)$ | Total bill per customer for converts in year $t$ | $/customer |
115+
| $B_{total,nonconverts}(t)$ | Total bill per customer for non-converts in year $t$ | $/customer |
116+
| $B_{gas,nonconverts}(t)$ | Gas bill per customer for non-converts in year $t$ | $/customer |
117+
118+
### Depreciation and Project Variables
119+
| Variable | Description | Units |
120+
|----------|-------------|-------|
121+
| $f_{dep}(t, t_p, L)$ | Depreciation fraction for project $p$ in year $t$ | dimensionless |
122+
| $RB(t)$ | Total ratebase in year $t$ | $ |
123+
| $D(t)$ | Total depreciation expense in year $t$ | $ |
124+
| $C_{maintenance}(t)$ | Total maintenance costs in year $t$ | $ |
125+
| $t_p$ | Project year for project $p$ | year |
126+
| $L_p$ | Depreciation lifetime for project $p$ | years |
127+
| $C_p$ | Original cost of project $p$ | $ |
128+
| $C_{p_{non-NPA}}$ | Original cost of non-NPA project $p$ | $ |
129+
| $m_{pct}$ | Maintenance cost percentage | % |
130+
131+
### Synthetic Initial Project Variables
132+
| Variable | Description | Units |
133+
|----------|-------------|-------|
134+
| $W_{total}$ | Total weight for synthetic initial projects | dimensionless |
135+
| $L$ | Depreciation lifetime | years |
136+
| $RB_{init}$ | Initial ratebase | $ |
137+
| $C_{est}$ | Estimated original cost per year | $/year |
138+
41139
## Gas System Calculations
42140

43141
### Gas Number of customers
@@ -100,6 +198,8 @@ $$C_{gas,opex}(t) = C_{gas,fixed}(t) + C_{gas,var}(t)$$
100198
**Variables:**
101199

102200
- $C_{gas,opex}(t)$: Gas OPEX costs in year $t$
201+
- $C_{gas,fixed}(t)$: Gas fixed costs in year $t$
202+
- $C_{gas,var}(t)$: Gas variable costs in year $t$
103203

104204
### Gas Revenue Requirement
105205

@@ -113,6 +213,7 @@ $$R_{gas}(t) = RB_{gas}(t) \times ror_{gas} + C_{gas,opex}(t) + D_{gas}(t)$$
113213
- $R_{gas}(t)$: Gas revenue requirement in year $t$
114214
- $RB_{gas}(t)$: Gas ratebase in year $t$
115215
- $ror_{gas}$: Gas rate of return
216+
- $C_{gas,opex}(t)$: Gas OPEX costs in year $t$
116217
- $D_{gas}(t)$: Gas depreciation expense in year $t$
117218

118219
## Electric System Calculations
@@ -138,7 +239,9 @@ $$N_{converts}(t) = \sum_{i=1}^{t} HP_{converts}(i)$$
138239
**Variables:**
139240

140241
- $N_{converts}(t)$: Sum of NPA households and scattershot converters
141-
in year $t$.
242+
in year $t$
243+
- $HP_{converts}(i)$: Sum of NPA households and scattershot converters
244+
in year $i$
142245

143246
### Total Electric Usage
144247

@@ -151,7 +254,9 @@ $$U_{electric}(t) = N_{electric,init} \times Q_{electric,kWh} + \frac{N_{convert
151254

152255
- $U_{electric}(t)$: Total electric usage in kWh in year $t$
153256
- $N_{electric,init}$: Initial number of electric customers
257+
- $N_{converts}(t)$: Cumulative heat pump converts through year $t$
154258
- $Q_{electric,kWh}$: Average per-customer electric need in kWh
259+
- $Q_{heating,therms}$: Average per-customer heating need in therms
155260
- $K_{therm\to kWh}$: Conversion factor from therms to kWh
156261
- $\eta_{HP}$: Heat pump efficiency
157262

@@ -165,6 +270,7 @@ $$C_{electric,var}(t) = U_{electric}(t) \times P_{electric}(t)$$
165270
**Variables:**
166271

167272
- $C_{electric,var}(t)$: Electric variable costs in year $t$
273+
- $U_{electric}(t)$: Total electric usage in kWh in year $t$
168274
- $P_{electric}(t)$: Electricity generation cost per kWh in year $t$
169275

170276
### Electric Fixed Costs
@@ -191,6 +297,8 @@ $$C_{electric,opex}(t) = C_{electric,fixed}(t) + C_{electric,var}(t)$$
191297
**Variables:**
192298

193299
- $C_{electric,opex}(t)$: Electric OPEX costs in year $t$
300+
- $C_{electric,fixed}(t)$: Electric fixed costs in year $t$
301+
- $C_{electric,var}(t)$: Electric variable costs in year $t$
194302

195303
### Electric Revenue Requirement
196304

@@ -204,6 +312,7 @@ $$R_{electric}(t) = RB_{electric}(t) \times ror_{electric} + C_{electric,opex}(t
204312
- $R_{electric}(t)$: Electric revenue requirement in year $t$
205313
- $RB_{electric}(t)$: Electric ratebase in year $t$
206314
- $ror_{electric}$: Electric rate of return
315+
- $C_{electric,opex}(t)$: Electric OPEX costs in year $t$
207316
- $D_{electric}(t)$: Electric depreciation expense in year $t$
208317

209318
## Bill Cost Calculations
@@ -231,6 +340,7 @@ $$B_{per\_customer}(t) = \frac{R_{adj}(t)}{N_{customers}(t)}$$
231340
**Variables:**
232341

233342
- $B_{per\_customer}(t)$: Bill per customer in year $t$
343+
- $R_{adj}(t)$: Inflation-adjusted revenue requirement in year $t$
234344
- $N_{customers}(t)$: Number of customers in year $t$
235345

236346
### Electric Fixed Charge Per customer
@@ -295,6 +405,12 @@ $$B_{electric,converts}(t) = C_{electric,fixed,per\_customer} + C_{electric,var,
295405

296406
- $B_{electric,converts}(t)$: Electric bill per customer for converts
297407
in year $t$
408+
- $C_{electric,fixed,per\_customer}$: Electric fixed charge per customer (user input)
409+
- $C_{electric,var,kWh}(t)$: Electric volumetric tariff per kWh in year $t$
410+
- $Q_{electric,kWh}$: Average per-customer electric need in kWh
411+
- $Q_{heating,therms}$: Average per-customer heating need in therms
412+
- $K_{therm\to kWh}$: Conversion factor from therms to kWh
413+
- $\eta_{HP}$: Heat pump efficiency
298414

299415
### Non-Converts Electric Bill Per customer
300416

@@ -306,6 +422,9 @@ $$B_{electric,nonconverts}(t) = C_{electric,fixed,per\_customer} + C_{electric,v
306422

307423
- $B_{electric,nonconverts}(t)$: Electric bill per customer for
308424
non-converts in year $t$
425+
- $C_{electric,fixed,per\_customer}$: Electric fixed charge per customer (user input)
426+
- $C_{electric,var,kWh}(t)$: Electric volumetric tariff per kWh in year $t$
427+
- $Q_{electric,kWh}$: Average per-customer electric need in kWh
309428

310429
### Converts Total Bill Per customer
311430

@@ -317,6 +436,7 @@ $$B_{total,converts}(t) = B_{electric,converts}(t)$$
317436

318437
- $B_{total,converts}(t)$: Total bill per customer for converts in
319438
year $t$
439+
- $B_{electric,converts}(t)$: Electric bill per customer for converts in year $t$
320440

321441
### Non-Converts Total Bill Per customer
322442

@@ -330,6 +450,7 @@ $$B_{total,nonconverts}(t) = B_{gas,nonconverts}(t) + B_{electric,nonconverts}(t
330450
in year $t$
331451
- $B_{gas,nonconverts}(t)$: Gas bill per customer for non-converts in
332452
year $t$
453+
- $B_{electric,nonconverts}(t)$: Electric bill per customer for non-converts in year $t$
333454

334455
## Depreciation and Inflation Calculations
335456

@@ -348,7 +469,10 @@ $$RB(t) = \sum_{p} f_{dep}(t, t_p, L_p) \times C_p$$
348469

349470
- $f_{dep}(t, t_p, L)$: Depreciation fraction for project $p$ in year
350471
$t$
472+
- $RB(t)$: Total ratebase in year $t$
473+
- $t$: Current year
351474
- $t_p$: Project year for project $p$
475+
- $L$: Depreciation lifetime
352476
- $L_p$: Depreciation lifetime for project $p$
353477
- $C_p$: Original cost of project $p$
354478

@@ -364,6 +488,10 @@ $$D(t) = \sum_{p} \begin{cases}
364488
**Variables:**
365489

366490
- $D(t)$: Total depreciation expense in year $t$
491+
- $t$: Current year
492+
- $C_p$: Original cost of project $p$
493+
- $L_p$: Depreciation lifetime for project $p$
494+
- $t_p$: Project year for project $p$
367495

368496
### Maintenance Costs
369497

@@ -378,6 +506,7 @@ C_{p_{non-NPA}} & \text{if } t_p < t \leq t_p + L_p \\
378506
**Variables:**
379507

380508
- $C_{maintenance}(t)$: Total maintenance costs in year $t$
509+
- $t$: Current year
381510
- $m_{pct}$: Maintenance cost percentage
382511
- $C_{p_{non-NPA}}$: Original cost of non-NPA project $p$
383512
- $t_p$: Project year for project $p$

0 commit comments

Comments
 (0)