Inside a plain brown building on the Mall, someone within the next few weeks will step to a panel labeled “Master Control Station” and switch on the new machinery.

A half-mile away, two powerful underground pumps on the Tidal Basin will start pushing 4 million gallons of water through a buried pipeline at 800 gallons a minute.

And from 58 outlets in the concrete floor of the Lincoln Memorial Reflecting Pool, gentle streams of water will begin to refill the pool for the first time in 20 months.

The moment will mark the culmination of the $34 million reconstruction project that has had the famous pool at the foot of the Lincoln Memorial closed since 2010.

It will debut an almost completely rebuilt and slightly redesigned pool — shallower, but more aesthetically pleasing, with a tinted bottom, sidewalks to replace the old dirt paths and subtle nighttime illumination.

It will also employ a new water supply system in which its water will for the first time be drawn from the Tidal Basin — not from city water reserves — and be cleaned and recirculated. The old pool could not circulate its often-stagnant water.

And it will return to public use one of the nation’s most elegant and storied locales, in a city where other high-profile sites, such as the Washington Monument, remain closed for repairs.

“When people think of Washington, D.C., they think of the Lincoln Memorial, they think of the reflecting pool,” Interior Secretary Ken Salazar said last Wednesday during a tour of the site.

“They remember moments in history . . . and so much that has happened around this place,” he said. “And it almost seems to me that without the reflecting pool it would be like a half-empty place.”

Officials said they have been pumping some water into the pool and draining it to test its systems. If all goes well, they told Salazar, they could begin the five-day process of filling it for good very soon.

“That’s quite the milestone,” he said.

The National Park Service said it hopes to reopen the pool to the public by the end of the month. The pool, about 160 feet wide and 2,100 feet long, dates from shortly after 1922, when the Lincoln Memorial was dedicated before a crowd that included Abraham Lincoln’s son, Robert, who was then 78.

Modeled after the grand canals at Versailles and Fontaine­bleau, it has for almost a century mirrored the chapters of American and Washington history: civil rights marches, peace demonstrations, presidential inaugural fests and the annual Fourth of July fireworks shows.

Once the site of winter ice skating and summer toy boat regattas, by 2010 the pool was a fetid wreck, its water off limits to the public. Its old bottom was cracked and leaking 500,000 gallons of city water a week, 30 million gallons a year.

And the water, even when replenished, quickly became fouled with dirt, duck droppings and trash. The pool had to be cleaned two or three times a year, with 10 to 15 truckloads of debris removed each time, according to the Park Service.

“The original pool was built with basically an asphalt and tile bottom,” said Dennis M. Quinn, a Park Service civil engineer who is the Mall’s point man on the project. “It was built on marshland, dredged material from the Potomac” which had been used to fill in the west end of today’s Mall.

In addition, the pool had nothing to support it as it sat on the soft ground. Only the granite “coping stones” around its perimeter were supported by timber pilings that were driven down to bedrock 40 to 60 feet below the surface.

Unsupported, the pool soon began to sink — about a foot in the past 90 years — and leak, according to Quinn and news accounts.

In the 1980s, a concrete bottom was poured over the old one. But the sinking and leakage continued. In 1986, an engineering report said the pool’s structural system was failing.

And after the terrorist attacks of Sept 11, 2001, fears arose that the shallow, unobstructed pool might be an avenue for an attack on the Lincoln Memorial. Indeed, Quinn said, the security aspect “was probably the biggest driving force in getting this plan approved.”

In 2010, the concerns, coupled with government stimulus money through the American Recovery and Reinvestment Act, made replacement of the pool possible, Quinn said.

First, the old structure was torn out, except for remnants of the old tile and asphalt bottom. Then, 2,133 timber pilings were pounded through the flimsy old bottom down to bedrock every 2 feet, 9 inches to support the new pool.

High-tech water-circulating machinery was installed.

That included the new pump building on Independence Avenue, which houses a second set of circulating pumps, a filtration system that uses two giant sand vats, and an ozone-disinfecting apparatus.

And then, 71 / 2 acres of specially tinted concrete were poured to form the new pool, which requires 2 million gallons less than the old one.

The old pool was about 31 / 2 feet deep; the new one is less than three feet deep. “You won’t notice the difference,” Quinn said.

With its tinted bottom, it will also be more reflective, Park Service officials said.

Security was enhanced by a three-foot dip in the bottom at the west end of the pool, acting as a kind of moat to protect the Lincoln Memorial.

New wheelchair ramps have been added, also at the west end, to allow access from the Lincoln Memorial. And “cobra head” overhead lights, designed to limit light pollution, will illuminate the Elm Walks along the pool’s north and south perimeter.

A question remains about the old pool’s portable concrete duck steps. They were designed by the Park Service to enable ducklings to climb out of the pool, which is necessary for their survival.

The old steps might not fit the dimensions of the new pool. But Quinn said technicians should be able to regulate the water level of the pool so the ducklings can get out on their own.

Now, said Quinn, who has been part of the process from the beginning, almost everything is ready.

“I feel privileged,” he said. “To have a say on the matter, to be able to go. . . in the future, bring my daughter, hopefully my grandchildren, and say that I worked on this project. It chokes me up a little bit.

“It’s an American icon,” he said.