Saturday, March 12, 2011

Fukishima Daiichi and Daini Reactors Perspective

Japan's 8.9-magnitude earthquake may well turn out to be one of those nation-defining moments that is seared in the psyche of its citizens.  My thoughts and prayers go out to the millions without electricity, without homes, without food, without clean water.  When the earthquake hit, almost all major electricity-producing entities shut down.  Including nuclear facilities.

Here's what's going on in mostly plain English, for the readers out there who might come across this site.

First of all, it's important to keep this in perspective: Japan has 52 operating nuclear power plants, and the issue at hand relates to 7 units.  The other 45 have handled the earthquake and tsunami acceptably.

Three of the reactors at Daiichi were operating when the quake hit: units 1, 2, and 3.  They're all Boiling Water Reactor types (dangit! the physics just got harder), and they produce between 440 and 760 megawatts of electricity -- each.  Assuming they're 33% efficient, that's almost 6,000 megawatts of power that they produce, total.

When the earthquake hit, they all began a normal shutdown procedure by driving the control rods UP into the core. (You normally think of control rods falling DOWN into the core, but this is a boiling water reactor, which means things are very different for various reasons.  In a BWR, the rods come up from the bottom.  See figure.) This shuts down the nuclear chain reaction -- but it doesn't stop the generation of heat.  This continuation is from the continued radioactive decay of the core, known as decay heat.

Nuclear engineers have a few rules of thumb about decay heat: at time of shutdown, it's typically about 5% of the initial core power, and declines steadily (although not linearly) after that.  In this case, 5% of the initial 6,000 megawatts of power means it's still producing about 350 megawatts of power. (Note this is just thermal power, not electricity, as the turbines are isolated as part of the shutdown procedure.)  Simple physics and heat transfer dictate that the heat must be removed -- or the reactor starts heating up.

A former mentor of mine, when teaching a reactor thermohydraulics course, wisely stated it as:
The reactor is going to get the heat out, or it's going to die trying.

That's kind of where the Japanese are (or were, as of last night) with their reactors.  If the 350 megawatts of heat isn't removed from the core, the core starts heating up.  To address this, all reactors have circulation pumps to move cooling water around and remove the decay heat.  But what powers the pumps?

The cooling pumps have multiple, independent power sources, nearly all of which were wiped out by the tsunami: remote power stations went offline; the diesel generators either didn't work or were damaged by the tsunami; but they did have battery backups that lasted for a little while.

As things heat up, the pressure increases.  This is okay, up to a point.  The Tokyo Electric Power Company (TEPCO) has notified the Japanese government that they have initiated a few releases of steam -- basically, a controlled burping the reactor.  The World Nuclear News site says that pressure is normally 400 kPa, and the "burping" starts at 840 kPa.

Does this release radioactivity?  Well, theoretically, yes.  It does.  There are trace amounts of tritium, activated nitrogen, and activated oxygen in the cooling water.  But the amount is very, very small, and does not present a hazard to life, or a significant risk for cancer.  It's a drop in the bucket compared to the amount of natural background our bodies are exposed to every day from the earth and sun.  I'm quite sure this point will be lost or glossed over in the press headlines over the next few days.

