Milestone 4: Develop and Optimize the Solution

\[ \begin{align}\begin{aligned}\newcommand\blank{~\underline{\hspace{1.2cm}}~}\\% Bold symbols (vectors) \newcommand\bs[1]{\mathbf{#1}}\\% Differential \newcommand\dd[2][]{\mathrm{d}^{#1}{#2}} % use as \dd, \dd{x}, or \dd[2]{x}\\% Poor man's siunitx \newcommand\unit[1]{\mathrm{#1}} \newcommand\num[1]{#1} \newcommand\qty[2]{#1~\unit{#2}}\\\newcommand\per{/} \newcommand\squared{{}^2} \newcommand\cubed{{}^3} % % Scale \newcommand\milli{\unit{m}} \newcommand\centi{\unit{c}} \newcommand\kilo{\unit{k}} \newcommand\mega{\unit{M}} % % Percent \newcommand\percent{\unit{{\kern-4mu}\%}} % % Angle \newcommand\radian{\unit{rad}} \newcommand\degree{\unit{{\kern-4mu}^\circ}} % % Time \newcommand\second{\unit{s}} \newcommand\s{\second} \newcommand\minute{\unit{min}} \newcommand\hour{\unit{h}} % % Distance \newcommand\meter{\unit{m}} \newcommand\m{\meter} \newcommand\inch{\unit{in}} \newcommand\foot{\unit{ft}} % % Force \newcommand\newton{\unit{N}} \newcommand\kip{\unit{kip}} % kilopound in "freedom" units - edit made by Sri % % Mass \newcommand\gram{\unit{g}} \newcommand\g{\gram} \newcommand\kilogram{\unit{kg}} \newcommand\kg{\kilogram} \newcommand\grain{\unit{grain}} \newcommand\ounce{\unit{oz}} % % Temperature \newcommand\kelvin{\unit{K}} \newcommand\K{\kelvin} \newcommand\celsius{\unit{{}^\circ C}} \newcommand\C{\celsius} \newcommand\fahrenheit{\unit{{}^\circ F}} \newcommand\F{\fahrenheit} % % Area \newcommand\sqft{\unit{sq\,\foot}} % square foot % % Volume \newcommand\liter{\unit{L}} \newcommand\gallon{\unit{gal}} % % Frequency \newcommand\hertz{\unit{Hz}} \newcommand\rpm{\unit{rpm}} % % Voltage \newcommand\volt{\unit{V}} \newcommand\V{\volt} \newcommand\millivolt{\milli\volt} \newcommand\mV{\milli\volt} \newcommand\kilovolt{\kilo\volt} \newcommand\kV{\kilo\volt} % % Current \newcommand\ampere{\unit{A}} \newcommand\A{\ampere} \newcommand\milliampereA{\milli\ampere} \newcommand\mA{\milli\ampere} \newcommand\kiloampereA{\kilo\ampere} \newcommand\kA{\kilo\ampere} % % Resistance \newcommand\ohm{\Omega} \newcommand\milliohm{\milli\ohm} \newcommand\kiloohm{\kilo\ohm} % correct SI spelling \newcommand\kilohm{\kilo\ohm} % "American" spelling used in siunitx \newcommand\megaohm{\mega\ohm} % correct SI spelling \newcommand\megohm{\mega\ohm} % "American" spelling used in siunitx % % Capacitance \newcommand\farad{\unit{F}} \newcommand\F{\farad} \newcommand\microfarad{\micro\farad} \newcommand\muF{\micro\farad} % % Inductance \newcommand\henry{\unit{H}} \newcommand\H{\henry} \newcommand\millihenry{\milli\henry} \newcommand\mH{\milli\henry} % % Power \newcommand\watt{\unit{W}} \newcommand\W{\watt} \newcommand\milliwatt{\milli\watt} \newcommand\mW{\milli\watt} \newcommand\kilowatt{\kilo\watt} \newcommand\kW{\kilo\watt} % % Energy \newcommand\joule{\unit{J}} \newcommand\J{\joule} % % Composite units % % Torque \newcommand\ozin{\unit{\ounce}\,\unit{in}} \newcommand\newtonmeter{\unit{\newton\,\meter}} % % Pressure \newcommand\psf{\unit{psf}} % pounds per square foot \newcommand\pcf{\unit{pcf}} % pounds per cubic foot \newcommand\pascal{\unit{Pa}} \newcommand\Pa{\pascal} \newcommand\ksi{\unit{ksi}} % kilopound per square inch % NOTE: do NOT define \bar -- it is the built-in LaTeX accent used by \bar{x}, % \bar{y} (sample means). Redefining it made those render as the word "bar". \newcommand\barunit{\unit{bar}} \end{aligned}\end{align} \]

Nov 16, 2026 | 601 words | 6 min read

19. Milestone 4: Develop and Optimize the Solution#

At a Glance

What you will do: Develop your first-draft controller into your final solution and optimize it through documented test-analyze-improve cycles. Add the measured results of your built design to the weighted decision matrix from Milestone 3. Exchange peer review with another team.

What you will submit: One team submission (controller, analysis script, plots, and tuning log), a peer review, an individual controller-trace activity, and your Technical Report checkpoint (TP4).

In Milestone 3, your team developed a controller that kept the crop alive (Iteration #1). In Milestone 4, you will make it more efficient and reliable. Efficiency means lower power and water use. Reliability means the controller keeps its performance during the dust storm and the sensor faults. Commissioning the GHU-2 flight unit found two CO2 sensor faults that the mission brief did not anticipate, and the Milestone 4 acceptance test includes both. The GHU-2 Commissioning Report describes them. Use the client acceptance test, data analysis in Python, and peer review to guide and document your improvements.

Work in cycles. In each cycle, run the controller, plot the results, diagnose the problem, adjust one thing, and run it again. Record every cycle in your Iteration #2 report section.

19.1. Tasks#

Task

Who

Deliverable

GHU-2 Commissioning Report

Team

Fault findings, recorded in your tuning log

Iteration #2: Greenhouse Controller

Team

Controller, analysis script, per-sol metrics, plots, and tuning log

Peer Review

Team

Peer-review feedback exchanged with another team

Controller Trace

Individual

Gradescope activity

Mid-project CATME peer evaluation

Individual

CATME

Re-read your Code of Cooperation. If your team changes how it works together, record the change in report section II, Team Member Roles.

19.2. Your Report This Milestone (TP4)#

In your Technical Report, draft section VIII. Iteration #2, IX.a Detailed Design, and IX.b Data on the Final Solution.

Choose APA or MLA and use that style consistently for in-text citations and the corresponding entries in Section X. References.

Save your report as a PDF named TP4_design_project_report_team_#.pdf and submit it as a group to 19.2 TP4: Design Project Report - Milestone 4 (Team) in Gradescope. Submit before the deadline listed on the Course Schedule.

Learning Objectives

PR04:

Modular Programming - Create and use modular code components, including scripts and user-defined functions.

PR05:

Code Structures - Understand and write sequential and non-sequential code structures to achieve a programming objective.

PR06:

Translate Program Descriptions - Translate written descriptions or flowcharts into working code.

PR07:

Test Cases and Tracking - Test and track information through flowcharts and programs.

PR08:

Debugging - Debug and refine code so that it achieves its objective without dynamic or semantic errors.

DV01:

Table and Plot Formatting - Prepare tables and plots for technical presentation with proper formatting. Include descriptive titles, axis labels with units, appropriately scaled axes, and visible legends.

DV03:

Graphical Comparison of Data - Select, interpret, and justify appropriate graphical representations of data based on data type and structure. Use plots to compare distributions and identify patterns.

EB01:

Testing and Comparison - Test prototypes and analyze results to compare alternative solutions.

EB05:

Iterative Improvement - Present findings from iterative testing or optimization efforts.

SQ01:

Technical Accuracy - Use accurate scientific, mathematical, and technical concepts, units, and data.

SQ02:

Meeting Criteria and Constraints - Justify solution quality based on defined criteria and constraints.

TM02:

Document Contributions - Provide clear evidence of individual contributions to the team’s work, including technical, written, or supportive tasks.

PC01:

Written Communication Standards - Use professional tone, clear sentence structure, and correct spelling and grammar in all written work.

PC02:

Communicating Results from Analysis - Clearly state conclusions or results derived from code, models, or data analysis.

PC03:

Captioning Visuals - Include professional captions for all figures, tables, and plots that describe what is shown and why it is relevant.

PC04:

Visual Communication of Engineering Contexts - Create visuals that clearly communicate engineering data, models, or concepts to a technical audience and support claims or conclusions.

EB02:

Assumptions Under Uncertainty - Identify assumptions made when information is limited or unavailable.

EB03:

Data-Supported Justification - Justify decisions or comparisons using explicit reference to data.