Risk Assessment Follies

July 30, 2015

I heard recently, “X was telling me how you were saying that people shouldn’t wear bicycle helmets”. This is not correct; I know better than to violate tribal norms like that, and bicycle helmets have been measured to reduce head injuries by 64%, offset by a pile of sweat and a 36% increase in neck injuries (i.e., a net reduction in horrible injuries). However, the focus on and attention devoted to helmets-helmets-helmets for bicycling-bicycling-bicycling is not at all rational. If helmets make sense for bicycles, they make sense for other activities with a similar risk of head injury, there are other bicycle risk mitigations that work about as well that we scarcely mention, there are other similarly-sized risks with mitigations that are seemingly not to be discussed at all, and there are much larger risks that most people willingly expose themselves to every day that bicycling (with or without a helmet) mitigates quite nicely.

(Most risk stats cited here are from OECD, “Cycling, Health and Safety” which contains a compendium of studies on bicyling health and safety. You can read it online.)

For comparison, consider that use of daytime running lights has been measured (just one study, but a pretty good one) to reduce risk of a serious crash (one resulting in an insurance claim or hospital visit) by about 50%. Not 50% of some injuries – 50% of serious crashes. No additional sweat, no additional offsetting increases in other injuries, just a flat reduction in crashes. If we took a rational approach to risk reduction, we’d hear about as much about this as we do about wearing helmets.

Or, compare the risks of riding a bicycle to the risks of riding in a car. You might think that riding a bike is vastly less safe, but per-trip (in the US), it is only about twice as dangerous and 25 times safer than riding a motorcycle. Head injuries are also plenty dangerous in automobiles, which in the US cause 14% of all traumatic brain injuries and 26% of all TBI-related deaths. Researchers in Australia have proposed a cheap and lightweight “headband” for use in cars; they estimate it would save A$380 million (US$276 million) in “reduced societal harm” in Australia alone. If we took a rational approach to risk reduction, and that rational approach had us recommending helmets for bicycles, it would almost certainly also have us seriously discussing the use of helmets in automobiles. It would be surprising if the line between “not that risky” and “too risky” fell so cleanly and definitely between the two activities.

There are other cycling risks that are scarcely discussed at all. It turns out that particulates – especially from some older diesel engines, especially from small engines with uncontrolled emissions – are very bad for us. How bad? Studies cited in the OECD survey suggest that the pollution risk for cyclists is about half as large as the crash risk for cyclists – however, it is not just cyclists that bear this risk. Pedestrians walking near streets are disproportionately affected, and drivers are affected as well. Drivers experience the greatest concentration, but pedestrians are exposed for the greatest duration and inhale the most air per mile. Summed over all the exposed population this is a good-sized risk, because almost everyone is exposed. Given a rational approach to risk, we’d expect to hear a whole lot about the need to get stinky small engines off the roads (replace them with small electric scooters) and the need to ban or upgrade diesel engines in urban areas (newer ones are cleaner).

And finally, there are the other huge risks that cyclists avoid that non-cyclists endure in apparent blissful ignorance. Again in the OECD survey (page 44, table 1.2) we can see a summary of studies on the health benefits of cycling. Five studies in three countries, all adjusted for confounding factors, giving the relative risk ratio (for annual mortality) for cyclists (in at least one study, bicycle commuters) compared to non-cyclists. These range from 0.66 to 0.79 – that is, if we instead regard cycling as the norm, non-cyclists increase their annual risk of death somewhere between 25% and 50% (these numbers are all-cause mortality, so they include crash risk – which in the US appears to be in the ballpark of a 5% increase in annual risk; more than I like, but not nearly large as the no-exercise risk). The majority of the US population is exposed to this much-larger risk. Someone with a rational approach to risk would not waste much time at all worrying about the relatively small risks to bicycle riders (all of them) as long as so much of the population was exposed to this much large risk.

However, we’re not rational, so let me again endorse the wearing of helmets in the United States. Studies show it will make you slightly safer. There’s all sorts of risk reductions we should be looking into, but we don’t talk about those because we’re not rational.

