Sunday, April 20, 2008

Fountain Prototype


Martha and I are building a pool in the back yard. In that pool will be hot tub, and pouring into that hot tub will be a fountain. I want lots of water flow, and curves, especially since the overall pool will be rectangular (due to the automatic cover). To give you an idea, here's the pool:


The hot tub is circular, and has a 1 foot thick wall that seperates it from the pool. Out of the center of that wall, water will leap up, arch over, and fall into the tub. This will pour nicely over your shoulders if you are an adult, and it will make a fancy tube to explore if you are a child.

The trouble is that nobody sells a curved fountain like this. No problem, I'll just assemble it from a number of straight sections. Also, I do not want to use high-pressure pool pumps for this thing. Instead, I want to use low-power, low-pressure pond pumps. The manufacturer of the fountain has specs for the amount of water flow you need, but not the pressure. I smell project risk. Time for a prototype. Here's the overall arrangement: two fountain units, 1 foot wide each, one Sequence 4200seq12 pump, and some pipes to move the water.





I've got a flow gauge, two pressure gauges, and a ball valve so I can figure out how many gallons per minute throws the water how far.


I've also got a peanut gallery. They're interested because they're going to get to dance around in the water in a bit.


The fountains throw water about as far as the manufacturer claims. Note that my flow rates are for two 1 foot units.

Flow rateThrowNotes
48 GPM26.0 inches7 inch rise
45 GPM23.5 inches
41 GPM18.7 inches
37 GPM14.7 inches
35 GPM11.5 inches3+ psi pressure drop

I learned a bunch of things from this prototype:
  • The flow through the two units was not identical. One moved about 8% more water than the other, and threw the water a little further.
  • The flow through each units was not uniform. The unit throwing farther was throwing farther on one end.
  • With no fine filtration, and just a skimmer before the pump, the fountain units quickly accumulated debris that interfered with the flow.
  • The water sheet from each unit contracts from surface tension as it gets farther from the fountain. A 14 degree included angle between the two units turned out to roughly match the contraction, but this still left a constant gap from one to the next. I may try to fix that by mitering the two fountains together.
  • Martha and I agreed that 15 or 20 GPM per linear foot is not enough. We really like 25 GPM/foot better.
  • The fountain water entering the water surface was the cause of all the noise. The pump was really quiet, and you could only hear it when you walked right over to it.
  • The pump really doesn't prime itself. I had to stuff a hose up the intake and fill it full of water before the pump would move anything.
  • This pump can just move 48 GPM with this setup (which implies it is seeing about 5 feet of head). With more angles and losses in the system, I am going to need more pressure at that flow.
I also noted that the water sheet was rough. Water entry was noisy. I took a high-speed shot of the water, and sure enough, it's breaking up in flight. Note also how much shorter the rear fountain is than the front.


I noticed that the flow gauge was bouncing around a fair bit, so I presume I'm getting a bunch of turbulence, which probably does not help the fountains at all. These units are the "short lip" version of these fountains, which means they have just 1" of flow straightener before they launch the water. The standard version has a 6 inch lip, which I think might damp the turbulence more and lead to a cleaner sheet of water.

Inside the unit there are apparently 3 supports of some sort. These have visible wakes, but I wasn't able to see that the wakes caused more breaking up when they hit the edges.


So, my plan is not yet validated.
  • I need bigger pumps. 3 of the 5100SEQ22 will produce 200 gpm total at 10' head. That should give me enough extra force to push through the extra twists and turns.
  • Each fountain unit is going to need it's own throttle. The best way to implement this is probably a bank of eight $20 ball valves, and a seperate run to each fountain unit.
  • As long as I'm doing a seperate run to each fountain unit, I might arrange for the final connection to be long and straight to reduce turbulence. There will be a lot of turbulence in the fountain unit itself, so maybe this is hopeless.
  • I should order a fountain unit with a 6" lip, and see if I like that flow better.

Tuesday, April 08, 2008

Conservation versus outsourcing

Read "The Wonderful Curse of Natural Gas Price Volatility". It's short, just 12 pages long.

Check out the graph at the top of page 9: "U.S. Industrial Gas Demand Destruction". That's a 22% drop in industrial natural gas utilization between 1997 and 2006. That's not efficiency, that's offshoring! What's going on here?
  • Natural gas is a feedstock for the fertilizer, chemical, and plastics industries, and a fuel for the electric generation industry.
  • Electric power generators are less sensitive to the price of their fuel than fertilizer, ethanol, and plastics, since the latter three can all be shipped to us oversea, and electricity cannot.
  • The electric generation industry is sensitive to the capital necessary to build capacity, because the rent on the capital to build their plants has to be priced into the electricity sold, and different plants do compete to produce and sell electricity. Thus, more capital-intensive plants are more likely to have lower return on investment if electricity prices dip.
  • Gas turbine power plants have exceptionally low capital costs, making them very desirable to the power producers, and gas prices were low during the 1980s and 90s.
  • So, electric generators built 200 gigawatts of gas turbine powerplants during the 1990s and early 00s, so that gas turbine plants now constitude 41% of our nameplate capacity (EIA figures). These gas turbine plants are now running at a capacity factor of 21%, and produce 20% of our domestic power (once again, EIA).
  • Figure 7 of page 8 of the Ventyx report shows that between 1997 and 2006, gas consumption by the power generators rose from 11 to 17 billion cubic feet a day. That's all those gas turbines coming on line.
  • It turns out there is a limited supply of domestic natural gas. Demand rose, supply stayed constant, and thus prices rose.
  • Over the same time, industrial consumption dropped from 23 to 18 billion cubic feet a day. That's domestic fertilizer, chemical, and plastics production being moved overseas in response to higher feedstock costs.
  • U.S. consumption of fertilizer, chemicals, and plastics has not dropped, and conversion from the feedstock to the final product increases value, so offshoring has driven the jobs overseas and also increased our trade deficit by much more than the cost of the natural gas consumed by the electric generation industry.
What we have here is another example of a strong negative correlation between the performance of the U.S. power generation industry and the U.S. economy as a whole. This is a tragedy, partially responsible for our $708 billion dollar/year trade deficit. That's an unpaid $2360 bill, per man, woman, and child, per year, for everyone in the United States.

This post and the last one may lead some of you to think I'm all for a command economy. No. I'm pretty sure that if we nationalized the electric power generation industry, we'd end up running it less efficiently, which would also lead to higher domestic power costs. I do think we need to bring the measure of performance of the electric power generation industry into better alignment with the domestic economy.

The domestic economy does well with cheap energy. In this context, gas turbines are a disaster, since they redirect a feedstock away from high-value-added uses (plastics) into low-value-added uses (electric generation). We have readily available substitutes for electric generation (coal and nuclear), but not natural gas. In some sense, all a gas turbine does is convert one kind of energy into another without increasing the domestic supply.

I don't know how to make domestic power producers profit more when the US economy has cheaper energy. The benefit of marginally cheaper power is probably nonlinear, and possibly unmeasureable in any way that would allow accountants to calculate a credit to power producers. I do not want to see more coal powerplants, because of the currently externalized cost of CO2 production, even though they are a cheap source of power. Perhaps the simplest way forward is what we have now: tax credits or subsidies for the obvious answers, like wind and nuclear, and just feel our way through, year by year, guessing which subsidies will distort the electricity market to best serve the interests of our citizens.

I'm sorry to keep harping on this energy and trade stuff, but to be honest, I'm scared. I don't understand how to predict what this trade deficit will do, nor do I understand how big is too big, but $700 billion feels too big. Our trade deficit, national budget deficit, credit crisis, housing market meltdown, and war in Iraq give me the feeling that this nation has derailed and is about to make a very expensive and possibly bloody mess.

The last time we got into a World War, we had just splurged on national infrastructure. Think about this: 90% of the Allied aluminum flying over Germany was made with power from the Grand Coulee Dam, built from 1933 to 1942, i.e. just in time. I'm not saying I expect another World War, but I am saying that when times get tough it's good to have serious infrastructure in your back pocket.

Wednesday, March 26, 2008

Let's drive electricity prices into the ground

Read this report. It's basically a big apology for why electricity prices have been going up.

On page 31, it shows the EIA estimate that a 10% increase in the price of electricity in 2006 would cause a 4% (175 billion kWh/year) drop in electricity demand in 2014, down from 4.2 trillion kWh/year. This is basic supply and demand, with the EIA doing the error-prone work of predicting the demand curve in the future. The first thing I'll note here is that a 10% price increase, coupled to a 4% sales drop, leaves a 6% revenue increase (at least $12 billion/year) coupled with decreased costs for the folks selling electricity. It's an inelastic demand curve. So, if the folks making electricity can do anything to reduce the overall supply, it's well worth their effort.

