Monthly Archives: August 2017

Summer intern dives deep into someone else’s code

In his spare time, Saul Amster likes to program. He’s currently working on a project to turn a tablet into a magic mirror. Yes, like Snow White’s evil stepmother (“Mirror, mirror on the wall…”), except imagine asking the mirror for the day’s forecast or the score of last night’s game. “Programming is an interesting hobby,” he says. “It’s basically free. All you need is a computer. Other hobbies require you to keep sinking money into them.”

This summer, Saul turned his programming hobby into an internship at the Concord Consortium. But while he’s used other external software libraries before, he had to teach himself to work with other people’s preexisting code, plus learn the push and pull requests of contributing code on GitHub. And although he was new to the code base underlying the Seismic Explorer software, which displays earthquakes and volcanoes worldwide using real-time data from the USGS, he didn’t let that stop him from jumping in. In fact, he’s enhanced an existing feature by redrawing the plate boundaries to make them more noticeable and added a new feature that shows arrows to display the movement of the tectonic plates. He’s now reworking how the animation is done in the model.

“I have been really impressed with Saul,” says Amy Pallant, Principal Investigator of the Geological Models for Explorations of Dynamic Earth (GEODE) project, which developed Seismic Explorer. “He has been able to add new data into the model, think about the user experience, and help me make decisions about layout, design, and data representation. His vast experience with programming, computer games and educational environments meant that I could learn from him, too.”

Saul is sure this first experience working with someone else’s code will serve him well when he heads off to Ithaca College as a freshman computer science major. “This has been super helpful for classes and for future jobs,” he says. He’s not at all worried about his freshman Java course, since he has already learned the language. It’s one of his favorites, along with C#, which he uses in his videogame programming.

Saul is excited about some high-end virtual reality gear he spotted in the computer department at Ithaca. He’s already made some small VR apps for the Google cardboard, and he’s looking forward to research opportunities. So along with clothes and toothpaste, he’s packing his laptop and external graphics box—with better cooling and more power, it’s perfect for developing (and playing) games, and getting his homework done, of course.


Polish researchers independently validated Energy3D with Building Energy Simulation Test (BESTEST)

Fig. 1: BESTEST600 test case
Fig. 2: Comparison of Energy3D results with those of other simulation tools
The Building Energy Simulation Test (BESTEST) is a test developed by the International Energy Agency for evaluating various building energy simulation tools, such as EnergyPlus, BLAST, DOE2, COMFIE, ESP-r, SERIRES, S3PAS, TASE, HOT2000, and TRNSYS. The methodology is based on a combination of empirical validation, analytical verification, and comparative analysis techniques. A method was developed to systematically test whole building energy simulation programs. Geometrically simple cases, such as cases BESTEST600 to 650, are used to test the ability of a subject program to model effects such as thermal mass, direct solar gain windows, shading devices, infiltration, internal heat gain, sunspaces, earth coupling, and setback thermostat control. The BESTEST procedure has been used by most building simulation software developers as part of their standard quality control program. More information about BESTEST can be found at the U.S. Department of Energy's website.

Prof. Dr. Robert Gajewski, Head of Division of Computing in Civil Engineering, Faculty of Civil Engineering, Warsaw University of Technology, and his student Paweł Pieniążek recently used BESTEST600-630 test case (Figure 1) to evaluate the quality of Energy3D's predictions of heating and cooling costs of buildings. By comparing Energy3D's results with those from major building energy simulation tools (Figure 2), they concluded that, "[Energy3D] proved to be an excellent tool for qualitative and quantitative analysis of buildings. Such a program can be an excellent part of a computer supported design environment which takes into account also energy considerations."

Their paper was published here.

Mechanical design and paper crafting combine in Paper Mechatronics

How can you make a cardboard owl that flaps its wings? Or a paper flower that blooms? With funding from the National Science Foundation, we are working with the University of Colorado’s Craft Technology Lab and the Children’s Creativity Museum in San Francisco to study and enhance the engineering education potential of Paper Mechatronics, an innovative educational technology genre that mixes creative papercrafts, mechanical design, and computational thinking. Soon, young learners will be designing real and fantastical paper inventions of their own imagination and animate them with mechanical motions.