My attempts at explaining our net metering discussion, based on information from town meeting last night, discussions with both sides afterwards, and further discussions with friends who happen to know about some of the particulars of high-priced pump storage power suppliers.

I should add that there’s a huge issue with the framing of this issue, and it is possible to view the solar producers as overpaid electricity suppliers, or as freeloading users of our electrical grid, or as very aggressive energy conservers. I’m more interested in the town-wide question of our overall costs, our overall reliability, and our overall reduction in CO2 emissions.

What I did and didn’t figure out

This little section still a work in progress, but it is more or less a summary

The most important question is “where do we (want to) sit on the scale between patsies and freeloaders?” It appears that the bulk of the benefits from rooftop solar are spread either throughout the grid (reduced overall electric costs because of marginal-rate pricing) or throughout the world (tiny but non-zero reductions in CO2 emissions). A freeloader would advocate spending nothing, not because there are no benefits, but because we get the vast majority of the benefits from the contributions of patsies in other communities, so why shouldn’t we save our money? If we’re not willing to move some distance from “freeloader” there’s not too much point discussing the details of the benefits. The way the freeloader-vs-patsy problem is usually resolved is regulations and mandates from government — like the requirement on Investor-Owned-Utilities to do a certain amount of net-metering.

Another important thing is that whatever the benefits are, they are cumulative — we are not forced to look at the largest one and say “that’s not enough”. Rooftop solar reduces CO2 emissions AND reduces regional afternoon peak grid loads (thus reducing marginal cost) AND reduces hot-afternoon neighborhood loads (perhaps extending life of aging infrastructure, also reducing our consumption of very-high-priced regional-peak energy even though our peak is in the evening).

However, and this is also very important, there are alternatives to net metering that reduce loads more efficiently; for example, buying (good) LED light bulbs and giving them away for incandescent bulb replacement cuts a greater amount of energy consumption for the same amount of money, till we run out of bulbs to replace. LED light bulbs are not directly comparable because their savings aren’t as well-timed to regional peak loads as rooftop solar, but the overall energy savings are a good deal larger.

The benefits of net metering are likely of a decently large size (within a factor of two of the “subsidy”, one direction or the other) but very difficult to predict even in a given year. Effects on marginal cost pricing are often spiky, not smooth. Any effects on equipment lifetime are difficult to measure (it’s hard to observe the failure that didn’t happen). To the degree that they reduce peak loads, other conservation measures (LED lightbulbs, more efficient air conditioners, painting roofs white, improved roof circulation/insulation) also have a similarly spiky payoff that may over time yield substantial cost savings.

Yet more information, see also, “The Future of Solar Energy” (MIT). We probably get more bang for our buck if we spend our money on large-scale solar installations, rather than rooftop-by-rooftop. Details in the paper (I skimmed the executive summary), they make sense to me. Note one of the authors is Belmont resident and town meeting member Henry Jacoby.


Fixed costs and subsidies

The fixed portion of a typical electric bill is about 50%, but we don’t charge like that. That is, the usual price of electricity is designed to reward conservation and to be friendly to frugal users, who are disproportionately poor and/or retired. This is especially sensible in our current situation of tightly-constrained supply (non-Belmont readers – we have an aging bottleneck in our supply, and a replacement is under construction), but it remains sensible in the face of the need for CO2 emissions reduction.

Based on this crude calculation of fixed and variable costs, the 20 solar power producers in town who do net metering (who sell their excess production back to the light department and receive in return the full retail price for that energy) receive a “subsidy” of about $800 per year each, which results in higher costs to the non-solar ratepayers. The subsidy can either be viewed as underpayment of the fixed costs of a connection, or receiving far more for the energy they sell than other suppliers receive – either way, the light department says it’s $800. However, there’s 10,000 of us, and only 20 of them – per year, this subsidy costs each non-solar ratepayer about $1.60.

Compensating for social costs of CO2