When the price of electricity goes up, some of that reduction in demand is accomplished by economic activity (buying a more efficient air conditioner), and some is accomplished by reducing economic activity (shutting down the night shift of a marginal plant). Overall, how much of each? My guess is that the reduction in economic activity is the main reducer of demand. Let's suppose I'm right, and that a 4% drop in electric demand is accompanied by a 1% drop in GDP. That's a $130 billion dollar drop.

You can see that price fixing among electricity producers would be seriously damaging to me and you. It is in the national interest that electricity prices not rise 10%. Note that this is true regardless of whether the utilities make or lose money, because as a nation we are making or losing quite a bit more money than the utilities are.

So let's consider a different investor, the U.S. government. Suppose that the electric demand curve slope is locally smooth. A 10% decrease in the cost of electricity, then, should lead to a 4% increase in sales, and a corresponding 1% increase in GDP. This is what Rod Adams is talking about when he calls electricity an economic lubricant.

How much is that 1% increase worth to the federal government? They tax the GDP at about 18.4%, so it's worth around $24 billion per year. To review:
  • A 10% decrease in the cost of electricity, from $0.07/kWh to $0.063/kWh, would lead, 10 years later, to
  • ...a 4% (175 billion kWh) increase in electricity sales, for a net revenue loss to the industry of
  • ...$12 billion/year. The federal government, however, would be raking in an extra
  • ...$24 billion/year, and the rest of us would be enjoying an additional
  • ...$130 billion/year in GDP.
Sounds good. Let's mandate a drop in prices! Who says we can't have a centrally controlled command economy?

Well, it's not that simple. First, we need to know much investment is required to drive electric prices down 10%. Presuming that the government has to somehow compensate utilities for taking a $12B/year hit for the team, that leaves $12B/year to pay for the capital required. The federal government currently borrows money for 30 years at 4.5% (they are a better credit risk than you), so the capital required for this investment had better be significantly less than $266B.

The Palo Verde nuclear power plant supplies power for $0.027/kWh, including operations (fuel), maintenance, and interest and depreciation costs. In 2002, the marginal cost (not including capital) was 42% less than that for coal in the area, and since then the difference has increased as coal costs have risen. This is the best lever we can use to drive down electricity prices.

To drive down wholesale prices by 10%, we'd need to bring the cost of production down approximately 10%. Using the Palo Verde area numbers from this report, and assuming we keep the same coal and hydro production (as they are both low cost), but reduce gas and increase nuclear, we'd need 49 gigawatts of new nuclear production nationwide. That's not going to happen by 2014, but we would probably see some fraction of the benefit for some fraction of the cost. Just incidentally, 49 gigawatts of new nuclear production scaled up from Palo Verde's employment base is 89,000 extra jobs here in the U.S., paying an average of 13% more than the average American salary.

Palo Verde cost $5.9 billion, was finished in 1988, and has a peak capacity of 3.72 GW and sustains a capacity factor in excess of 90%. We would need 13 more Palo Verdes to produce enough electricity to make that 10% cost reduction happen, at a present-day cost of around $120 billion [edited; thanks]. The generating utilities are not going to take this on, given that the "benefit" is a $12 billion/year loss to them. But for the U.S. government, looking at $24 billion/year in increased tax revenue, the cost of the plants is easily worth it. What remains is determining a way to have the government provide the capital and offset the revenue losses associated with a huge expansion of the nuclear reactor fleet, without getting ourselves further into the management disaster of a command economy.

I'll note that we're going into a recession, and interest rates are falling. This is a good (cheap) time for the government to borrow a bunch of money to invest in long term economic infrastructure. The reactor buildout I'm proposing would cost about the same as the $300/person economic stimulus package our leaders just conjured up. To my mind, the difference is very much teaching a man to fish versus giving him fish.

Tuesday, March 11, 2008

Clinton's choice

I'm watching replays of the CNN Obama/Clinton debate. This is painful.

The argument that Clinton needs, and is failing to make, is that there is a difference between how Senators and Presidents collect the information they need to make their decisions. The Congress does not have an NSA. The President does. Clinton made her decision, one she regrets, on the basis of information provided by George Bush's team. Had she been in President Bush's position, things would be entirely different because she would have had a completely different set of options, including better discovery of what the facts actually were.

She's not making that argument. I'm not sure why, and it suggests to me that she still doesn't think about how to be a President. She's thinking about how to argue about stuff, not how to find the right answer.

There is another angle that Clinton is missing. To win, the Democratic presidential candidate will have to appeal to some Republicans. What is going to go over better? "I was right, you shouldn't have gone to war, now I'm going to fix your mistake and pin the cost on you?" or "We got into this tragedy together, and I will help get us out of it together?" Obama's Iraq message is actually more divisive.

Finally, for what it's worth, the idea of scheduling a withdrawal scares me a lot. I think our withdrawal from Mogadishu contributed directly to the planning of 9/11. I worry about what we're going to be dealing with in 10 years, and where we're going to be dealing with it.

Monday, February 11, 2008

Dessert Recommendation

On Sunday night my wife and three kids had the "Lemon Meringue Ice Cream Pie" at the Half Moon Bay Inn. It was one of the best desserts I have ever had. For dinner I had the cheeseburger, also one of the best burgers I've ever had.

I'd like to put in a Google Maps link, but Maps doesn't have it! Half Moon Bay Inn is at 401 Main Street, Half Moon Bay, CA 650-560-9758.

Subsidizing wheat in Afghanistan

Afghanistan grows most of the world's opium. Opium is technically an illegal crop there, and it is one of the few crops that makes enough money to support a farmer in Afghanistan. If you grow opium, the central government is officially supposed to stop you, and the local official will probably look the other way if you pay him off. It may seem cheaper and easier for the folks growing opium in the Taliban-controlled areas, since the Taliban actively helps farmers sell their crop, in exchange for some of the profit. I'm sure many farmers prefer the Taliban for purely economic reasons.

If wheat sold for more money, perhaps 3 times the world price (which is around $350-$400/metric ton), some folks think the value of the wheat crop would be large enough to encourage many farmers to switch to wheat production. Wheat is legal to grow, so their is no disadvantage for a wheat farmer to having a functional Afghani government. Foreign aid organizations could run grain mills which bought wheat at $1100/ton and sold the flour for $350/ton. Bread prices would presumably stay low as flour flooded the market, and Afghanistan would presumably become an exporter of flour.

Folks in Pakistan and Iran would be encouraged to sell grain to Afghanistan for milling. I'm not entirely sure this is an entirely bad thing. Presumably economic conditions do not vary dramatically as you cross the border, so that areas outside Afghanistan are probably also growing opium. And, as long as we stop bulk cargo deliveries of grain to Afghanistan, one would think it would be expensive to move large quantities of grain by, say, mule across the border. There is some subsidy at which it is not worth moving grain by mule. Hopefully it's cheaper for small Afghani farmers to get their product to the mills than it is for Pakistani importers.

So, how much would this cost? Afghanistan produced 4.4 million metric tons of wheat in 2007/2008, so someone would have to cough up $3.3 billion/year to carry this subsidy. That's real money, and apparently we'd have to keep it up for a decade or so. If there are not large agribusinesses in Afghanistan now, there will be within a year or two. These businesses will get efficient at growing grain in Afghanistan, and start to produce the majority of the grain there. The subsidy on grain will decrease over time, large efficient businesses will capture nearly all of it (as they capture farm subsidies in the U.S.), and the marginal farmers will move back to poppies. I don't have a great deal of hope for this effort.

By the way: anyone have a clue what this is?

Tuesday, February 05, 2008

Cost of oil, revisited

Last time I looked, oil was priced at $22/barrel and we were importing 9.14 million barrels a day, which made up 20% of our trade deficit of $374 billion. We were actually importing more, but I hadn't counted the refined stuff. So it was actually 12.6 million barrels/day, so $101 billion or 27% of the trade deficit.

Now, as you know, the oil spot price is around $95/barrel, but $72/barrel is closer to the average price, and we are importing 12.2 million barrels a day (crude plus some refined products). The census bureau has nicely summarized the data here, which doesn't quite match the simple math I would do. For Dec 2006-Nov 2007, they see petroleum imports as $283 billion (35%) of a $813 billion deficit.

Grim.