The new two-year project builds off an earlier project by Principal Investigators Sherry Hsi and Michael Eisenberg, which prototyped several Paper Mechatronics design projects, organized activity formats, and piloted the various design elements with children and adults to determine which worked best to inspire learning and teach design. These included a custom software design tool, simple hardware modules, cardboard electronics, sample workshop formats, and project ideas. Early Paper Mechatronics activities—from a percussion workshop to a cereal hackathon and a Robot Petting Zoo—showed encouraging results with after school youth (ages 12-18) and museum visitors.

Mechanical duck designed with Paper Mechatronics.

Robot Petting Zoo.

Paper Mechatronics engaged participants in key engineering design practices (design, build, test), though learners were challenged by translating their visions into mechanical actions. So, to support designers who had no electronics or computer-aided design background and limited computer programming experience, Ph.D. student HyunJoo Oh designed FoldMecha, which generates paper-based templates for a number of design parameters such as shape, size, and type of motor movements that can be cut out with a paper or laser cutter.

 The new project will expand and improve this early Paper Mechatronics design software for modeling mechanical components and movements and create a new Paper Mechatronics kit with instructional resources, electronically enhanced crafting materials, low-cost microcontrollers and accessories, and custom design software.

Our research goal is to explore how to support novice designers in learning from the Paper Mechatronics kit and study how youth develop adaptive expertise, including knowledge-seeking, resourcefulness, confidence, and persistence. We’ll research how on-ramps to engineering design activities like engaging in paper mechatronic design activities help youth develop adaptive expertise and what types of instructional resources and scaffolding are most useful in supporting learners to be creative in engineering design.

Introducing summer intern, data science major Maya Haigis

Before interning with senior scientist Charles Xie this summer, Maya Haigis had no idea how many solar panel manufacturers there are—“There’s a ton!”

A data science major at the University of Rochester, Maya put her analytic skills to work at the Concord Consortium collecting data on solar panels (dimensions, weight, maximum wattage, etc.) and designed a panda solar power plant with Energy3D, an engineering design and simulation tool for renewable energy and energy efficiency. She used Energy3D to create a power plant in the shape of a bald eagle, too.

“Charles heard about the giant panda power plant in Datong, China, in the news, and asked me to replicate it in Energy3D.” Maya says, “It was a good introduction to the features of Energy3D. Charles suggested I do something relevant to the U.S.—like our own national symbol! It was fun imagining flying across the country and seeing a giant bald eagle out of the window instead of the generic rectangles or circles of traditional solar farms.”

She also worked with the Energy3D team modeling local schools and other community buildings for the Solarize Your World curriculum they are designing.

“Maya is a real genius in 3D modeling,” said Charles. “I didn’t expect her to come up with sophisticated 3D structures within a couple of hours with a piece of software that she had never used before. But she did it elegantly. It is remarkable that she has created scores of highly accurate 3D models for school buildings with incredible details.”

Bald eagle solar power in Energy3D (left) and close-up of bald eagle (right).

As a sophomore, Maya is currently on the same path as computer science students, but her curriculum path will soon diverge with a focus on data mining and database systems plus more statistics. She’s always been “a math person,“ she says, but credits her high school AP statistics teacher’s enthusiasm for data and statistics for consolidating her interest.

At the University of Rochester she’s already taken courses in Java, data structures and algorithms, discrete math, calculus, and linear algebra with differential equations. “All data is interesting,” she says, but notes sports stats are particularly fascinating. No surprise, since Maya is a student athlete who plays field hockey at the Division III school where her schedule includes practice six days a week.

She notes, “My brother and I used to have a collection of baseball cards and I would try to memorize the stats of my favorite players. It’s a bit ironic because before games, coaches always say that once you step onto the field, the statistics don’t mean anything and what matters is which team plays the hardest, but I still look through other team stats.”

Recently, Maya had a pivotal experience. She spent half a day at Pfizer working with a business analyst, who serves as a connection between scientists and programmers. “The business analyst would explain to the scientists what the data meant,” she explains. “And if the scientists wanted their data displayed in a certain way, she would talk to the programmers.” Maya can imagine filling a similar liaison role working as data scientist, though she also admits, “I’m not exactly sure what I want to do after college, but I’m looking forward to the data science courses at Rochester, and I’m excited to see what opportunities will arise with big data!”

Modeling parabolic dish Stirling engines in Energy3D