Another way of looking at this number is to consider what we consider the social cost of a ton of CO2 – probably about $40. To put that into perspective, a $40 tax per CO2 ton is about 40 cents per gallon of fuel oil or gasoline (that is, burning 100 gallons of light petroleum yields about a ton of CO2). For power generation in the northeast, the “marginal emissions rate” is 914 lbs of CO2 per megawatt-hour, or 2200 kWh per ton of CO2. Marginal emissions rate is not the average over all production – it is the amount of CO2 emitted for the next MWh we request, or the amount avoided if we use 1 MWh less. (This calculation tends to underweight nuclear because the economics of nuclear plants tend towards always-on; the MWh  we avoid using will be something other than nuclear). As near as I can tell, each home solar installation avoids the consumption of about a MWh per year, perhaps double. From the pure social benefit view of things, we’ve declared that is worth $10 – $40 per year.  Each home solar installation produces on average about 6MWh per year, avoiding about 3 tons of CO2 emissions, and from a social benefit point of view that is worth about $120.  This would be double counting if we had a proper carbon tax, but we don’t yet. (Thanks to Roger Wrubel for this much better information.) One problem with accounting for the social benefit is that it is spread over many other people, not just the residents of Belmont — if we are expected to pay it, it should be required by regulation or imposed as a tax, and not voluntary. But contrary to that, note that right now it is a regulation that for-profit electric companies do net-metering; for those companies it is not voluntary.  Yet another complication; someone, somewhere, is probably getting a “Renewable Energy Credit” for that solar energy.  A friend in Texas with solar panels says that RECs are worth $60 per MWh, but he thinks the companies that do the “our panels on your roof” game have claimed them — and in some sense that is double-counting the social benefit.

HOWEVER, there are details that suggest that the story is not so simple or complete. There are (at least) three good reasons why solar is worth more than just the CO2-reduction benefit, or costs less than the claimed subsidy.

Need to calculate “subsidy” carefully

First, the price of electricity is not constant – it is more expensive during the day, and cheaper at night. Solar production only occurs during the day. The constant price charged by the light company is an average designed to let them break even considering consumption over 24 hours, 365 days per year. However, the average price is not too far below the usual daytime cost – the bulk of the electricity is consumed during the day, therefore the average price is going to be closer to the daytime cost. This is not that big a factor. But nonetheless, it is a factor, and it shaves a bit off the “subsidy” because solar energy is sold back during those hours when the power company’s supply costs are higher; in rare but somewhat predictable cases, the power company’s costs are so high that they are losing money on every additional kWh they sell to normal customers, and solar on the local net saves them money, even when they pay the full retail cost that they charge their customers.

Cutting (or not) the peak load.

The second reason has to do with cutting the peak load; there are (apparently) costs associated with wholesale power consumption and delivery that depend on Belmont’s peak power consumption over various periods of time. To the extent that solar reduces this peak, it saves money – however, for Belmont, the peak load usually occurs late in the afternoon or early in the evening well after the peak hours for solar production, so again, here the factor is not large. It would be nice to know what this formula is.

Marginal pricing and a silly market example

The third reason is the interesting one, and the tricky one. Why is electricity more expensive during the day? How is that price determined? The short, opaque answer is that the price of electricity is roughly determined by its marginal cost. Consider a simple example that will get more complex:

Suppose you had to make a 1000-egg omelette. For that many eggs, you pay attention to the cost of eggs, so you buy as many of the cheapest eggs you can find. Say, you can buy eggs at 8 cents each – but only 500, then that source runs out ($40 for those eggs). The next cheapest you can find cost 15 cents per egg, but you can only get 300 of those ($45 for those eggs), and you still need 200 more eggs. The next best price is $20 cents per egg, but that supplier only has 199 ($39.80 for those). The next cheapest supplier remaining always has eggs, but at a price of one dollar per egg (at those prices, it’s not surprising). Fortunately, you only need one. Your total cost is $125.80 for eggs.

According to one person I talked to, the suppliers in electric power markets are paid the marginal production cost, even if it is much higher than their bid. That means that if eggs were priced like power, on that day when you need to buy 1000 eggs and the last egg cost a dollar, you would pay a dollar for each of the eggs, even though 999 were offered at $.20 or less. The total cost is therefore $1000.