How much does a plug-in hybrid help?
  • Over a 20-year lifetime, the car is driven 250k miles.
  • It gets 75 mpg rather than 25 mpg.
  • It burns 80 barrels of oil rather than 320 (and burns a bunch of domestic coal instead).
  • It saves the importation of $15,500 of crude.
  • It saves the user $23,000 in gas.
  • It costs the user $5800 in electricity. (250k miles) / (3 miles/kw-hr) * (0.07 $/kw-hr)
My guess is that a practical plug-in hybrid chews up more electricity and gasoline than this, but it still seems pretty good. Unfortunately,
  • It's made by Toyota in Japan, and costs $25,000, so the net trade debt increases. At least the money is going to a responsible nation like Japan. I will cede that eventually Toyota will make most of these plug-in hybrids here, and so only the profits will go to Japan.
  • If 10 million cars in the U.S. were plug-in hybrids, it would reduce our oil imports by 282,000 barrels/day, or 2.3%.
That last point is a killer. It is just incredibly hard to replace oil.

Sunday, January 27, 2008

Correcting a Newtonian

Part of the reason that contrast is so bad on my Newtonian is that it has flare. The other reason is that it is uncorrected. Let's see what it takes to correct the thing.

The mirror is a 300 mm diameter diffraction-limited 1/4 wave parabolic mirror. Sounds awesome, especially the diffraction limited part. When viewing 550 nm (green) light, a 300 mm aperture scope should resolve 1.22*wavelength/diameter = 2.2 microradians. With a 1500 mm focal length, those details are 3.4 microns across on the image plane. My Canon 40D has 5.7 micron pixels, which isn't quite going to catch the details.

Sadly, it turns out that even a perfect parabola produces just a single perfectly focussed dot in the center of the image, and resolution goes downhill out from there. One way to measure resolution is to measure the amount of contrast transmitted by the lens at a particular spatial frequency. We could measure transmission at the diffraction-limited spatial frequency (227 line pairs/mm), but we don't need it to be that good. A more useful frequency is the maximum spatial frequency that the camera supports. The pixels themselves sample 87.7 lp/mm. Because the camera has a Bayer filter to sample colors, it has an antialiasing filter, and the maximum frequency it can sample correctly is a factor of 1.8 smaller, about 48.7 lp/mm.

Here's a graph of the contrast you'd expect to transfer, at both 227 lp/mm (diffraction limit) and 48.7 lp/mm (Canon 40D limit). You can see that resolution from a simple parabolic mirror is only good within a small image circle around the center, and there is almost no contrast available at the diffraction limit.

Once contrast drops to zero, there is no detail left at that frequency. Lower spatial frequencies, corresponding to less detailed imagery, will have contrast at larger and larger radii, and so the picture will look more blurry as you get farther from the center. For photographic lenses, I like to see MTF at the maximum camera frequency of something like 30-40% across the whole field, although I'm willing to accept some dropoff at the corners.

Compare the parabolic mirror graph to a similar graph for the Canon 50mm/1.4 lens, in particular, looking at the 40 lp/mm line (the bottom pair). 60-70% MTF. That's a good lens. (I got this graph from photodo.com, which has great data on hundreds of lenses.)

The graphs aren't perfectly comparable, but they're close. The Canon here is stopped down to f/8, which vignettes away the least corrected portion of the aperture. But it performs nearly as well at f/5. Also, this graph is at 40 lp/mm, which is a little easier than the 48.7 lp/mm I'm using to judge the Newtonian. One other detail: in both graphs, there are two lines, one dashed (tangential) and one solid (saggital). Saggital means "in the direction towards and away from the image center", and tangential means"along a curve centered at the image center".