Fig. 1: A parabolic dish Stirling engine
Fig. 2: The Tooele Army Depot solar project in Utah
A parabolic dish Stirling engine is a concentrated solar power (CSP) generating system that consists of a stand-alone parabolic dish reflector focusing sunlight onto a receiver positioned at the parabolic dish's focal point. The dish tracks the sun along two axes to ensure that it always faces the sun for the maximal input (for photovoltaic solar panels, this type of tracker is typically known as dual-axis azimuth-altitude tracker, or AADAT). The working fluid in the receiver is heated to 250–700 °C and then used by a Stirling engine to generate power. A Stirling engine is a heat engine that operates by cyclic compression and expansion of air or other gas (the working fluid) at different temperatures, such that there is a net conversion of thermal energy to mechanical work. The amazing Stirling engine was invented 201 years ago(!). You can see an infrared view of a Stirling engine at work in a blog article I posted early last year.

Although parabolic dish systems have not been deployed at a large scale -- compared with its parabolic trough cousin and possibly due to the same reason that AADAT is not popular in photovoltaic solar farms because of its higher installation and maintenance costs, they nonetheless provide solar-to-electric efficiency above 30%, higher than any photovoltaic solar panel in the market as of 2017.

In Version 7.2.2 of Energy3D, I have added the modeling capabilities for designing and analyzing parabolic dish engines (Figure 1). Figure 2 shows an Energy3D model of the Tooele Army Depot project in Utah. The solar power plant consists of 429 dishes, each having an aperture area of 35 square meters and outputting 3.5 kW of power.

Fig. 3: All four types of real-world CSP projects modeled in Energy3D
With this new addition, all four types of main CSP technologies -- solar towers, linear Fresnel reflectors, parabolic troughs, and parabolic dishes, have been supported in Energy3D (Figure 3). Together with its advancing ability to model photovoltaic solar power, these new features have made Energy3D one of the most comprehensive and powerful solar design and simulation software tools in the world, delivering my promise made about a year ago to model all major solar power engineering solutions in Energy3D.

An afterthought: We can regard a power tower as a large Fresnel version of a parabolic dish and the compact linear Fresnel reflectors as a large Fresnel version of a parabolic trough. Hence, all four concentrated solar power solutions are based on parabolic reflection, but with different nonimaging optical designs that strike the balance between cost and efficiency.

My Daughter Heard About an Earthquake. How Do I Explain It?

Earthquakes occur worldwide daily, and their aftereffects vary widely, from minimal to devastating. From California to the Mediterranean, some communities live with the threat and consequences of earthquakes and their aftershocks on a regular basis. Understanding what causes an earthquake is not easy. How is it possible to visualize monumental slabs of Earth moving? And why do we need to?

On June 12, 2017, newspapers worldwide reported on a 6.3 magnitude earthquake south of the island of Lesbos, Greece (off the western coast of Turkey). The quake caused widespread structural damage as well as loss of life, and it drew considerable attention, in part, because of the large number of migrants on Lesbos. How to house and care for the affected migrants and residents became a major international challenge.

But according to the USGS, the earthquake was “the result of normal faulting in the shallow crust.” The Lesbos quake was traumatic, but not unexpected. Greece and Turkey are particularly earthquake prone because they are on active fault lines. The Mediterranean region is seismically active due to the convergence of the African plate to the south with the Eurasian plate to the north. The African plate is subducting beneath the Eurasian plate at a place called the Hellenic Trench.

That’s a lot to understand, let alone visualize. When a seismic event occurs, how can a teacher explain such monumental movements of the Earth to middle school students? Typically, it’s been done with drawings and detailed descriptions, such as the excellent resources available from the USGS. But earthquakes and other geologic events are about movement, happening far out of sight. The Concord Consortium’s GEODE project is creating a way to visualize the Earth’s movements using an interactive, dynamic computer model of tectonic plates.

Another GEODE model — the Seismic Explorer — allows users to see the pattern of earthquakes worldwide, including their magnitude and depth. The Lesbos quake and many others, as well as towns and cities, are visible.

The GEODE project is still researching and developing the best ways for kids to learn about Earth’s big movements. But why is it important? Because the consequences of these movements can crumble buildings and cause loss of life. Understanding patterns of Earth’s movement may help lead to better forecasting, preparedness, and response.