Another person I talked to says that’s not entirely right – that suppliers get paid what they bid, but the suppliers are not dummies. They know roughly how much capacity everyone has, they know the general plans for omelette-making, and they game their bids accordingly – so the bids were not for $.08, $.15, and $.20 – they were much higher, because they knew you were going to need a lot of eggs. It’s not quite the festival of price-fixing you might imagine it could be, because some suppliers (nuclear, in particular) cannot easily take their plants off-line, and they don’t save much money even if they could, there are many suppliers, and they are also a regulated utility.

If someone has better information on how this pricing works I would love to have it, and I would also be happy to align the egg prices to kWh supplier prices – or if it works better to ordinary egg prices, to make them a clean multiple, like double.

I found two better sources and they both suggest that the power market pricing really is based on marginal costs, with a few sensible exceptions for things like emergency reserves.  One paper is part of an ISO-NE slide deck on power pricing, and the other is a study of the effects of wind power on power markets in other parts of the country.

Note the importance of the marginal, last egg. Using power pricing rules, if you needed one less egg, then the last egg costs only $.20, and thus the cost of omelette supplies is only $199.80, and the savings are $800.20. Using kitchen pricing rules, that last egg avoided saves us only $1 – far less.

This looks a fabulous advantage for solar “eggs”, because they are usually available on summer afternoons when demand can be very high – but on a given day, you don’t know if you’re going to get lucky and avoid buying the eggs that make the difference between $1000 and $200. Some days your omelette is so big that you can’t avoid the expensive eggs, some days the low-cost suppliers have enough eggs that it’s not an issue, some days your omelette is small enough that it’s not an issue. The demand and supply have to be “just right” to get lucky like this. But when it happens, it’s a really big win. Does it happen often? Is the win that big?  I don’t know any of this for sure.

Who gets the benefits of our solar “spending” / are we freeloading on the IOUs?

There is a further caveat; the price of electricity is set regionally in a regional market based on regional supply and demand. When the highest-priced supplier’s energy is not needed, everybody wins. A solar panel in Arlingon is just as effective at this as a solar panel in Belmont. Therefore, a Belmont electric company that is only interested in what is best for Belmont might quite reasonably choose to let other communities install solar, and we will benefit from that at no cost to Belmont. Or, alternately the electric company might feel, and again quite reasonably, that if they are going to take $16,000 from the pockets of their rate-payers each year, that it might better be spent buying some other peak-shaving energy supply where we obtain more load reduction per dollar. This would be even more reasonable if the electric company could point to where they had spent $16,000 and obtained a more effective reduction in demand or CO2 emissions.

We pay for insurance, we pay for reliable reserve capacity

And on top of that, I think there is yet more to worry about. We need a certain supply of responsive, expensive backup generation “just in case”, and it’s no surprise that sometimes it has fixed costs, and those fixed costs are only paid when they can sell energy into expensive peak markets. Their fixed costs don’t go away just because there’s less demand for their services, and if those costs have to be amortized over less use, then either the cost of peak-load generation goes up or else the peak-load generators go out of business. Solar might let us pay for peak supply less often, but at those times when we still need, it might be more expensive. There’s a limit to how high these costs can rise; if/when it is cheaper to install large batteries around the electrical grid, we’ll do that instead – and that cost will come down over time, too.
The wind power study linked above mentions this also — wind is variable, therefore some quick-starting reserves need to be kept on hand, and these have expenses that cannot be met in a normal power market:

“Although fundamentally very different, both MISO and PJM operate a capacity market that is designed to provide a source of income to generators that may not sell enough electricity to be economically viable, but are necessary to RTOs in order to satisfy target reserve margins and ensure system reliability. As more variable energy sources are added to an RTO system, the premium for reserve capacity could rise.”

Delivery also has costs, not sure how they are priced.

The eggs and omelettes example can be extended to include the problems of electrical delivery. Here in Belmont we are constrained by the limits of our aging substation, and that is why we are spending money to replace it. But this problem occurs in general throughout the grid; wires have capacities, substations have capacities, nothing is perfectly efficient, and sometimes it is broken. It as if eggs were delivered by bicycle messengers – some ride big bikes, some ride little bikes, you have to be sure that you have enough messengers to deliver your eggs when you need them, even though other omelette-makers are bidding for their services at the same time. And, sometimes the messengers hit bumps and break a few eggs, and the further the eggs must travel the more bumps they hit and the more eggs you lose. In rare cases, a messenger crashes, all the eggs they were carrying are lost, and the messenger and/or bicycle is out of commission for a while. When there aren’t enough low-priced messengers to get the eggs that you need when you need them, then you need to pay more.

Here, I have not yet heard or figured out what the pricing structure for electricity/egg delivery is – because delivery is less interchangeable than electrical energy, it doesn’t make sense for everyone to pay the cost of the most expensive link in the system. So I don’t know exactly what is going on in this market except that I am sure that prices will spike when links are near their capacity. I know that when there is only one messenger service that everyone must contract with, they can game the prices to make a lot of money – that was Enron’s business.

Alternatives?

I have some sympathy for the light company’s position, but not at all for their explanation. It’s not as simple as “we subsidize them”, nor is the “subsidy” as large as is claimed. I’m not exactly begrudging the current home solar generators the $1.60 that I toss their direction each year, and it’s a small enough amount of money that I’d like to see the light company spending that much each year installing or investing in a better source of renewable, peak-shaving power, subsidizing conservation, or something similar. It would prove their point very effectively.

It need not be solar – a good-sized battery at our new substation might allow us to smooth the peaks of our consumption, completely avoid last-minute purchases, and perhaps even to sell into that market. That might not make sense at today’s battery and electricity prices, but those are both changing.

Below, an earlier version of this contained a math error — LED bulbs are indeed a very superior investment.

Or consider what $16,000 spent on LED light bulbs to replace incandescent bulbs will return in one year, and over time. At current prices that will buy 640 (good) “100-watt replacement” bulbs, and each of those bulbs uses 80 watts less. If we assume that 640 bulbs are each operated 5 hours each day, that is 256kWh saved per day, times 365 days gives you a little over 90MWh savings per year. Each year we buy more bulbs and save more, till we run out of incandescent light bulbs to replace. If half the homes in town have only one such costly light bulb in common use, it would still take us 8 years to do this. However, even after eight years of spending at this level we’ve only cut our annual consumption by 8MWh, versus the (estimated) 120MWh that rooftop solar saves us. For one year, rooftop solar is ahead, but after two years of LED purchase the savings per year are 180MWh, and after 5 years 450MWh — 3.75x our savings from solar. Notice that solar is better timed to the regional peak, but LED lightbulbs are better timed to the Belmont (early-evening) peak, and also have the effect of reducing the A/C load on summer evenings by a small but non-zero amount.

So LED light bulbs are generally a better way for the light department to spend money for load reduction, till we have run out of places to put them. (Note that in a town full of rational consumers, we would already have LED light bulbs in all sockets run more than two hours per day — over a period of 5 years, such a light bulbs saves $11.50 per year, and nobody would pass up that deal just because the light department had given away their annual quota of light bulbs).

(Note also that if you worry about losing heat from light bulbs in the winter, that resistive heating is not a great source of energy – with a heat pump you get 3 times as much warmth for a given amount of energy consumption, and you get it where you want it, not close to the ceiling warming up a room you’re not in or the snow on your roof).

Energy Auctions

After reading more papers and thinking about how the auctions work, I think the rule for marginal pricing is that it applies to each auction, and there are multiple auctions. There’s an auction the day before; there’s an hourly auction the next day, and I think there is an auction every five minutes. The marginal price in the day-before auction determines what is paid in that auction; the marginal price in the hourly auction determines what is paid in that auction, and similarly for the five minute auctions. But the marginal prices in the five minute auction (which may be very high) I think only apply to that auction — it does not result in more money in the pockets of the suppliers who sold into the previous evening’s auction, or in the most recent hourly auction. And because it is for only a short amount of time it is not as much overall power as what is bid for in the hourly markets, hence the high price for energy only applies to a smallish amount of energy (usually, you hope).

