Engineering Problem Formulation for Computing

Engineering Problem Formulation for Computing turns a practical request into a precise task that software can carry out. A request such as “determine whether this tank can be filled in time” leaves several decisions unstated: what information is available, what the output means, and which physical effects matter. Your first job is to make those decisions explicit. A program can calculate its equations correctly while still answering the wrong engineering question.

Define the required result

A problem specification states what information the computation receives, what it returns, and what conditions an acceptable result satisfies. Begin with the engineering decision. Do you need a predicted temperature, a required operating time, or a decision about whether a design meets a limit? These are different outputs, even when they use related information.


Separate the quantities by their roles:


Role

Meaning

Tank example

Input

Information supplied for a particular case

Initial volume and inlet flow rate

Fixed parameter

A value held fixed for the intended application

Tank capacity

Unknown or output

A quantity the software must determine

Time to reach the target volume

Constraint

A condition an acceptable result must satisfy

Completion within the available operating time


These roles depend on the question. Tank capacity could be a fixed parameter in an operating tool or an unknown in a design tool. Record a symbol, meaning, unit, and valid range for every numerical quantity. Also specify when time begins and whether a stated power, rate, or load is instantaneous, average, or constant.


Four connected boxes show how an engineering need becomes a testable software specification.


State the model and its limits

A model assumption is an explicit simplification used to relate the engineering quantities. For a tank, you might assume constant inlet and outlet rates, no leakage, and a known initial volume. With these assumptions, volume conservation gives


V(t)=V0+(qin−qout)t.V(t)=V_0+(q_{\text{in}}-q_{\text{out}})t.


Here, V(t)V(t) is the volume at elapsed time tt, V0V_0 is the initial volume, and qinq_{\text{in}} and qoutq_{\text{out}} are volumetric flow rates. With volumes in cubic metres and rates in cubic metres per second, time is in seconds. Litres are also convenient for tank operation, provided all volumes and rates use compatible units.


For a target above the initial volume and a positive net inflow,


ttarget=Vtarget−V0qin−qout.t_{\text{target}}=\frac{V_{\text{target}}-V_0}{q_{\text{in}}-q_{\text{out}}}.


For example, an initial volume of 90 L90\ \text{L}, a target of 180 L180\ \text{L}, and constant rates of 12 L/min12\ \text{L/min} entering and 3 L/min3\ \text{L/min} leaving give a target time of (180−90)/(12−3)=10 min(180-90)/(12-3)=10\ \text{min}. This prediction applies while the stated flow assumptions remain valid.



A negative calculated time is not automatically a useful physical answer. It may indicate that the requested future event does not occur under the assumed operating conditions. Describe such cases in the specification instead of letting an algebraic expression decide their meaning.

Make the result checkable

Distinguish valid input from a feasible engineering outcome. A target volume above tank capacity can be numerically well formed, yet physically unacceptable. Likewise, valid positive flow rates may be insufficient to meet a deadline.


Specify checks for ordinary cases and relevant boundaries. If the tank already contains the target volume, the time to reach that volume is zero. If the target is higher and net inflow is zero, there is no finite filling time under the model. A larger positive net inflow should reduce the predicted filling time when the required volume increase stays fixed.



What to remember:

  • Define the engineering decision and the required output first.
  • Give each quantity a role, unit, and valid range.
  • State the physical relationship and its assumptions.
  • Specify feasibility limits, exceptional cases, and checks before implementation.

Example: Formulating a tank-filling decision

An operator wants software to determine whether a storage tank can reach 700 L700\ \text{L} within an available operating time of 650 s650\ \text{s}. Initially, the tank contains 160 L160\ \text{L}. Water enters at 1.20 L/s1.20\ \text{L/s} and leaves at 0.450 L/s0.450\ \text{L/s}. Tank capacity is 800 L800\ \text{L}. Assume constant rates, no other flows, and negligible startup and shutdown delays. Time begins when these flows start.


A tank receives one constant inlet stream and releases one constant outlet stream.


a) Define the inputs, outputs, governing relationship, and operational acceptance conditions.