So the reflector looks terrible, but there is hope. Al Nagler at Tele Vue has designed a corrector lens (the Paracorr) that, when combined with a parabolic mirror, gives a well corrected image. I don't have the Paracorr's prescription (I checked the U.S. Patent Office, and found Al's eyepiece patents but no patent for the Paracorr), but I know the basic idea, so I was able to slap something together with Zemax to demonstrate.

Here is the overall scheme: light comes in from infinity from the left, bounces off a parabolic mirror at the far right, and then comes back through a negative doublet, followed by a positive doublet, finally arriving at the image sensor at the far left. I've left out the planar secondary miror that reflects the light out the side, but I've left in the obstruction that it causes. The corrector assembly, as shown, sits just outside the main optical tube. The eyepiece would sit on the other side of the image plane.

When comparing this to a photographic lens, it's best to think of the mirror combined with the two doublets as being the "lens". It actually extends the focal length of the telescope a bit. This picture shows rays bouncing off the primary mirror, going through the two doublets, and arriving at the image plane. Because the doublets are so small relative to the mirror and focal length, it's hard to see the detail.

So, here's the detail. I'm quite pleased with how this turned out: the elements are not ridiculously thick, and there is 50 mm of clearance between the last element and the focus plane, good enough to mount a DSLR (44 mm clearance required) if not a T thread mount (55 mm required). The negative doublet is a bit too close to the mirror, in the sense that it would probably sit right at the edge of the main optical tube, when we'd prefer it to be back a bit so that we can baffle the focus tube so that stray light from the front opening of the tube can't speckle off the doublet.

Designing this wasn't too hard. I left Zemax running overnight doing a global search for an optimum, with no constraints on the glass choice. A real optical designer has more constraints to deal with.

And here's the resulting MTF, polychromatic, no less! This is pretty incredible, I doubt the real Paracorr is this good. It's slightly better, all the way across the field, than the Canon 50mm/1.4. That's astonishing, given that this thing has 7 surfaces (one aspheric -- the mirror) with which to bend the light, compared to 13 in the Canon refractor. Or, compare this to the plot at the top of the post for the performance of the parabolic mirror alone. Night and day.

I think the bottom line is that a Paracorr is a necessary part of a Newtonian telescope, unless it's only used at very high magnifications. Unsurprisingly, the Paracorr is the best-selling product made by Al Nagler's company.

Thursday, January 24, 2008

Light bucket

I have a a 12 inch Newtonian telescope on a Dobsonian mount. It's a cheap light bucket. Over the weekend I tried hooking up a DSLR camera to it.

Two initial results:
  1. The adaptor physically connects the DSLR to the scope, but it doesn't guarantee that it will work. In my case, it doesn't. The problem probably applies to most telescopes designed to be used with eyepieces:
    • The eyepiece, e.g. a 30mm eyepiece, is a 30mm focal length lens designed to take an image 30mm in front of the lens and make it appear to be at infinity. Your eye looks through the lens to see the image at infinity.
    • The image that the eyepiece is focussed on is 30mm in front of the first nodal point of that lens. It appears that the standard for telescope eyepieces is to have that image in front of the shoulder of the eyepiece. When you remove the eyepiece and put a plain piece of paper on the image, you find that it is 5-10mm inside the focussing tube.
    • The focussing tube has some range, such that your can rack it forward and get the image to be 10mm behind the focussing tube, but:
    • DSLRs all want about 42mm between their front flange and the sensor plane. You focus them by placing the image on the sensor plane.
    • There is no way to focus a camera attached to this thing at infinity, without altering the telescope to move the image focus out.
    • If the image focus is moved out, some sort of extension tube, about 2 inches long, will be necessary with all eyepieces to make it possible to focus them.
    • I'll simulate it, but I suspect that extension tube will then limit the field of view of some of the larger FOV eyepieces.
  2. Surprise, the DSLR will focus on things at finite distances! If you pull the imager on a 1500mm scope out 2 inches from focussed-at-infinity, you are focussed 43.5m away. So, I took some shots of some tree branches at about that distance while pointed close to the sun.
    • This was a little dangerous, because if I'd accidentally pointed it at the sun while looking into it I could have hurt myself. I got lucky this time, and I'll not be impatient again.
    • Depth of field is awful. Spot size is about 10 microns (pixel size x 1.8 for the Bayer sensor), so an f/5 scope focussed at 43.5m away has a depth of focus of +/- 5*10 microns which corresponds to +/- 45 mm out by the tree branches.
    • The focus was only okay, not great.
      • Global contrast issues below
      • The scope has, at minimum, nasty coma which will smear images. I had a Paracorr lens between the camera and the telescope, but I don't think I had it adjusted properly, and I have not verified that the scope actually has a parabolic and not spherical mirror.
    • Contrast was ridiculously bad. If you saw a photographic lens this bad you might chuckle, but you would never, ever consider buying it. Saturday night I tried looking at the moon, and found that anywhere within 20 degrees of the moon the sky had a uniform grey background that hid most of the stars.
    • I need to clean my optics, there is dust on them.
    • I need to flock the interior of the telescope.
Maybe amateur telescopes all have terrible contrast because amateur astronomers are used to looking at stuff that's mostly black, so that a little scattered light is no problem, compared to daytimes scenes where it does matter.

So, photography through the telescope is not a trivially implemented idea. It does have me thinking about how to design a Newtonian telescope that can do photography, daytime or night, as well as stargazing. I know a thing or two about flare suppression and camera design as a result of my work on Street View, and I can see a bunch of obvious problems that might be fixable.
  • The secondary mirror is not balanced on the spider, so that it twists as the telescope is changed in altitude. I can actually see this with the autocollimator in the scope, which measures maybe 4mm of drift between horizontal and vertical. That's an angle of 2.67 milliradians. The autocollimator doubles the actual angle, so it's about 1.33 milliradians. Across the 43mm field of a DSLR, that's 57 microns of tilt, which is a smidge more than half the focus budget of +/- 50 microns. It would be good to balance the secondary on the spider with a counterweight.
  • The eyepiece should not view the opposite side of the tube around the secondary mirror. Instead, it should view a recessed surface which is itself shaded from both the aperture and the mirror.
  • The eyepiece tube should have a baffle, which is recessed from the tube so that it is not lit by the aperture, and which prevents the eyepiece from seeing anything but the secondary mirror and the recessed light trap behind it.
Hmm.... this is looking like a lot of work.

Monday, January 21, 2008

Honda S2000 vs BMW 330i ZHP

Yes, I know, apples vs oranges.

Martha has not liked my S2000 since I got it, at first because it's loud and has a hard ride, and more recently because it has no back seat. She wanted me to switch to something with 4 doors. We toyed with the idea of getting a Prius for a while, until I realized that I wasn't going to be happy with anything that couldn't wag its tail on dry pavement.

It may seem odd to be comparing these two (or three) cars. I'm not trying to figure out which is the best car in a particular category, rather, I'm trying to figure out which category I want. I decided that I could live without the convertible top, but not without that sense of engagement I get while driving.

The BMW has most of that engagement, so I got that. It's a used 2004 model year car. I am much happier buying a used car than a new one. I bought the Honda (a 2002) new because at the time the new ones were only a couple thousand dollars more than the used ones. The resale value has held up well enough that it should end up costing about $13/day (depreciation, gas, insurance, tires, and maintenance), which is about what I think I should be paying for a car. Because the BMW is used, it will hopefully depreciate at about the same dollar rate even though the car was more expensive new. The Prius would have been a lot less expensive.

Both cars claim almost exactly the same peak horsepower, though the BMW is 500 pounds porkier. Even so, it accelerates faster, because I'm not willing to thrash the Honda's clutch, and because the broader torque curve makes it much easier to be in the right gear in the BMW. The BMW engine feels more practical; it can relax, and it can lunge, and it is inline-6 smooooth. The Honda engine is more exciting, and responds quicker. Where the BWM takes maybe 200 ms between throttle lift-off and actual engine braking, the Honda's delay is unnoticeable -- maybe 50 ms. Throttle-on delay is tiny in both engines. The Honda sounds better, too, and between 6000 and 9000 RPM it is literally in a class by itself. I wish Honda had built a 9000 rpm inline-6 for their car(s). Fuel efficiency scales with body mass, as usual: almost all cars eat their weight in gasoline every year. Just think about that the next time you are considering buying a big pickup.

The Honda transmission is better. The throws are easier and much shorter, it's less rubbery, and it feels better going into gear. I am really going to miss this shifter. The BMW has wider spaced gears (the ZHP comes with a 6-speed manual), which would be a disaster on the Honda because of the peaky torque curve but in this car give a very relaxed engine note on the freeway. A mechanical engineering friend told me that the Honda transmission is probably the best ever made for a production car, so everything else is a step down. That's the problem with really nice stuff -- transitioning away.

The Honda steering is better. The ratio is faster, and it's lighter. The BMW tends to kick back approaching stop signs with uneven pavement. This last issue is probably due to the heavier car on wider rubber on the BMW. The BMW steering wheel is thicker and nicer to hold.

I haven't really pushed the BMW around yet, and I never did push the Honda past its cornering limits, but I can say that the very first thing I liked about the Honda is still true: there is less commitment in corners. When you are tearing around a bend, you can change your mind, change your line, get into the brakes, roll on the gas, you can do all kinds of things and the Honda reacts in a predictable manner. The BMW feels committed, and that feels scary. Operators vill not exceed zeez limits.

The BMW has a nicer interior than the Honda. It's quieter, the stereo is better, the instruments tell you your averaged MPG, and there is more room. The pedal position is way better than the Honda -- you can really toe-and-toe in the BMW; the Honda pedals were too far apart to do that reliably. Toe-and-toe'ing is lame, though, compared to heel-and-toeing. The best pedals I ever had were in my VW Bug. Yes, the car had a lot of other problems (it rusted all the way through the roof in one spot, the gas pedal would occasionally stick to the floor, and the steering oscillated badly at 70 MPH) but I've never driven any other car in which I could reliably match revs while under hard braking.

I like driving the new car, and I've taken all three girls in it now and they like it. (Well, Ava is noncommital, but she is just one year old and hasn't yet developed her appreciation of these things.) Anya yells "two wheels" going around brisk corners in this one too, although I sometimes think I hear a wistful note in her voice. Ah well, life goes on. I'm sure the next car will be a barge.

Thursday, January 10, 2008

Lady Jane

We have a new puppy, Lady Jane.

She's a black Lab, just like Iniki was. She's really cute and full of sharp teeth.

Saturday, January 05, 2008

Chernobyl, ghost town



Elena here is holding a geiger counter reading 763 microroentgen/hour. In the background is the sarcophagus built around the reactor that exploded in Chernobyl. Normal radiation levels are 10-20 uR/hr. She has an interesting photo tour of Chernobyl here.

The sarcophagus looks a lot better than I expected it would.

Saturday, December 29, 2007

Why are there no GTCC plants doing CO2 sequestration?