An interesting thing to notice is that wind appears to sell only into the short-term market of at least one RTO (regional transmission operator PJM, mid-Atlantic plus Ohio and a bit more). This makes a certain amount of sense; we have a better idea how hard the wind will be blowing just an hour ahead of time, rather than 12-24 hours ahead of time, and the prices tend to be higher in those markets — and the wind providers bid $0 so they are guaranteed to get in on whatever market there is, knowing that they will be paid marginal price, not their bid:
“During calendar year 2011, wind represented 2% of the marginal generation used for the real-time energy market. Wind was never a marginal generation source for the day-ahead market in 2011. As discussed above, the day-ahead and real-time markets typically include 95% and 5% of energy transactions, respectively. In 2011, wind power accounted for 1.5% of electricity generation in PJM.”
This has the potentially unfortunate effect of putting wind more directly into competition with short-term reserve supplies. Some RTOs establish separate markets for “capacity” that tries to capture the ability to reliably deliver electricity on demand, and wind does not score well on this metric.

And further:

In 2009, PJM conducted a study that considered the wholesale power price impacts of adding 15,000 MW of wind power in the PJM market. Results from the study indicated that the addition of wind power would decrease wholesale market prices by $4.50 per MWh. As a result, market-wide expenditures for wholesale power would go down. For comparison, PJM’s system-wide load-weighted average LMP was $45.19 in 2011.

Adding 15,000 MW of wind power would be a quadrupling, from about 2.5% of PJM’s total generation capacity to about 10% of total generation capacity. Here, it’s not clear if “wholesale market prices” mean over the entire power generation market (day-ahead and real-time) or only in the smaller real-time market.

I am not much closer to knowing how much a given amount of rooftop solar reduces the marginal cost of electricity. One particular difficulty in comparing effects from this paper is that wind tends to peak when demand is lower, the opposite of solar:

“The profile of wind generation is inversely correlated with the load demand profile in ERCOT. Much like other regions of the country, when load demand is high, wind production is low and vice versa.”

That means solar ought to have a relatively larger effect in reducing the wholesale market price (for the definition used in that paper).

Here’s an interesting source of information that I have yet to digest. I am trying to figure out what fraction of the total ISO-NE capacity solar represents, and how much an additional fraction of solar is likely to affect the overall wholesale price (in what market, for how much energy? day ahead? real time?) and to compare that to Belmont’s contribution. And by “figure”, I mean an educated conservative guess — if moving from 2.5% to 10% wind in PJM cuts wholesale prices by 10%, we might expect a similar inverse relation (or better, because of better alignment with regional peak demand) in the 0-10% range for solar. Useful/interesting facts so far — Massachusetts “nameplate” solar capacity is currently 666MW, forecast to roughly double by 2023 or 2024. ISO-NE’s solar is 909, forecast to rise to 2450MW through 2024. This document from ISO-NE suggests actual delivered solar power of 331 GWH out of a total of 127,108 GWH for 2014, or about 1/4 of one percent. It would not be outlandish to project savings of a similar magnitude or larger in “wholesale prices” — the effect is diminishing with larger scale, 0.25% is not much scale, PJM sees a 10% reduction in “wholesale prices” by increasing wind’s share to 10%, and wind isn’t even well-timed against high load like solar is. Note that wholesale prices are only a fraction of retail prices, but based on the figures here I estimate that the claimed solar subsidy costs each Belmont customer not quite 0.13% of their retail bill.

Feedback and questions

So, enough details? Constructive comments and corrections are extremely welcome, I’ve got no time for ad hominem attacks, imputing nefarious motives, and I take a dim view of cherry-picking information. Checking my math is great; I’ve found one large error, though the rest of the numbers seem about right. I’d love references. I’d love better explanations of how the electricity market works (I’ve been working hard to figure this out, there are apparently rounds of bidding that occur a day ahead, an hour ahead, and then every five minutes, and apparently you really want to avoid spending money in the five-minutes market. “The rugby team just showed up, I need to make a ginormous omelette, pronto! What, we’re out of eggs?”)