The supplied inputs are initial volume V0=160 LV_0=160\ \text{L}, target volume Vtarget=700 LV_{\text{target}}=700\ \text{L}, inlet rate qin=1.20 L/sq_{\text{in}}=1.20\ \text{L/s}, outlet rate qout=0.450 L/sq_{\text{out}}=0.450\ \text{L/s}, capacity Vmax⁡=800 LV_{\max}=800\ \text{L}, and available time tmax⁡=650 st_{\max}=650\ \text{s}.


The outputs are the predicted target time in seconds and a decision about whether the operation meets the stated limits. Volume conservation gives


V(t)=V0+(qin−qout)t.V(t)=V_0+(q_{\text{in}}-q_{\text{out}})t.


For this rising-volume case, the target time follows from


ttarget=Vtarget−V0qin−qout.t_{\text{target}}=\frac{V_{\text{target}}-V_0}{q_{\text{in}}-q_{\text{out}}}.


Acceptable operation requires reaching the target within 650 s650\ \text{s} while keeping volume between 00 and 800 L800\ \text{L}. The target exceeds the initial volume, so a positive net inflow is also needed for a finite future target time under this model.


b) Calculate the predicted target time, assuming the stated flows could continue long enough.


First calculate net inflow. The units already match, and the outlet removes water from storage:


qnet=1.20−0.450=0.750 L/s.q_{\text{net}}=1.20-0.450=0.750\ \text{L/s}.


The required volume increase is


ΔV=700−160=540 L.\Delta V=700-160=540\ \text{L}.


Divide the required increase by the net accumulation rate:


ttarget=540 L0.750 L/s=720 s.t_{\text{target}}=\frac{540\ \text{L}}{0.750\ \text{L/s}}=720\ \text{s}.


The model predicts a target time of 720 s720\ \text{s}. This is a prediction under continued flow, not yet a statement that the available operating window is sufficient.


c) Determine whether the operation meets the requirements, and calculate the volume at the end of the available operating time.


Compare the predicted target time with the available time using the same units:


720 s>650 s.720\ \text{s}>650\ \text{s}.


The operation misses the deadline by


720−650=70 s.720-650=70\ \text{s}.


The volume at the end of the available time is


V(650)=160 L+(0.750 L/s)(650 s)=647.5 L.V(650)=160\ \text{L}+(0.750\ \text{L/s})(650\ \text{s})=647.5\ \text{L}.


Because volume increases continuously from 160 L160\ \text{L} to 647.5 L647.5\ \text{L} during the available window, it remains within the 800 L800\ \text{L} capacity. Nevertheless, the final volume is 700−647.5=52.5 L700-647.5=52.5\ \text{L} below the target. The software should report that the operation is infeasible within 650 s650\ \text{s} under the stated assumptions.

An engineer wants software to predict a motor's mechanical shaft power from measured torque TT and angular speed ω\omega. The governing relationship is P=TωP=T\omega. A typical measurement is T=16.0 N⋅mT=16.0\ \text{N·m} and ω=90.0 rad/s\omega=90.0\ \text{rad/s}. Which specification matches the request?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A recycling station receives material at a constant rate of 18.0 kg/min18.0\ \text{kg/min}. A separate removal stream carries material away at 0.200 kg/s0.200\ \text{kg/s}. Software must calculate the net mass accumulated during 2.00 min2.00\ \text{min}. Assume no other mass enters or leaves. Which expression correctly formulates the required mass in kilograms?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A software tool must predict the time required to heat 2.40 kg2.40\ \text{kg} of water from 18.0 ∘C18.0\ ^\circ\text{C} to 53.0 ∘C53.0\ ^\circ\text{C}. The heater draws a constant electrical power of 900 W900\ \text{W}, and a constant fraction η=0.800\eta=0.800 of that power heats the water. Use c=4.18×103 J/(kg⋅K)c=4.18\times10^3\ \text{J/(kg·K)} and E=mc(Tf−Ti)E=mc(T_f-T_i). Assume uniform water temperature, constant specific heat capacity, and no additional energy requirements or losses beyond the stated efficiency. Calculate the heating time in seconds, to one decimal place.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice