Written by Dave Martin
  • 12/2/2019
  • Read Time : 5 min.

Still Using Spreadsheets? Your Engineering Calculations Deserve Better

Stock image of jet taking off.

Engineers often resort to spreadsheets for their calculations, but not without some headaches. Here’s a spreadsheet that my friend created to drive part geometry for a wing in a Creo Parametric model:

Traditional spreadsheet showing lift equations.

Image: Traditional spreadsheet using pasted images for engineering calculations.

It doesn’t look too bad, right? Looks, as we know, can be deceiving. Those nice-looking equations for the lift and lift coefficient are actually images pasted onto the sheet. If you look in the formula bar, the lift calculated in cell G3 is actually given by:

=E8*0.5*E11*E10^2*E1

That’s not easy to read. That’s also not how engineers work. We want to use variables, subscripts, exponents, Greek letters, and so on – real math notation, just like you would write on a whiteboard or a sheet of graph paper.

Look at lines 9 and 10. The wing speed is given in miles per hour and then in feet per second. The Excel spreadsheet is actually converting units here. We don’t see that work being performed and it can be confusing having two different velocities in our calculation methodology.

Furthermore, writing formulas using cells instead of variables and writing them in a spreadsheet’s cluttered, non-intuitive notation is a huge potential source for error. Similarly, the units conversion for the velocity can introduce errors as well. For example, a mismatch of units for the trajectory calculations resulted in the Mars Climate Orbiter, a $327 million project, burning up on entry into the Martian atmosphere.

From an aesthetic standpoint, do you really want to share your calculations with others in a format that’s more associated with accounting and taxes than engineering and manufacturing? Let’s be frank: spreadsheets don’t leave an impactful impression.

The Alternative

Smart engineers don't rely on spreadsheets alone. Here is the same work in a PTC Mathcad worksheet:

PTC Mathcad worksheet showing lift equations.

Image: PTC Mathcad worksheet. Embedded image used for visualization, while active calculations appear below.

The calculations are presented in an interface that resembles the same kind of computational pads that engineers use every day. The variables are defined using letters (both English and Greek, uppercase and lowercase) and subscripts. The worksheet shows the functions for the coefficient of lift and lift force and evaluates them inline. The work is also documented with text and images, capturing our intent.

We can define variables in whatever units we want, run calculations, and view the results in any other units. We don’t have to work within a single designated unit system since PTC Mathcad understands different unit systems and reconciles them. This worksheet was actually set up using the Metric system, but the lift force was evaluated using pounds force instead of Newtons. The ability to mix and match units and know that they will be handled automatically provides an engineer with incredible power and freedom.
In this single, easily readable document, we have:

  • Reference images that explain the problem we’re solving.
  • Our math presented in a logical, step-by-step flow.
  • Supplemental text that explains our engineering assumptions, decisions, and methodologies. (By the way, PTC Mathcad Prime 6.0 has spellcheck.)

PTC Mathcad contains numerous advantages over spreadsheets for engineering calculations including versatile powerful options such as:

  • Over 400 built-in functions covering a wide range of categories including Statistics, Data Analysis, Signal Processing, Design of Experiments (DOE), and Differential Equations
  • The ability to perform calculus including derivatives integrals, summations, and limits.
  • Easy programming capability that includes conditional logic and looping constructs to define your own complex functions that return single values, vectors, or matrices.
  • PTC Mathcad also has libraries available that include examples of how to set up and solve a variety of engineering and advanced math problems.

Once you create your own worksheets, you can reuse them and share them with others. In this way you’re building your own library of resources for future work.

The Choice Is Yours

Why rely on traditional accounting spreadsheets when you can use an application that was designed for engineers and offers real math notation, units intelligence, and a document-based approach that presents your engineering work with total transparency and clarity? Which makes more sense to support your product development organization?

Download PTC Mathcad Express free
 

 

Tags:

About the Author

Dave Martin is a Creo, Windchill, and PTC Mathcad instructor and consultant. He is the author of the books “Top Down Design in Creo Parametric,” “Design Intent in Creo Parametric,” and “Configuring Creo Parametric,” all available at amazon.com. He can be reached at dmartin@creowindchill.com.

Dave currently works as the configuration manager for Elroy Air, which develops autonomous aerial vehicles for middle-mile delivery. Previous employers include Blue Origin, Amazon Prime Air, Amazon Lab126, and PTC. He holds a degree in Mechanical Engineering from MIT and is a former armor officer in the United States Army Reserves.

Your Engineering Calculations Deserve Better Than Spreadsheets
Here's an alternative to spreadsheets for engineering calculations just for people who use variables, subscripts, exponents, Greek letters, and so on.