# Engineering Problem Solving: Sustainable Engineering Theme

## Introduction to Engineering 6

Lecture—3 hours; discussion—1 hour.
Prerequisite: Calculus -- differentiation and integration. UC Davis: Mathematics 16A or 21A, C- or above; Mathematics 16B or 21B (may be taken concurrently).
Course description (from UC Davis course catalog): Methodology for solving engineering problems. Engineering computing and visualization based on MATLAB. Engineering examples and applications.

## Introduction to Solar Energy and Smart Building Design Theme

We plan to develop all of the course modules (lectures, notes) and assignments (problem sets, programming exercises, labs, and projects) for the new curriculum
around the theme of solar energy and smart building design. This theme provides an opportunity to introduce the students to basic concepts of renewable energy
generation, energy efficiency, embedded systems, and feedback while simultaneously teaching basic programming skills. In the course of completing their assignments,
students will learn to (1) program wireless sensors to measure physically relevant signals, (2) access and process the sensor data to develop models of physical systems,
(3) integrate the models into a design, and (4) simulate the design to verify performance to specifications.

## Topics:

### One Dimensional Vectors

LAB on One Dimensional Vectors. (.pdf)
LAB on One Dimensional Vectors. (.docx)
Solutions. Solutions to the One Dimensional Vectors Lab.
data.xlsx Data for the One Dimensional Vectors Lab.

### Two Dimensional Vectors

LAB on Two Dimensional Vectors. (.pdf)
LAB on Two Dimensional Vectors. (.docx)
Solutions. Solutions to the Two Dimensional Vectors Lab.
Other Two Dimensional Vector files:
afv.mat
afv.xls
Davis_Weather_7012010_6302011.csv
hev.mat
hev.xls
SAC_AP_2005_solar.csv
work.mat
work.xls

### Logical Operations, Flow Control, and Loops

LAB on Logic Flow Loops. (.pdf)
LAB on Logic Flow Loops. (.docx)
Workspace. MATLAB Workspace for Logic Flow Loops lab.
Solutions. Solutions for Logic Flow Loops lab.
Other Logic Flow Loops Lab files:
mppt_load.xlsx
myload.xlsx
panel_mpp.m
pd_mpp.asv
pd_mpp.m
pd.asv
Q8_soln.m

### Custom Functions

LAB on Custom Functions. (.pdf)
LAB on Custom Functions. (.docx)
Workspace. MATLAB Workspace for Custom Functions lab.
Solutions. Solutions to Custom Functions lab.
Other Custom Function Lab files:
lab6.mat
myadd.m
myNewton.m
solar_panel_optimal.asv
solar_panel_optimal.m
solar_panel.m

### Project 1

Project 1. (.pdf)
Other Project 1 files:
weather_excel97_03.xls
weather_openDoc.ods
weather.mat
weather.xlsx

## Links

Bill of Materials. This is the bill of materials for the ENG6 Project.
Datasheet. The datasheet for the digital potentiometer used in the solar panels.
Matlab I/O. Input/Output configuration between solar panel and Matlab.
Load Sweep. Solar Panel sweep data at specific loads.
7 Day Data. Solar Panel data at specific time intervals over 7 days.
Photos. Photos of the solar panel project.

### Solar Cell Characterization

LAB on Solar Cell Characterization. (.pdf)
LAB on Solar Cell Characterization. (.docx)
Other Solar Cell Characterization Lab files:
adiosrv.pde
arduino.m
SAMPLE_sweep.m