Optimized


A Research Blog about Multidisciplinary Design Optimization

DevOps for Research and High-Performance Computing

March 18, 2020 by Ben Brelje

Software produced in research has a bad rap. “Researchy” codes might have very powerful capabilities, but be plagued by the following issues:

  • Buggy (untrusted results)
  • Poorly-documented
  • Hard to build or run on your computer
  • Fragile to code changes or environment changes
  • Slow or non-existent updates and patches
  • Insecure

Part of this is because researchers are usually scientists first and coders second (or fifth…). There is an incentive to make progress quickly, finish the paper, and then move on to the next, novel topic. The net result is a huge supply of software that consumed thousands of hours but never gets used again. You think social science has a replication crisis? Good luck trying to replicate a paper involving most research codes.

Another problem is that academic labs have a lot of turnover. Students are constanly entering the lab without much software development experience, then graduating and leaving a few years later. This leads to a loss of institutional memory about why parts of the codebase are the way they are.

You know who else deals with similar issues? The entire tech industry. Various software engineering methodologies (agile, spiral, extreme programming, etc.) have been proposed over the years to solve these issues. It’s an industry for authors and consultants, but there are some valuable practices to be found here as well.


More »
No comments

Breaking bad habits and forming good ones: a review of Atomic Habits

January 28, 2020 by Ben Brelje

I am keenly aware of several of my notable bad habits and I really want to break them. To name a few:

  • Playing on my phone instead of getting out of bed in the morning
  • Letting emails fester in my inbox for weeks until it’s too awkward to respond
  • Getting distracted on social media (in particular, Twitter) during the day when I should be working on my dissertation research

My PhD advisor mentioned the book Atomic Habits by James Clear on a number of occasions lately so I figured I would give it a try.

Overall, Atomic Habits is a worthwhile read and I think some of the tools will marginally improve my life. Hopefully, over time, that marginal improvement will compound into something significant.

In this article, I’ll attempt to summarize the actionable parts of the book. I will start by giving an overview of the major arguments of the book, then close by describing some of the more tangible tools and techniques that the author recommends.


More »
No comments

New Year's Resolution: Play to Win

January 02, 2020 by Ben Brelje

As an optimization engineer and researcher, I am always thinking about how to optimize my life. Lately, I have been thinking particularly about the value of high-variance strategies. I am a pretty risk-averse person, generally preferring a known, acceptable option to the prospect of an unknown but potentially great (or terrible) option. One of my resolutions for 2020 is to be more thoughtful about situations that warrant taking bigger risks, and to be mindful about my biases which push me towards low-variance strategies even when they aren’t the best choice.


More »
No comments

Visualizing CFD data using plotly

December 20, 2019 by Ben Brelje

Computational fluid dynamics (CFD) is an indispensable tool in aerospace engineering. These expensive simulations produce a large amount of three-dimensional flow data, and in order to gain understanding from the results we employ interactive visualization. We generally use purpose-built desktop applications such as Tecplot or Ensight to do this. However, the software is expensive and this makes it difficult to share results (other than in simple 2D renderings). In this post, I will demonstrate how to create web-based, interactive, 3D visualizations of surface pressure data using a free and open-source software stack.

Check out this example result from one of my earlier research papers! (Flexible Formulation of Spatial Integration Constraints in Aerodynamic Shape Optimization )


More »
No comments

Hydrogen-powered aviation part 1: a history

December 18, 2019 by Ben Brelje

Hydrogen fuel for aircraft, while seemingly a recent idea, is almost as historic as jet aviation itself. This post, the start of a series on hydrogen power for aviation applications, will dive into the history of hydrogen-powered flight, from the secretive days of the Cold War to the clean power demonstrator projects of the present day.

Theoretical background

Hydrogen has long seemed attractive to aircraft designers as a fuel source because it has desirable physical properties. Compared to kerosene jet fuel, it holds tremendous energy per unit weight: hydrogen measures as high as 142 MJ/kg, while jet fuel holds about 42 MJ/kg. This promises longer range. Per the Breguet range equation:

where is the fuel heating value (a.k.a. specific energy), is the propulsive and thermodynamic combined efficiency, is the gravitational constant, is the lift to drag ratio, and is the weight.

We see that the range is, to first order, linear with specific energy of the fuel. In this simple analysis, hydrogen looks about three times better than kerosene on range! Hydrogen also burns very easily, which improves engine operability at the corners of the operating envelope (especially at high altitude).

Hydrogen also burns cleanly, producing only water vapor and heat (when burned very lean - NOx is a concern otherwise). When used in a fuel cell, no carbon emissions are produced. In the modern era, the environmental benefits of hydrogen fuel could be its greatest selling point (assuming that it can be generated in a sustainable way).

In reality, the range benefit is greatly reduced due to the low density of hydrogen, which causes the airframe to grow (increasing weight and drag). I will discuss these tradeoffs in the next post.


More »
No comments

A quick look at the proposed EASA eVTOL rule

October 16, 2018 by Ben Brelje

EASA dropped big news on Monday, announcing a proposed special condition under which electric VTOL aircraft under 2000kg may be certified in the European Union. This is the most concrete pathway to certification from a major western regulator and is sure to be followed closely by the FAA (which tends to keep regulations in sync with Europe for the most part, and vice versa). I'll take a quick look at the updated rule and identify the novel issues raised. Several of the points are sure to be contentious, and I expect the public comment period to be quite lively.


More »
No comments

Aerodynamics of the Winter Olympics - Part One (Speed Skating)

January 29, 2018 by Ben Brelje

The Olympics are about both training the human body to its highest potential and harnessing creative engineering to gain a competitive edge. At the Winter Olympics in particular, technology plays a key role in athletes' competitiveness. As I have time, I hope to write a quick post on how aerospace engineering principles apply to athletic performance at Winter Olympic sports. Today's topic: speed skating.