Then there was an explosion at one of the containment domes at the Daiichi site.  Wow; that got my attention this morning.  The burping cycle I described above can keep things under control for quite a while (as long as you've got backup power to run the pumps, which they appear to have fixed the generators, and they are now pumping seawater into the reactor for makeup water).  The question is, did the explosion come from the reactor itself?  Or something outside the reactor?

In this case, it appears to have come from outside the reactor.  During this burping process, things can get pretty hot.  Hot enough, in fact, to separate the oxygen from the hydrogen in water.  So now you have hydrogen and oxygen floating around, and they get burped to the containment dome.  A small spark from the stator of one of the cooling pumps is all it takes to ignite the hydrogen, and poof.  (Apparently these pumps aren't ignition protected, which IS a requirement in US reactors today.)  An unfortunate explosion inside the containment dome.  That's better than the reactor exploding, but it's undesirable because you've now lost one of the (many) protective barriers between the fuel and the outside world.  I don't know what damage was done to the reactor in the explosion.   Modern day reactors are designed to handle this; the three Daiichi reactors were built in 1971, 1974, and 1976, and I don't know what design criteria were in effect then.  The four reactors at Daini were all built in the 1980's.

Lastly, some perspective:
Chernobyl: Absolutely, positively, NO CHANCE of something like that happening here.  At Chernobyl, the operators were doing something stupid, ignoring at least 4 levels of safety alarms and automatic shutdowns, and managed to get an aging reactor (designed in 1954) into an unstable condition that is totally impossible in any modern reactor (including the ones in Japan today).  The reactor went prompt supercritical, blew the lid off the reactor vessel, exploded the reactor building, and sprayed fuel elements around the countryside.  Not remotely possible here.

Three Mile Island: Distant possibility of that happening here, but even in that case, it's important to remember: even though 30% of the core melted, "there will either be no case of cancer or the number of cases will be so small that it will never be possible to detect them. The same conclusion applies to the other possible health effects." Wikipedia has a good summary of the incident.  In this case, the operators have seawater available, they appear to have power to operate the circulation pumps, and it's just a waiting game until remote power can be restored to the sites.


So, that's where we are now, as of about 9:00am EST on March 12th.  Certainly, an industry-defining moment.  Many will proclaim this to be another nail in the coffin for nuclear power; many will hail this as showing that nuclear reactors can safely withstand an 8.9 magnitude earthquake.  Me?  I'm somewhere in the middle: yes, the design appears to be working okay (even though this is one more reason that I don't like boiling water reactors and prefer pressurized water reactors), but why weren't the diesel generators housed / located / sized / reinforced to handle the tsunami?  If those generators had worked like they were supposed to, we wouldn't be in any of this mess.

Here are the sites I'm going to be following:

Saturday, March 5, 2011

Measurement of Internet Popularity Score

As I've mentioned before, generating comments from content on the internet is harder than I expected it to be.  Over the past few months, I've spent some time thinking about how to quantify that: how can you score how active a site is on the internet?

One easy metric is the number of hits your internet site gets per month.  To clarify, here is a screenshot of this blog's hits per month, courtesy of the statistics Google provides:



So, I'm averaging about 150 hits per month, although it's been tailing off lately (partly due to the fact that I'm telling Google not to track my own page views).  That's fairly meager, as other sites can get over a million hits per month.

I think another measure of internet popularity is the number of comments generated on the site.  Is the site so popular that people feel the need to put in their own two cents?  In that regard, I'm pretty meager at (as of this writing) 2 comments.  Ever.  But many of the sites I read, I read them because of the comments -- sites like slashdot, armscontrolwonk, and arstechnica often have more meat in the comments (from its readership) than in the original postings.  And then, of course, there are sites like facebook and twitter where the content is the comments.

So, what if you combine those two metrics?  I present the "Measurement of Internet Popularity Score", or MIPS.

(click for full size version)

Note the log-log scale.  This covers a lot of ground.  I've highlighted and named a few regions:

  • Lonely Outpost: Less than 300 hits per month and typically less than 10 comments per month.  Yep, I'm squarely in this field.
  • Minor Internet Contributor: These sites have a readership between 100 and about 50,000 hits per month, and generate fewer than 100 comments per month. Niche sites and very popular blogs fall into this category.
  • Broadcaster: These are sites with huge levels of readership, but aren't necessarily geared towards generating comments.  Some news sites and government information-dissemination pages fall into here.
  • Major Internet Contributor: These are the heavy-hitters of the internet, which can draw large readership and spark enough interest that hundreds to thousands of people feel compelled to post their comments.
  • Social Media: When the readership gets above about 100,000, and the number of comments approaches the number of readers, now you're into social media territory.
  • 4 Chan: This is the land of the absurd, where you get more than 1 comment per hit.  4 Chan is one stereotypical example of a site overrun with internet freaks and teenagers who post their ramblings and inappropriate blather on the internet.  For the record, I never go there; I just know about it from xkcd references.
It has to have a catchy name, but I'm not sure MIPS is quite it.  In the meantime, help out this blog's MIPS by telling your friends and posting your thoughts (other areas? other names?) in the comments.

Thursday, February 17, 2011

The Call Of The Wild

I noticed some odd behavior today.  The fact that it happened TWICE means I had to blog about it.

Have we, as a collective society, forgotten that voicemail exists anymore?

I was in the bathroom today at work -- admittedly, a fairly private place where conversations are usually short and awkward.  At least for guys; I can't speak for women.  Nobody really wants to have (or feels comfortable having) a detailed conversation when ... well, you get the idea.

So today, I was washing my hands, when some guy's cell phone rang while he was on the toilet.

The guy answered his cell phone.  While on the can.  And then he had a brief, exceedingly awkward conversation that went something like, "Hey, Joe ...  Yeah, I'm, uh, indisposed ... Look, I can't talk right now.  Can I call you back in 2 or 3 minutes?"

A few hours later, I was back in the bathroom -- a different one this time -- and some guy is standing at the urinal, when HIS phone rings.  And he answers his cell phone.  This is particularly frightening because at least one hand is already engaged in a fairly important activity.  "Jerry, I'm gonna have to call you back, OK?"

Twice?  In the bathroom?  On the same day?  Really?

Given the existence, reliability, and price (free) of voicemail, AND the existence of Caller ID on almost every cell phone in the world today, I find this behavior completely illogical.  I've noticed hundreds of people doing while in line in Starbucks, or in a crowded hallway, or paying for something at the checkout line, or while driving, or in a meeting, or while engaging in a whole host of other activities when it's not really appropriate or convenient to talk.  BUT THAT'S WHY THEY INVENTED VOICEMAIL!!!

And now with Google Voice, which will send you a text message or e-mail of your transcribed voice message, it is that much easier to just hit the "ignore" button to silence your phone if you don't want it to keep ringing.  And with caller ID, you already know who's calling you.  And yet -- people still feel compelled to answer the phone and be their own voicemail.

I just don't get it.  Does anyone out there have a rational explanation for this behavior?

Friday, February 4, 2011

Geography Quiz Answers

So, I posed questions a few days ago.

1.  If you go due east from Seattle, where do you hit the East Coast?

ANSWER: New Brunswick.  Canada.

Yep, that's right: Seattle is further north than all of Maine.

I didn't believe it at first, either, and thought that maybe the Mercator projection was playing some non-Euclidian tricks on me or something.  Nope.

Seattle, Washington: 47° 36' N
Estcourt Station, Maine: 47° 28' N

2.  If you go due south from Atlanta, where do you hit South America?

ANSWER: You don't.  All of South America is east of Atlanta.



3.  The northernmost point in the United States is determined by some really weird metrics.  Technically, it's the northwestern most point of the Lake Of the Woods.  While that sounds simple, in practice, it's a little complicated and makes for one heck of a squiggle in the northern border of the United States.  It also makes for an orphaned section of land that technically belongs to the US.  How weird is this?

According to wikipedia, the Lake of the Woods was supposed to be divided up such that the "northwestern most corner of the Lake" defined the northern border of Minnesota.  And look -- you can obviously see what they meant: that edge of Buffalo Bay would make a lot more sense.  But, no, upon detailed evaluation, there's some crazy inlet that's just slightly more northwest than the Buffalo Bay.  And hence, there's that slice of land that technically belongs to the US but is clearly connected to Canada.

And people live and vacation on that slice!!  There's an elementary school, there are a couple of resorts (some open year round), and even a golf course.  For the record, these hardy souls live at 49.345 degrees North.  Wow.  Brrr.

So, there's your geography quiz for the week.  All from a little poking around with Google Maps.  Hope you enjoyed it.

Wednesday, February 2, 2011

Geography Quiz

There's a chance I'll be making a trip to a small, northern Canadian town for work in the next year or so.  I looked it up on Google maps but -- just like looking up words in a dictionary -- I got distracted in looking at other things and finding where some things lie in relation to other things.

So, here's your Geography Quiz for the week.  Take a guess at the answers WITHOUT referring to a map, atlas, or other site on the internet.  The answers might surprise the heck out of you.  I'll post the answers in another day or so.

1.  If you draw a line due east from Seattle, where do you hit the East Coast?


2.  If you draw a line due south from Atlanta, where do you hit South America?


3.  Why do you need a passport to drive to the northern most part of the continental United States?

Answers in a few days.

Wednesday, January 26, 2011

When Norm Speaks, I Listen

Norm Augustine is my hero.

No, seriously -- if there is anyone who has significantly contributed towards making the world a better place through prolonged hard work and dedication (rather than a singular invention or product), it's Norm Augustine.

Aside: OK, you could probably argue that Steve Jobs, Bill Gates, and the Google Guys have had an equally impactful role in society.  But Norm is in a different class of engineering: metal, carbon fiber, and freaking large institutions.  End Aside.

So, wow, did my ears perk up when I saw this article in Forbes by Mr. Augustine: America is Losing Its Edge In Innovation.  When Norm speaks, I listen.
And, oh by the way, he used to be CEO of Lockheed Martin during some of its most innovative years.  Anyhow, that's all just for background in case you didn't know who the guy was.  Or you can check out his wikipedia page.

Back to the Forbes article that is the point of this post.  There are many good quotes in there, but this one really, really rang true for me:

In fact, scientists and engineers are celebrities in most countries. They’re not seen as geeks or misfits, as they too often are in the U.S., but rather as society’s leaders and innovators. In China, eight of the top nine political posts are held by engineers. In the U.S., almost no engineers or scientists are engaged in high-level politics, and there is a virtual absence of engineers in our public policy debates.

I have seen the pitfalls of this in many, many government circles.  People making dumb decisions for the wrong reasons.  Alas.

He goes on to extol the virtues of proper spending on education, engineering, and science in this country, and how "greatness must be worked for and won by each generation."  All a few days ahead of the President's State of the Union address.

But enough from me.  Just go and read the article -- it's not long.  And enjoy.

Friday, January 21, 2011

The Continuing Resolution

The Continuing Resolution (CR) that our government is currently under is really, really hurting the country, and it's not getting enough coverage in the news.

While an under-reported piece of news like the CR is not new or noteworthy, I think it's worth some rational discussion when Congress is actively wasting time making symbolic statements and political posturing about Obamacare.  The act was provocatively named "Repealing The Job-Killing Health Care Act" and reviewed by the Congressional Budget Office.  It has a very, very small chance of being passed by the Senate and zero chance of being signed by the President (he said as much in a press release).

I freely admit that there may be room for improvement in Obamacare.  For example, I never quite grasped how forcing health care companies to accept nearly all applicants won't cause rates to rise dramatically.  I do, however, applaud the idea of making almost all preventive medicine covered.  And I'm actually supportive of requiring people to get health care -- an ounce of prevention is worth a pound of cure.

But, whatever.  The point of this post is not to debate the merits of Obamacare.  It's to lament the dog-and-pony show that the House is putting on with this Act (they spent three days debating the bill) when there are far, far more pressing and important issues to be dealt with.  Namely, THE BUDGET.

Do your job, Congress.

Passing a budget is perhaps the single most important thing that Congress can do each year.  And they missed it badly for FY2011.  See, in the normal budget cycle, there are 12 bills that are individually passed (one bill from each of the twelve subcommittees of the House Committee on Appropriations) and then signed by the President.  Often, things don't go swimmingly, and they have to roll some or all of them together in an "omnibus spending bill".  In fact, that usually happens.  From 1997 through 2007, there were only 3 years  (Table 1) where at least one bill wasn't combined with another to form some kind of omnibus bill.  And in 1987 and 1988, ALL subcommittee bills were combined into one, whopping document.

And then, there are other years where Congress really doesn't get its act together and doesn't pass a spending bill by October 1st.  In fact, the Congressional Research Service states the following (page 13):

In 26 of the past 31 years (FY1977-FY2007), Congress and the President did not complete action on a majority of the regular bills by the start of the fiscal year.  In eight years, they did not finish any of the bills by the deadline.  They completed action on all the bills on schedule only four times: FY1977, FY1989, FY1995, and FY1997.

So what happens when they don't pass a budget?  Then you're in the dreaded realm of the Continuing Resolution:
  • Each month, you're only allowed to spend 1/12th of last year's budget;
  • No new contracts can be awarded or new projects started;
  • When the Continuing Resolution ends, you must spend whatever new money you receive in a shorter period of time to not have excessive carry-over in the next year.

This wreaks havoc on anyone trying to plan their program.  We are now ~ 4 months into FY2011, and no one has a budget.  As a government program manager, chances are, you can't build.  You can't expand.  You can't grow.  And for a country that's trying to reduce its 9.8% unemployment rate, that's a big deal.

And yet Congress (well, at least the House) prances about, passing an irrelevant bill that will never be signed.  "Re-arranging the deck chairs on the Titanic" doesn't cut it -- at least people USE deck chairs occasionally.  This is like handing out maps of Cincinnati on the Titanic.

There is a perfect storm brewing:
  1. Congress was unable to come to an agreed-upon spending bill (twice) in December, and they have now pushed the Continuing Resolution until March 4th.  And, by the way, the House is in session for 9 days in February and only 3 days in March before that deadline hits. That leaves very little time to negotiate and debate a fix to this problem.
  2. The Treasury Department estimates that we'll hit the current debt limit ceiling of $14.3 trillion sometime between March 31 and May 16. 
  3. The GOP has told the White House that they're not likely to raise the debt ceiling.
I'm sad that the above situation isn't being reported in the headlines.  Sure, it's buried in bits and pieces, but I don't think it's getting the attention that the whole package deserves.  Congress needs to figure out a budget, and figure out a way to raise the debt ceiling acceptably.

But what I'm afraid will happen is that Congress will keep kicking the can down the road: do a stop-gap increase in the debt ceiling, and make ALL of FY2011 a Continuing Resolution ... resulting in a null year that could have accomplished so much, and at a time when so much was needed.  Alas.

Saturday, January 15, 2011

Obligatory Airline Rant

Everyone has a rant against the airline industry at some point or another.  This one is mine.  But I'm going to try to make an insightful observation or two along the way, so the purpose of this post is to improve the system, not just to denigrate it.

So, yes, in this case, I come to praise Caesar, not to bury him.  (Shakespeare had it the other way around.)

I will briefly relate the two anger-inducing experiences I've had on airline flights recently, then we'll dive into identifying what this feels so frustrating, and then maybe what can be done about it.  You might find the connection interesting (some more than others.)

SCENARIO NUMBER ONE:
The first leg of my two leg flight had a delayed departure due to maintenance.  (Ironically, one of the 3 navigational computers was down, but the pilot was able to cajole the maintenance crew into letting him fly with only 2. Huh; that didn't make me feel any better.)  My connection to Leg #2 was very, very tight ... but the airline KNEW that I was on Leg #1.  I was in the back of the plane, but there was one other passenger on the plane making my same connection.  I ran to the next gate, only to be told that they had shut the door 5 minutes ago.

I tried to reason.  I tried to argue, politely.  All they had to do was open the door (the plane was still there!!) and let me on.  Otherwise, since this was the last flight of the night, they would have to buy me a hotel room and a few meals ... so, clearly, the better option for them was to open the plane back up and let me on.

"It's our policy; we can't open the door once it's closed.  You can call the service desk at one of our courtesy phones at the other end of the terminal."

I ended up spending the night in Cincinnati.  The best advice I got, all night, was from the hotel concierge: "Oh, sir, don't feel bad about it.  There wasn't a seat for you on that plane -- they had already sold it to someone else."  That made a hell of a lot more sense than anything the airline had told me.

SCENARIO NUMBER TWO:
I was boarding a smallish plane out of DCA on a recent snowy evening.  The boarding started 30 minutes late, and just at the start of boarding, they told us they were overbooked by 13 seats.  13 SEATS??!?  On a small plane?  That's hard to do.

Again, this was the last flight of the night.  Only one or two people jumped at the offer of a $400 voucher.  So they called a list of 10 names, although I have no clue how they determined who was on that list. (They said it was by check-in order, but I had checked in 3 hours early and was still one of the 10.  I find that unlikely.)

The airline began boarding a bunch of people, while the 10 of us cooled our heels by the side.  We were confused and slightly frustrated, and said as much to a passing supervisor.  He then said, "Folks, let me see your tickets."  At which point he selected a few of us, randomly, and told us to board ... at which point we leapfrogged all the other people who were in line to board.

Once on the plane, they told us that they had to bump some people because of weight restrictions, and the need to carry extra fuel in case our primary destination was snowed in.  They only revealed that fact once we were on the plane, and there only ended up being 4-5 empty seats on the plane, not 13 like they originally claimed.

DISCUSSION:
So, what's going on here? The two examples might seem unrelated (albeit annoying), but there's a fundamental tenet in human factors and interface design that I think is very, very relevant here.  The field of human factors and the man / machine interface is a surprisingly interesting field ... I've worked on a couple of projects where you have to pare a lot of technical information down to the minimum necessary for an operator to perform a job.  At first blush, it seems ridiculous.  But when you actually try to do it, and you realize the guy on the operating end of the screen doesn't have a PhD in the technology you're dealing with, it can get very interesting to try to reduce something down to its bare essentials.  It has always been one of Apple's strong suits: the Human Interface Guidelines.

Anyhow, one of the basic laws of human factors, and GUI design in general, is the following:

Never let the user feel like he has lost control.

Think about it the last time you got frustrated at a computer: the mouse icon had switched to an hourglass, your window was completely unresponsive, and you couldn't fix it.  All you had done was hit "Control-S" to save your document.  The computer was chasing down some infinite loop, you were forced to sit by idly and listen to the cooling fan spin up and go crazy.  You had no idea why you had gotten into this predicament.  If you were lucky, control-alt-delete would bring up the Task Manager, and you could kill the process.  If you were unlucky, you gave the computer a one-finger salute and hit the power button.

Or how about when you're sitting on the other end of customer service, and they've put you on infinite hold Muzak?  You are forced to sit there listening to the crap they pipe over the phone line, with no way of getting immediate assistance.

Life is the same way.  It's totally understandable, but we get frustrated when we lose control.  Even more so when we don't know why.  So when airlines, computers, customer service, or any other activity takes control away from us and turns us into pawns, we get frustrated.  Some folks lash out.

The answer?

Give customers a choice.  Make them feel like they have some control.

For instance: some customer service lines tell you how many minutes you have remaining until the next agent is available.  This is FANTASTIC.  The customer now has a choice: I can wait 20 minutes until the next agent is available, or I can bail and call back another time.

In the case of a stuck computer, a simple window could pop up, with a "Cancel" button in the corner: "Word is trying to save your file."  Of course, Microsoft would never do anything like that -- Microsoft is far too intelligent to be bothered to give you a status update or to give you any input into what it does.  Microsoft knows what's best for you.  ()

Or, in the case of the airlines, being honest with me and giving me a choice would have gone much farther: "Sir, we've given your seat to a standby passenger.  You can go standby on the next flight, or you can get a hotel room for the night."

In Situation #2 above, they started out very well by offering passengers a chance to get the voucher, but they dropped the ball, badly, by calling people out at random -- and then letting them board at random.

So, other industries and service communities could take a good lesson learned from the human factors group.  And although Admiral Hyman Rickover famously hated the human factors group with vitriol, I think they provide some useful guidance in today's society.