Rod Adams makes an excellent point here. Go down a bit. 11th paragraph:
If it is relatively easy to capture the CO2 from an IGCC [Integrated Gasification and Combined Cycle coal-burning plant], why wouldn't we start working to prove that assumption by capturing the CO2 from at least several of the existing GTCC (gas turbine combined cycle) plants that use natural gas as their heat source?
CO2 sequestration for coal-fired powerplants is held out as the major way that America will reduce it's CO2 emissions significantly over the next two decades. But, CO2 sequestration requires a lot of tinkering with the plant. An IGCC is nice for efficiency, but is not required. Several other really serious pieces of equipment are required, however:
  • Sequestration costs big money. Since you really don't want to unnecessarily sequester 4 times as much nitrogen as CO2, you seperate that nitrogen and vent it. Since you don't want to seperate nitrogen from the exhaust gas (you'd have to cool it), you seperate it from the incoming airstream. Thus, the air filter on an ordinary plant is replaced with an expensive and energy-hungry plant with cryogenics, multiple turbines, and heat exchangers galore.
  • The exhaust must be compressed and liquified to inject it into the ground. Most of the heat must be removed from the exhaust in order to compress it. In a normal coal-fired powerplant, a large fraction of the waste heat is rejected by simply venting the exhaust into the air. In a CO2 sequestrating facility, you need a big heat exchanger and a cooling tower to do that work. Oh, and a larger fresh water supply.
Rod is right, the economics of all this stuff could be proved out on an GTCC plant, or even a plain old combustion turbine fired by nearly anything. I think it's pretty obvious that the carbon-burning electricity producers (coal and gas) benefit from deferring the installation of CO2 sequestration equipment. And, no better way to defer installation than to defer development until after the development of a brand-new burner technology (IGCC) which will take a decade or two to roll out.

So, they talk about sequestration while they defer it as long as possible.

Interestingly, one of the side effects of concentrating the oxygen in the gas being burned is that the operating temperature increases, which could improve efficiency. Unfortunately, combustion turbines already run at temperatures higher than the melting point of the turbine blades... and probably cannot be run hotter. My guess is that exhaust CO2 will be cooled, recirculated and recompressed, and then used to dilute the oxygen in the incoming stream to lower flame temperature.

[Update: check the comments on this post. Harry Jaeger makes some nice points.]

Sunday, December 16, 2007

Teddy Bear Tea

I took my daughter to the Ritz-Carlton's Teddy Bear Tea today. $184 for a few dried-out finger sandwiches and a bunch of chocolates, a teddy bear, some singing, and a chance to get pictures with... a person-sized teddy bear. I couldn't help but think of how tasty a $184 dollar dinner can be. Or how fun the local production of "'Twas the night before Christmas" had been the day before.
Children of all ages gather for a favorite family tradition at The Ritz-Carlton. Guests enjoy a fun-filled afternoon in festive surroundings featuring a storytelling Teddy Bear, a pianist, hot cocoa, tea, a selection of tea pastries and mini finger sandwiches, and a Christmas candy and sweets buffet table. Each child takes home a teddy bear and photo as souvenirs. $75 per guest, $65 for children 12 years and under, exclusive of tax and gratuity. For additional information or reservations, please call (650) 712-7040.
I could wonder how the Ritz-Carlton could end up serving crud for such an expensive lunch. Stories from Teddy may have happened before we got there, 10 minutes late. But why bother with these specifics? A more important question is: how did I ever end up in such a travesty?

I did ask, several times before going, what exactly this "tea" entailed. Martha was nonspecific. Since the other folks going were all in one of Martha's mother's groups, I knew essentially no-one. I'm antisocial as it is; dropping me into a mother's group without something to specifically contribute to the proceedings turns me into a stone wall. I went because I was led to believe that the event had already been paid for, Martha could not attend as she had a cold, so, I might as well see what we paid for. Instead, I got a 3-digit bill. I think the lesson here is to (a) ask for specifics beforehand, which I did, but then (b) refuse to go when specifics are not provided.

From Kathleen's point of view, there was: (a) nothing to climb on, (b) nothing to legitimately squish with her fingers, (c) nothing with which to draw on herself, nor stickers, fake tatoos, or dress-up clothes, (d) no pool, and (e) no kids singing or doing something else to be emulated. Even a desert wasteland would at least have had rocks to turn over.

If anyone from the mother's club reads this, let me get in a last word: it's not you, it's me. Given something specific to do and at least some semblance of DIY flair, I can have a great time with y'all. But I'm never going to convincingly pull off an hour of small talk.

Tuesday, December 11, 2007

ISS does not smell like old feet

I work with Ed Lu, who is a former astronaut who spent 6 months in the ISS, without taking a shower. I asked the obvious question, didn't you and everything else just stink?

No. Ed says that the air conditioning/purification system was ridiculously good, so much so that the only time you ever smelled anything was when you opened a food packet. Even then, the smell was whisked away pretty quickly.

I asked if there was problems with vapor from breathing condensing all over the interior of the spacecraft walls. Apparently not. The thing has hot spots as well as cold spots, and heat pipes to balance it all out, and lots of insulation over that. Apparently stuff doesn't freeze. Given that the thing is cold soaked in sub-liquid-nitrogen temps 45 of every 90 minutes, I'm amazed. I was expecting a story of two-inch-thick ice sheets on the interior walls.

Thursday, December 06, 2007

The US is building more wind power than coal

I've just read this report from the DOE, and though it doesn't talk about windpower at all, I find it quite exciting for wind's prospects.

The conventional wisdom has been that the small size of the turbines (generally about 2 MW each) and the unreliability of both the wind and the turbines makes it improbable that the bulk of our power needs can be met with wind.

Meantime, the installed cost of windpower has been dropping, and is now at something like $1300/kilowatt of peak capacity, and coal-fired powerplants have been getting more expensive ($2200/kilowatt), and gas-fired powerplants have been getting more expensive to run (they remain cheap to build at $600/kilowatt). That doesn't explain everything, but check out this statistic from the DOE report:

From 2000 to 2007, the U.S. built an average of 293 MW/year of new coal-fired capacity. In that time, wind build rate went from essentially nothing to... about 4000 MW in 2007! Holy cow, that's an order of magnitude more build than coal!

Now I understand that, like the long Nuclear Pause, there has been something of a moratorium on new Coal for a (shorter) while. And, I'm told there are lots of coal-fired plants in planning right now. But just for scale, note that the EIA projects that the U.S. needs 6000 kW/year of new capacity for the next couple decades. Even assuming a 33% utilization rate, wind is within an order of magnitude of producing ALL of that new capacity, right now.

It's no longer a question of whether wind can ever dominate coal... it's a question of whether coal can come back! Look at figure 2 in the DOE report, and project a growth curve for windpower at 1300 MW/year in 2007 rising to 3200 MW/year in 2012. Why is my 2007 wind number small? Because you have to divide windpower by 3 to account for the wind not blowing much of the time.

Anyway, what you see is that wind will outpace coal again in 2008, but coal will win in 2009 and 2010. But after that, all this new wind capacity is going to meet most of the need for new capacity, reducing the need for new coal plants (and greatly increasing the need for long distance power lines at the same time).

And, by the way, there are about a dozen new nuclear plants in the works, perhaps half of which will come online in 2012 or thereabouts. They'll eat even more of the demand that would otherwise go to coal.

Here's a satisfying question to ponder: what year will U.S. coal production peak, not from lack of supply, but from lack of demand?

Friday, November 30, 2007

A Manhattan Project

Charles Cooper wants a Manhattan Project to fix our dependency on foreign oil. The Manhattan Project was a good deal for most folks (U.S. of course, but I'll claim Japanese too) because a bunch of people they never met toiled away and produced something they never had to interact with which eliminated the need for all these people to fight and die.

Trouble is, we need to be saved from ourselves. It can be done, but we're all going to have to do the toil.

The most obvious thing we can do is switch to plug-in hybrids for our cars, so that the energy comes from something domestic (coal, hydro, nuclear) rather than something imported (gasoline). But that's just not enough. Look at the numbers:

EIA Petroleum Imports

EIA Petroleum Usage

For the week ended 11/23/2007, we imported 13.4M of the 15.5M barrels of oil we used. We turned that into 9.0M barrels of gasoline, 4.3M barrels of diesel fuel, and 1.4M barrels of jet fuel.

Just converting our car fleet to plug-in hybrids won't cut it. Even plug-in hybrids burn gas, just not as much. If, starting today, all cars sold in the U.S. were plug-in hybrids, then in two decades you might eliminate the equivalent of 6M barrels of today's consumption.

What else could we do? How can we convert that diesel usage to electricity? We could electrify our frieght trains, and use trucks only for local hauling of cargo from business to frieght terminal and back. That might eliminate half of diesel usage, call it 2.2M barrels/week. Together with the plug-in hybrids, that get's us down from 13.4M to 5.2M barrel, every week. Not enough to ignore OPEC.

Carving into that remaining 5.2M barrels/week will be really hard. A rationalization of our transport network might move a lot of frieght and some people onto electric trains from planes. There is opportunity there: between parking and security, it takes two hours to get on a plane. If you can get on a 200 MPH train in 10 minutes vs 120 minutes for a 600 MPH train, it's faster for journeys shorter than 550 miles.

Mr. Cooper thinks we should be investing in nuclear energy. But nuclear doesn't help us break free from OPEC. Nuclear saves the environment from all that CO2. It's a seperate issue, also very important, and very interesting, really, since nuclear waste, even if it gets out, isn't really going to bother most birds and bees, but it's a problem for us bipeds who live to 70 years old and care about property values. If anything, nuclear transfers risk from the rest of the world back to us. Seems we don't like that, even if the total risk is reduced.

Tuesday, November 20, 2007

Geologic CO2 sequestration?

A friend of mine sent me a review of geologic CO2 sequestration in Australia and the United States. Quite interesting, very upbeat. I'm not buying it.

I think costs are a big problem here. Powder river basin coal costs $5/ton at the mine mouth, and by the time it gets to the various powerplants, it's anywhere from $9/ton to $30/ton. The coal burned is about 75% of the cost of electricity generated, if you believe these guys. That means, in summary, the costs of electricity in the U.S. are driven by the costs of transporting coal from mine to powerplant via rail.

Zoom on the loopy thing at the bottom, that's a friggin COAL TRAIN at the mine mouth for what I think may be the Black Thunder mine in Wyoming. These mines are operating at gigantic scale and are very efficient. Coal transport is handled by two competing train operators who are also efficient.


View Larger Map

Now for the problems with sequestration: CO2 weighs about 44/12 = 3.7x as much as the coal that it came from. Right there, big problem. More mass to move costs more.

Worse still, you can't just transport CO2 in an open coal car on a railroad. Instead, you have to cool it (costs energy, capital equipment, access to water or some heat sink, etc), compress it (this costs energy and some capital equipment), then pump it through a high pressure pipeline. That's going to cost more than moving the coal did.

So, if the CO2 is useful for something, like oil or gas extraction with a result worth $0.25/pound or more, then that value can cover a lot of transport costs for the CO2. But if not, the transport cost of the CO2 from powerplant to sequestration site will come to dominate the cost of electricity in the U.S. And I think that any fix for the coal addiction we have now will have to be something that makes electricity for less money, not more.

Anyone want to argue that CO2 pipelines are going to be at least 4x cheaper than coal trains, or that deep CO2 sequestration is going to be more conveniently located than coal mines?

P.S. Southern California's scheme of having a mine-mouth powerplant ship electricity to beautiful people far away from the black stuff is just stupid. Transporting electricity is way more expensive than transporting coal. The scheme only makes sense because beautiful people are willing to pay extra to have their powerplants well downwind and out of sight. It's only a matter of time before Mexico wakes up to this fact and builds a bunch of nuke plants in Tijuana to ship the power across the border.

Wednesday, October 24, 2007

Missing Iniki

Me with a months-old Iniki
A grown-up Iniki with our friend Carol.


Iniki was really gentle and had a very soft mouth. She could eat anything out of your hand without bothering you in the slightest. If the kids bothered her she would lick them until they stopped. She was more of a snuggler than Bailey.

When we were out walking, Iniki always greeted other dogs with a bark, a lunge, and her tail held high. Other dog owners didn't always interpret this as friendly, but Iniki certainly meant well.

I remember once hiking downhill from Schilling Lake with the two dogs and Martha. I think we had just Anya with us. Iniki disappeared over the edge of the trail. I looked over the drop and decided there was no way I was going to try that, so she'd have to make it back up on her own. We could hear her crashing around down there, and she wasn't coming back up, so we decided to walk along a bit, calling to her, to see if she could find a way back up.

About five minutes later there was this incredible thrashing sound that just went on and on, and Iniki eventually emerged up through the bushes, legs tearing into the soft ground, hauling the entire back end of a deer up the cliff with her. She looked absolutely as pleased as could be, tail high in the air, as if to say, "Look what I found! I swear, nobody was using it! It was just sitting there!" She dragged that carcass after us for a mile or so before we got her to let go of it.




We travelled to Mammoth when Anya was just learning to walk. One evening while there I went on a short hike with Anya and the dogs. During this hike, we travelled by a frozen lake. Bailey was timid about getting out on the frozen surface, but Iniki just charged right out. On her way back in, she got to some thin ice and fell through.

Her head and shoulders popped back up, and she started padding as best she could... back out into the middle of the ice. I think she knew she was in trouble, and she was trying to retrace her steps. Instead of going through 20 feet of thin ice directly to me, she plowed her way though a couple hundred feet of thick ice. The entire way, she would get her front paws up on the ice sheet, struggle to haul her upper body out of the water, only to crash back through the ice and into the freezing water. It took her 20 minutes or more to chop and grind a passage all the way through the ice back to the shore point where she'd first gotten onto it. Bailey and I waited there for her, me with my heart in my mouth wondering if she was going to freeze or drown. When she got out Bailey barked at her and then tackled her, as if to tell her, "You idiot! You scared the hell out of us!"




Another time, hiking above Schilling Lake, we found a recurring mudslide covering the path. Iniki smelled something in the mud, and pushed her nose into it, then her whole muzzle, and finally her whole head. I don't know what she found in there, but it was pretty funny to see this collar on the ground with a lab's body sprouting from it.




Iniki loved water. When we were out walking around, if she found something even moderately damp, she sat on it or got into it. Here she is enjoying a puddle near Blue Oaks in Portola Valley.

Monday, October 22, 2007

Iniki is dead

On Sunday, I was hiking with the family at Ed Levin Park. Our two black Labradors, Iniki and Bailey, found a rattlesnake in the middle of the path. We called, Bailey came, Iniki didn't, the snake tried to warn her off and after about ten seconds bit her on the muzzle. I'm pretty sure she was dead by the time we got her to the parking lot.

We were probably a mile up the trail, the dogs were in front, off leash, when they found the snake. I had Kathleen on my shoulders and Ava in the pack, probably about 70 pounds all told, on a pretty steep part of the trail. When I saw what the dogs were barking at (a few seconds at most), I got Kathleen on the ground headed back to Martha. Martha heard me yell "snake", and called the dogs. Bailey took off back down the trail, Iniki pointed right at the snake, her muzzle about 5 inches from the thing, barking but not striking. It struck at Iniki repeatedly while I tried to maneuver behind Iniki to go for a grab. I grabbed her by her flanks and yanked. Martha thinks the snake made contact right then.
I should have dropped the backpack with Ava immediately, and then advanced on Iniki. Had I done that, I might have figured out that I could seperate Ava from the pack and then use it as a projectile. With Ava in the pack I was more awkward.

My brother-in-law says the snake's strike range is about 2/3 of their body length, so I was probably in range when I went for the grab -- not very smart. And I screwed around too long setting up the grab. I basically only asserted myself when the snake started striking.

Martha thinks Iniki might have left the snake if I had moved away from it. I don't think so -- 30 minutes earlier she was barking her head off at some dogs on the other side of a fence.
Iniki was a tough if gentle dog. She only whimpered a bit once I had her seperated from the snake. I had her over one shoulder within ten seconds of the bite, and headed back down the trail. At this point I was carrying over 100 pounds on a trail, and I could not run.
Again, I should have dumped Ava with Martha as I passed her. Also, there were several other people within 100 feet. I could have gotten a volunteer to run down the trail with me, trading the load. That would have made a run possible, and also made it possible to check Iniki's airway as she started barfing.
I think the snake bite was very serious. Iniki was barfing and pooping within 2 or 3 minutes, and was unconscious within 5 minutes. This site suggests that death comes from blood loss and then shock "within hours" -- and we just weren't on that schedule.

I made it about halfway down before my arms got seriously wobbly from holding Iniki's weight. Martha caught up, grabbed the dog and kept going. She got 100 feet before she was out of gas. We put Iniki in the baby carrier backpack and I took her the rest of the way down in that. Martha noted when we put her in the pack that her whole rear end was very stiff.
The pack was much easier -- the way to go from the start. I might have been able to run had I started this way. The trouble was I couldn't see Iniki, and I was trying to talk to 911 while walking, and couldn't do that while running either.
Iniki thrashed around a bit about 30 seconds from the parking lot, which I took as a good sign she was still alive. But when I put her hin the car a minute later, I'm pretty sure she was dead.
Later, when we got to the clinic, she doc told us she had aspirated vomit and choked to death. I now think she choked just as she got to the parking lot. I should have dumped the pack and checked her airway when I felt her bucking. I'm feeling seriously bad about this mistake right now.

That said, nobody seems to think she would have made it 25 minutes longer, so I'm not sure my mistake changed the outcome.
We were on an unfamiliar side of the Bay Area. I got someone from the dog park there to drive in front of me and lead me to a vet. Unfortunately, neither she nor the 911 operator I was talking with could find an after-hours weekend vet with anti-venin. It turns out there are only two in the Bay Area, one in San Leandro and one in Campbell. It took at least 25 minutes to drive to the one in Campbell. The doc pronounced her dead when I brought her in.

The biggest question in my mind is, what if it was one of the kids? Iniki was 7 years old, 65 pounds, and unable to control her own airway within 15 minutes. Anya weighs 38 pounds and Kathleen is more like 30. To even have a chance if they had been bitten, we would have had to have an ambulance meet us in the parking lot, maybe with anti-venin, and we would have had to run down the trail. I'm not sure the ambulance folks would have time to pick up anti-venin, and I don't think I could have run all the way down the hill. 911 would have worked better, of course, and there would have been a local hospital with the anti-venin, but it still seems pretty grim.

One big overall mistake here was that I fixed on the idea of getting the dog to emergency aid (and specifically anti-venin) as fast as possible, and neglected everything else. That'll work if aid is minutes away, but if not, it's critical to be able to maintain the basic body functions of the animal (or person!) until help arrives. After reviewing the literature, it seems that anti-venin is not a magic instant cure. Instead, snakebites seem like one more thing where most of what medical science has to offer is basic life support (oxygen, fluids) while one's body fixes the problem on its own.

In this context it is sort of irritating is that the 911 operator couldn't give me basic instructions: check airway, breathing, heartbeat. Perhaps they would have done this eventually; I don't know because I had no cellphone coverage in the parking lot.

I'm feeling sad now.

Tuesday, October 02, 2007

More Lunar Hopper

Here's a specific mission mass budget:

The goal on the lunar surface is to deploy three HDTV cameras with motorized zoom, pan, and tilt. The cameras shoot stills or video, record to flash, and then send their bits to the main transceiver over an 802.11b link. The radio links require line-of-sight and fairly close range, less than 1 km. The camera and radio are powered-down almost all the time, and the onboard battery has enough juice for perhaps five minutes of camera operation and maybe 20 minutes of radio time.

Each camera sits on a little post with three legs and an anchor that secure it to the lunar surface. The anchor is explosively shot a foot or so into the lunar dust, and then a spring-wound mechanism tensions the hold-down string. The hold-down string is to keep the rocket plume from blowing the post over when the lander jumps.

The mission is to land somewhere with a good view of the surrounding terrain, deploy one camera, look around a bit, upload pictures/video, and let mission control find somewhere interesting to hop, then jump there and deploy another camera. Then do that again. Then do a third jump, after which we just use the camera on the jumper. The idea is that the first and later second cameras can get video of the jumper taking off and landing, then send that video back to the jumper, which sends it to Earth.

The camera weight with zoom and pan/tilt sets the mission weight. I don't know anything about spaceflight-qualified hardware, but I've looked at the MSSS web site like many of you. A little Googling around makes it look like pan/tilt heads are pretty heavy, but these are designed for Earth weather and Earth gravity.

HD Video/still camera500 g4 watts
Zoom Lens650 g0.5 watts
pan/tilt head500 g0.5 watts
5 foot post and three legs400 g
explosive anchor and spring reel500 g
battery200 g
radio/computer250 g
total3000 g


Two of these, plus a pan/tilt on the lander are going to be about 8 kg. My guess is that the lander's radio link will be about 4 kg, and the dry mass of the vehicle necessary to land all this will be another 18 kg for a total of 30 kg.

Descent from lunar orbit, landing, and two more hops will take 2000 m/s delta-V. If we're using a N2O4/UDMH hypergolic motor with 2500 m/s exhaust velocity, then we'll need 37 kg of propellant when in lunar orbit.

I think you want to do the earth exit burn, lunar orbit injection burn, and descent and hopping all with the same motor. You do it with drop tanks, which probably get blown off after the first lunar deorbit burn. This gets the mass in low earth orbit to around 400 kg, which is well inside what a Falcon 1 can lift from Omelek.

Monday, October 01, 2007

Lunar hopper?

So, yeah, I work for Google, but I have no specific knowledge of the Lunar X Prize. I just took a look at their home page, saw the brief summary of the rules, but didn't find a complete draft. It looks like they are going to revise the rules a bit after some feedback.

Here's what I've been thinking: if you want to land on the moon, look around, and then get close to something else and take pictures of it, you don't really need wheels, because you've already got a rocket that knows how to land.

In the moon's soft gravity, it takes fairly small amounts of delta-v to jump a long way. In the moon's 1.62 m/s^2 gravity, you can get 50 seconds of flight time with a 82 m/s delta-v. Use some more delta-v to go sideways, and a bit more to manoever for the landing, and you could cover 500 meters with about 100 m/s of delta-v.

Landing from a lunar orbit takes 1600 m/s of delta-v, so adding a few hundred for a few hops is not a huge increase. Yes, it's exponential, but if done with LOX/kerosene or hypergolics, a 2000 m/s total delta-v budget for the lander implies a very reasonable mass ratio.

Why hasn't it been done before? Multiple rocket hops would have been stupid for the manned mission, because the landing was the highest-risk portion of the mission. It's still the highest-risk portion, and the lunar hopper idea stands a very good chance of crashing one of it's landings. But that's okay, because after a few hops the thing will run out of gas and be dead anyway.

Tuesday, September 18, 2007

I blog to think

About 30% of the entries I write for the blog never get posted, because I cannot get my reasoning straightened out. There are some entries that I post, that I shouldn't have for the same reason.

I write these blog postings because when I try to figure out something complicated, it helps to write it down. When I started a company by myself (10x), I had to make progress with no coworkers for three years. There was no-one with whom to talk over complex ideas. I ended up writing essays to myself, each designed to take someone from the state I had been in before writing the essay (confused) to the state I was in after writing the essay (enlightened).

I've just discovered Paul Graham's site. He does a better job of saying the same thing here.

Thursday, September 06, 2007

One of the problems with a Thorium-fuelled Molten Salt Reactor is starting it. Plutonium (and U-238) from reprocessed reactor waste is the most obvious start charge, but the problem is that it takes several tons of Plutonium (and thus a ton or more of U-238 that comes with it) to start the reactor, which will burn just one ton of actinides a year (which will soon be mostly the U-233 introduced from the blanket), and so it will be decades before the plutonium level is low enough not to be a problem in the waste stream.

The core geometry that David LeBlanc suggests is quite simple -- one big Hastelloy tube in a big unpressurized vat of blanket salt with no graphite. We could make it more complicated by having a three-fluid reactor, with two fuel salt tubes in a single big blanket. The first fuel salt would contain the start charge of Plutonium/U-238. The second fuel salt would be gradually charged with U-233 recovered from the blanket. Fission product seperation would run on the second fuel salt but not the first. The idea is that the fission product buildup in the first fuel salt wouldn't ever rise to a level that would kill the reactor completely, and by immersing the start charge in the neutron flux for decades, you could eventually burn all the transuranics.

One other advantage of this arrangement is that if you had a reactor with a breeding ratio of, say, 0.95, you could insert a small amount (70 kg/year) of reactor-grade Plutonium into the first fuel salt loop to make up for the insufficient breeding. The fission products from these later additions would never add up to the same level as from the initial Plutonium charge, and so they would not poison the reactor either.

There is one other point I'd like to make about reactors with less than unity breeding ratio: the reactor is quite insensitive to the actual fissile load it carries. It would be quite reasonable to have a big start charge and subsequent make-up charges of Plutonium breed an extra 50% or even 100% more fissile than needed, so that the reactor could go for one or two decades without any further make-up. During those decades, the actinides in the first fuel loop can burn down to nothing. After the third decade of operation, while you are replacing the radiation-damaged tubes in the core, you can seperate the Uranium and salt from the two fuel loops, dump the remainder as short-lived waste, and restart the reactor with the Uranium it stopped with, plus another, smaller start charge of Plutonium.

All this excess fissile material is a proliferation hazard in foreign countries. But the worst energy problem in the world is in the United States, where proliferation is not a problem -- we already have the Bomb. We do have to worry about diversion, but I frankly think that's a pretty small problem compared to the national security problem we face due to importation of oil.

Thursday, August 16, 2007

Contrast beyond measurement

Part of the challenge of taking pictures outside is that the world has a lot of dynamic range, and our ability to capture that dynamic range is fundamentally limited by the flare in the lenses that we use. So, I've been working on reducing flare in my lenses for a few months.

It turns out there are some guys, Paul Boynton and Edward Kelley, at NIST who had a similar problem (here's the link). They were trying to measure the contrast of LCD displays. It turns out that customers demand higher contrast from their displays than a standard camera can directly measure, because of limitations of veiling flare in the camera. To reduce flare from air/glass interfaces, they built a camera with no air/glass interfaces by filling it with liquid. Totally cool. But also very geeky, not the kind of thing you'd expect to bump into in the day-to-day world.

This morning the DJ on the radio was reading an ad for a Pioneer LCD TV, and claimed that it had "contrast beyond measurement". The person writing that ad probably doesn't know what that means, but I wonder who he heard it from. I find it funny to think about that phrase working it's way from one of the few thousand people who actually care, through executives and ad campaigns and broadcast radio, to me, one of the other few thousand who actually know something of the back story.

Random disorganized blog thread: The high-contrast LCD TV thing raises two leading questions: how are broadcasters producing those high-contrast signals in the first place, if cameras can't capture that much dynamic range, and how is it that customers can discern contrast levels that cameras cannot?

I think the answer to the first question is that broadcasters are stretching image contrast before display, probably to make up for veiling glare on the air/glass interface at the front of the LCD.

The answer to the second is that the human eye probably has less veiling flare than a camera, because it has just one air/liquid interface. I wonder if the human eye has dichroic antireflection coatings/layers on the exterior air/solid interface? I know we've not yet evolved correction for longitudinal or lateral chromatic shift (achromatic and apochromatic lenses), which I think is odd, given the sharpness benefits.

PC sync output from Canon 1D Mark III

Recently I was faced with the problem of generating a TTL compatible pulse from the PC sync output of a Canon 1D Mark III digital SLR.

This ought to be pretty easy. The sync jack on the camera has two contacts: the center pin and the shield, normally disconnected. When the shutter fires, a switch momentarily closes between the two. My understanding is that older flash units would use this switch closing to discharge a capacitor through a xenon flash tube.

So the circuit is trivial: a 5V supply, a resistor from +5V to the TTL output, connect the grounds, and the PC sync goes between the TTL output and ground. When the shutter fires the camera pulls the TTL output low, otherwise it gets pulled high by the battery.

Except: the Mark III doesn't open the switch until the current has stopped flowing. That's not a bad thing; the camera thinks it is discharging a cap, and keeps going until the cap is drained or the arc in the xenon tube collapses. It does mean that I needed to build a one-shot instead of the single-passive circuit, but that's not really so bad.

The problem is that Canon hasn't documented this behavior anywhere. Worse still, their phone support folks told me the exact operation of the PC sync terminal is proprietary (after keeping me on the phone for over an hour). This is a standard interface! They already have a proprietary flash interface on the top of the camera -- there is hardly any need for another one.

Call me disgusted.

Sunday, August 05, 2007

Buying a house -- lessons learned

We tried to buy a house without using a buyer's agent. We got the house, but ended up with a agent. Here are our lessons learned about the transaction itself:
  1. Watch the language. The legal language is different, and more accurate, than the language used by the agents themselves. The "seller's agent" is legally called the listing agent, and the "buyer's agent" is legally called the selling agent. If you are buying a house, this is supposed to clue you in that "your" agent is really not acting in your interests.
  2. Extract more money from the mortgage broker. The mortgage broker gets a huge kickback from the bank: 1.5% in our case. We had multiple mortgage brokers find us loans, and we told the ones that were more expensive to come up with a better offer. What we did not realize is the size of their kickbacks. We could have asked, for instance, for 1% of the loan amount to be paid back to us at closing by the mortgage broker. We also talked directly to banks, and were unable to get a better loan than what we got through a broker. This seems like stupid behavior on the part of the banks.
  3. It's hard to avoid a selling agent. We found our own house, and told the listing agent that we did not want to use a selling agent. We figured we could save the 3% that the selling agent usually charges.
    1. The listing agent reacted very negatively (as did everyone else in the real estate business to whom we suggested this idea) when she heard this. She said her sellers would not give us a fair hearing unless we had an agent. She had no sensible explanation why. I finally phoned the seller at home, and left a message saying I wanted to hear directly from him that he wanted us to have an agent. What I got was a vague message back from the listing agent hinting that we needed a selling agent. We really liked the house; I caved in. I suspect but don't know that if I had used the "listing/selling agent" terminology instead of "seller's and buyer's broker" terminology, I might have broken through.
    2. We used Todd Beardsley as a selling agent. We found him in a posting at Mike's Lookout (Mike also used Todd). Todd charges 1% and rebates whatever extra the sellers are offering (typical selling agent commissions are 2.5% to 3%). He doesn't help you find the house, he just helps the negotiation. It worked, the listing agent accepted him immediately. I thought Todd was very professional, and would recommend him with one caveat: Like all selling agents, Todd is incented to (a) get you to buy the house, and (b) get you to pay as much as possible. He is a professional, but the incentive leaks through. For instance, as an opening strategy, Todd suggested that we figure out the maximum amount of money we would be willing to pay for the house, and offer that. No way!
    3. A few years ago, we bought a plot of land without a selling agent. In that case, there were no competing bids and the sellers were motivated (the land had been dropping in value and they had been trying to sell it for two years). The way it worked was that the listing agent pretended to represent both buyer and seller, and changed his fees to the seller from 6% down to 3%. The Mike's Lookout post above suggests that it's unusual for the listing agent to renegotiate his commission like this. I don't think so. Another real estate agent that we have worked with has told us that the commissions get renegotiated all the time, for instance when selling agents are trying to close the last 1% of so between the buyer and seller.
  4. Never counter-offer all of your bidders. When you counter-offer your highest bidder, you are rejecting their bid, placing the bird in hand back in the bush. In our case, I'm pretty sure we were the highest opening bidder of three. One other was a low-ball or nonserious bid. The sellers counter-offered all of us, basically trying to rachet us up. What they managed to do, instead, was tell me that I was the highest bidder. When I lowered my bid, they countered with my original bid, which told me the other bidder hadn't matched my lower bid. I should have gone lower still. Instead, I caved. Even so, the counter-offering everyone strategy resulted in us paying less.
  5. Pay the selling agent directly, instead of allowing the listing agent to do it. In our case, Todd was able to negotiate this with the listing agent during escrow. It's worth a lot to the buyers, since they pay property tax on the amount paid to the agents for as long as they own the house. But it's also worth money to the sellers: they save transfer tax, and perhaps a few other items.
  6. Try to pay the listing agent directly, instead of allowing the seller to do it. We didn't try this, because we couldn't figure out how to do it. You might phrase your offer as an amount for the house and a fixed amount for the listing agent. That way, the listing agent and seller can renegotiate their terms without involving you, and it doesn't appear that you are incenting the agent to sway his client, to whom he owes a theoretical professional obligation.

Friday, June 22, 2007

Eating their way to carbon neutrality

At work we got to talking about the incredible size of blue whales. The relevant stats are at http://www2.ucsc.edu/seymourcenter/PDF/2.%20Ms.%20B%20measurements.pdf

At the bottom of this document it talks about how much krill these things would have eaten. Krill live at the surface, perhaps 1 meter, so 15 billion cubic meters of ocean is something like 15000 square kilometers, which is the area of maximally krill-swarmed antartic water that the blue whale population would have filtered through each year, before we killed nearly all of them. I don't know how fast krill populations reproduce, but it seems like that's enough consumption to materially affect the local environment.

Compare 136 million metric tons of krill per year eaten by all those whales (blue, fin, humpback and sei) to about 700 million metric tons of oil a year consumed by the United States. Obviously krill don't have quite the energy content of crude oil, but the notion that the numbers are even comparable is just boggling.

The document suggests that krill have energy content of 3.8 MJ/kg, which is considerably lower than the approximately 25 MJ/kg of crude oil. Each day a blue whale would eat 3 tons of krill and gain 400 kg, so if the weight gain was mostly fat and not water, the whales would have to be converting nearly all the swallowed krill energy into fat. Later that would be burned off into CO2, so my guess is that these whales were gigantic hydrocarbon burners, consuming energy equivalent to 3% of U.S. oil consumption.

Almost all those animals are gone now, so I wonder what is happening to all those krill down near Antartica right now. Nature abhors a vacuum.

Thursday, June 07, 2007

Fertilizing the ocean with iron

John Martin suggested seeding the South Pacific with iron ("The Iron Hypothesis") to increase the photosynthetic activity there. (Here's a clip of Richard Barber describing the idea.) If this increase is to sequester CO2, some of the carbon fixed from the atmosphere has to fall into the deep ocean rather than being respired by animals. Generally, live animals don't fall into the deep ocean, but excrement (referred to as "marine snow") does. So far as I know, nobody knows the carbon content or overall rate of this marine snow, and certainly nobody has any idea how it might change if you dumped a bunch of iron into the water.

One thing is clear though: dump iron into any of a number of spots in the ocean and you get a massive increase in biological activity. More phytoplankton, more zooplankton, and according to one report, more larger fish from surrounding areas swarming in to eat the bounty. This makes sense to me: these productivity spikes have probably been happening for millions of years from dust storms. Fish can probably smell the extra nutrients or some other related effect, and I'm sure the effect is like a temporary oasis in a desert.

What is less clear, but certainly possible, is that the increase in productivity at the base of the food chain leads to an increase farther up. That's interesting to me because I don't eat a lot of zooplankton myself, but I do enjoy tuna, salmon, and a number of other pelagic fish which are all under pressure from commercial fishing. I'd certainly support my tax dollars going to a study to find if iron seeding increased the productivity of a fishery. If it did, you'd think the commercial fishermen would be more than willing to take some iron fertilizer out with them on each trip.

Fishery fertilization might significantly improve the global human food supply, both in quantity and quality. If it works, you'd have fairly wide-scale and sustained fertilization, which would make the carbon sequestration (and other) effects of fertilization much easier to study. After a decade or two of that, you might have enough information to know whether more massive fertilization might help with the global warming problem.