Full disclosure: I'm an aerodynamicist and a cyclist but I can barely skate.

Speed skating is both a sprint and endurance sport, with events from 500m to 10km. Because of the extremely low friction of the skates on the ice, the primary force reducing an athlete's speed is aerodynamic drag. Reducing drag is, therefore, a paramount consideration in achieving a spot on the podium.

Streamlined shapes are usually much longer than they are wide. When air or water flows over a streamlined shape (like a fish, or an airplane), it remains attached over almost the entire length. Streamlined shapes usually have very modest curvature, and they generally come to a point on the downwind / trailing side. Swimmers do a great job of streamlining, as seen by Michael Phelps in the video below. Skeleton and luge athletes do the same thing. Generally, streamlined shapes have the lowest drag.


More »
No comments

E-flight Roundup: New Flight Tests, New Entrants, and New Hype

January 20, 2018 by Ben Brelje

Two months of eVTOL developments in one post!

Launches/reveals

  • Erik Lindbergh (yes, that Lindbergh) launches VerdeGo
  • Bell Helicopter shows cabin mockup
  • Hopflyt goes public with eVTOL craft based on Custer Channelwing concept
  • Detroit Aircraft shows mockup at Detroit auto show
  • Vimana, the worst eVTOL concept yet (now with BLOCKCHAIN and 100% NATURAL AUTO-STABILIZATION!)
Test flights

  • Vahana (apparently) misses targeted 2017 first flight
  • Workhorse Surefly accomplishes tethered flight at Consumer Electronics Show
  • Boeing reveals multirotor, heavy-lift cargo drone
  • Zee Aero shows some old flight test footage on CNN

Industry developments

  • Uber makes strange request of City of LA government
  • Uber hires away Tesla's top battery expert
  • AHS holds sold-out eVTOL technical meeting in San Francisco


More »
No comments

E-Flight Roundup: Airbus internal competition heating up

November 18, 2017 by Ben Brelje
  • The CityAirbus eVTOL demonstrator completes propulsion system ground testing in preparation for first flight in 2018
  • XTI Trifan announces a major redesign and 60% scale flight test demonstrator
  • Aurora Flight Sciences joins The Boeing Company
  • STARC-ABL rev B to be externally assessed by Aurora

More »
No comments

Have electric aircraft reached the peak of inflated expectations?

November 17, 2017 by Ben Brelje

It’s common knowledge that most new technologies are overhyped during early development. Technology advisory firm Gartner terms this process the hype cycle and suggests that there are five stages. Sure, it's made up and it's not really a cycle, but we'll go with it:

  1. Technology trigger: Laboratory or theoretical results suggest a promising new area known mostly to topical experts. Industry and the press largely have not picked up the story yet
  2. Peak of inflated expectations: Popular press and industrial leaders learn of the technology and appreciate the potential benefits but not the technical risks and limitations. Some early demonstrators may be revealed as successes; the bugs may not be publicly known.
  3. Trough of disillusionment: Commercial implementations produce mixed results once customers put the technology into use and expose flaws. Major early projects may fail.
  4. Slope of enlightenment: Problems are fixed in second-generation products following in-service experience. Industry begins to change its ways of doing business to take full advantage of the new technology.
  5. Plateau of productivity: The technology becomes mainstream in industry; incremental improvement maximizes performance.
Where is electric aircraft propulsion in the hype cycle?


More »
No comments

Deriving the modified Breguet range equation for a hybrid-turboelectric aircraft

September 08, 2017 by Ben Brelje

Summary

  • Modifications to the Breguet range equation considering hybridization of energy storage are proposed
  • Payload-range charts are constructed to illustrate the impact of hybridization on airplane performance for a TBM 700-sized design using two different non-dimensionalizations
  • Simple, analytical expressions for the impact of technology and mission requirements on airplane weight are derived and explained


More »
No comments

Progress in hybrid-electric drivetrain components

September 06, 2017 by Ben Brelje

I just moved back to Ann Arbor and started school, so the last several weeks have seen a large number of important stories pile up. Let's address some of them here:

  • NASA forms partnerships for development of electric propulsion system components, focusing on power density and efficiency
  • GE announces hybrid-electric progress
  • Aviation Week publishes eVTOL issue
  • Hybrid-electric UAS offered for sale
  • Airbus Vahana flight test plans
  • eVTOL odds and ends


More »
No comments

Electric Flight Roundup: More details on the NASA X-57 Maxwell

July 27, 2017 by Ben Brelje

Well, I may have been too ambitious with the idea of a "weekly" tempo for my last blog post. So much was announced at Paris but the following weeks were slow. I've been gathering updates since then and my plan is to post when I reach a critical mass of material or when a feature-worthy development comes along.

  • More details on the X-57
  • Turbine primes throw cold water on electrification potential
  • External analysis of Zunum
  • New FACEs and fresh configurations


More »
No comments

Weekly Roundup: Airbus Vahana is number-crunching away

June 21, 2017 by Ben Brelje
  • Airbus A^3's Vahana team is renting the heavy iron with Rescale Cloud HPC
  • Israeli firm EViation makes its Paris debut
  • XTI Aviation announces first three orders in Paris
  • Zunum secures another round of funding from the Washington State clean energy fund

More »
No comments

Electric Flight at AIAA AVIATION 2017

June 20, 2017 by Ben Brelje

AIAA recently posted a live stream from the "Aircraft Electric Propulsion: Transforming Aviation" track at AIAA AVIATION 2017. I wasn't able to attend in person, so it was great to be able to review the panel discussion and questions.

The panel featured speakers from E/S Aero, the American Helicopter Society, NASA Glenn, CALSTART, and Zunum Aero.


More »
No comments