A question via email from friend JF: “Right now, the cost of the solar panel pay back (since subsidy doesn’t seem to be the right word) for the majority of us is rather low. But won’t that increase as users increase? In that case, won’t what it costs non-solar users like me get to be something that isn’t acceptable? (I do understand that this will mean that the number of solar users will increase and the number non-solar users will decrease, of course. )”

The answer is yes, certainly. On the other hand if it turns out that there is a net benefit to rooftop solar, then for small multiples of the current number of installations the benefits also increase. There is a point at which the increase in benefits falls off, but I think this would not happen even for ten times as many rooftop solar installations (i.e., 200, out of 10000, or 2%). Note again that we don’t get to capture the full magnitude of the benefits, and nothing prevents us from capturing the benefits of other solar installations — there is an incentive to (in game thoretic terms) “freeload”.

One point made in conversation with the light company is that it is important to “get the price right”. I think they are worried about a range of possible futures, that might include much more affordable solar, a rapid increase in the number of installations, and a widespread expectation of net metering prices for solar (or worse, a lot of people who had committed money to a solar installation and perhaps now have a strong financial interest in continuing it).

Questions (not a complete list)

Who’s getting the RECs for rooftop solar in Belmont?

Are we already paying something like a carbon tax for some or all of our power?
I think we are — $10 per ton — but I’m not sure of the details.

In what ways is Belmont Light already spending money to reduce electrical demand, peak or otherwise? How effective is that spending? (Need to start here to look for answers.)

Are we being clear about what we think our social obligations are? Do we wish to err in the direction of being freeloaders (doing less, getting more) or chumps (doing more, getting less)?

Related interesting stuff

An interesting summary of the economics of the Tesla PowerWall. Note their uncertainty about how the cost of the inverter is accounted in SolarCity’s proposed package deal; I’m glad to know I’m not the only puzzled person here.

Volvo thinks they’ve done great stuff because they’ve either invented or promoted a reflective spray to make cyclists and other stuff visible at night:

I figured out what hacks me off about this — it’s as if Altria (formerly, R. J. Reynolds) ran commercials that proclaimed how they had done such great work on lung cancer research, and had developed an inhaled spray that you could use before smoking that would cut the early death rate from smoking (by some unspecified amount because they didn’t really do a study — just like here, nobody did a study).

Look at how great they are, cutting lung cancer deaths, right? It would be churlish and unkind to point out that their own product caused the bulk of those deaths, right?

And that doesn’t mean that smokers would not consider using this product if it actually worked, that doesn’t mean that they might not consider other safety measures (just as people like me who use lights and reflective tape nonetheless don’t much like this campaign by Volvo). The problem is that the company contributing to the problem in a large way is trying to claim major credit for doing something to make that problem only a tiny bit better, in a way that displaces responsibility onto the victims (“what, you didn’t use our protective spray before smoking? You have only yourself to blame for that lung cancer, then.”)

Is this a reasonable analogy? Are cars in the same death ballpark as smoking? They’re not quite as risky on a per-user basis — the relative annual mortality risk from smoking is between 1.8x and 2.1x (“Smoking and Mortality: The Kaiser Permanente Experience”) while the relative risk from driving to work (versus commuting by bicycle) is between 1.27x and 1.5x (“OECD: Cycling, Health and Safety”, p. 42). But only 18% of the population smokes, while 86% of the population drives to work. Smaller risk per person, but almost 5x as many people exposed.

One big reason that people drive when they could walk, or bike, or some combination of biking, walking, and transit, is that other people drive (badly). Volvo doesn’t want you to think that your driving is a threat to other people’s safety, or that it might scare them into also driving — but what is that reflective spray for? What’s it supposed to protect people on bicycles from? Surely not Volvo drivers. And surely, Volvo would not create a video designed to give the impression that people on bikes are somehow careless, or did not properly understand risks of the road, thus they just need some help (from Volvo, naturally) to make themselves safer.

Note that people on bicycle spot other people ahead of them by the tiniest little reflective bits; they don’t need this absurd spray. A walked dog has eyeballs; they reflect light, and the dog will hear you coming and look at you from an absurd distance. Most athletic shoes have small bits of reflective trim; for a 3 watt headlight, that is enough. Pedal reflectors work great. Backpacks and windbreakers often have bits of reflective trim. Sometimes, people will be walking with their cell phone open or on, either because they want a little light, or because they are using it; that works too. That’s all you need, for someone who actually cares to look, who knows that inventing an excuse for why you hit someone in the dark will not undo the fact that you (on the bike) got the worse end of the crash.

Not too long ago, we had #BlackLivesMatter protests that blocked some of the roads in the Boston area. There was much handwringing about how ambulances and other emergency vehicles were (potentially) delayed, but in that one-time event only one ambulance was diverted, and I heard of no particular harm from this one event.

Meanwhile, almost every work day there are traffic jams that impede ambulances. On the days that I shop at Fresh Pond Mall, in the few minutes that I am outdoors I often notice an ambulance slowed or even stopped by traffic.  I assume if I spent an hour watching during the rush that I would see one or more of these delays every single day.  The delays at the protests were larger, but if you roll the dice with small delays again and again and again, eventually there will be losses. Oddly enough, nobody makes too much of a fuss about these delays.

Notes on I2C on Atmega328p

February 7, 2015

Registers:

TWBR = bit rate

TWCR =
  TWINT interrupt flag
  TWEA enable acknowledge
  TWSTA set start
  TWSTO set stop
  TWWC collision detected
  TWEN twi enable
  – reserved
  TWIE interrupt enable

TWSR =
  TWS(7:3) status
  – reserved
  TWPS (1:0) prescaler
 

TWDR = data register

SCL freq = CPU clock / (16 + 2 * TWBR * 4TWPS).

TWBR must be at least 10 for master mode.

SCL freq must be 100Khz or less.
CPU clock is 8 Mhz.
Denominator must be larger than 80 = 16 + 64, TWBR * 4TWPS must be greater than or equal to 32.
TWBR=10-31, TWPS=1 (40-124)
TWBR=32-255, TWPS=0 (32-255)
At 100kHz, send data at about 10kB/s. 80 characters requires 8ms.

Master-side state changes for writing a data byte to a slave:

TWCR = _BV(TWSTA)|_BV(TWINT)|_BV(TWEN)|_BV(TWIE)
Receive interrupt, check TWSR for successful start.

TWDR = SLA+W (W=0, R=1: SLA = 0x50 for Newhaven serial display
TWCR = _BV(TWINT)|_BV(TWEN)|_BV(TWIE)
Receive interrupt, check TWSR for successful address.

TWDR = data
TWCR = _BV(TWINT)|_BV(TWEN)|_BV(TWIE)
Receive interrupt, check TWSR for successful data.

repeat data.

TWCR = _BV(TWSTO)|_BV(TWINT)|_BV(TWEN)|_BV(TWIE)
Receive interrupt, check TWSR for successful stop. Read the rest of this entry »

Today’s Bad Driving

January 15, 2015

First, we start with someone who is doing something that requires two hands on the smartphone, surely not texting, that would be illegal:

Notice how the Prudent Cyclist is none too eager to pass this person after noticing their unpredictable and erratic driving.

Next, we have someone piloting their barge down the Broadway Ship Channel, and they have inadvertently strayed outside the marked boundaries.  Remember boaters, “Red, Right, Return”.

With studded tires, there’s not much to it.  If it’s flat, you go:

Not obvious in this video is that I was getting plenty of rear wheel spin after I passed the pedestrian.  I was just in a mood to scratch the ice, so I did.  It’s not at all clear that I needed the studs here, though the pedestrian seemed to think it was slippery.

If it’s a hill, sometimes you can’t go.  The rear wheel just spins, so you stop.  Careful putting your feet down, too.  It’s important to put the better tire on the front, so that “can’t go” is what happens:

Apologies for the heavy breathing; I was in a hurry to get home in the first, and climbing a 10% grade in the second.

Follow

Get every new post delivered to your Inbox.

Join 201 other followers