E-Code

Pinch analysis: minimum hot and cold utility — a TI-84 Plus CE program

By E-Code · updated

PINCH is a TI-BASIC program for the TI-84 Plus CE. Heat-exchanger network targeting by the problem table: type the streams' supply and target temperatures and CP, and dTmin — minimum hot and cold utility and the pinch temperature (shifted, hot side and cold side).

What it asks for and what it shows

It asks for 4 values at its prompts. In the example below it shows QH MIN, QC MIN, PINCH*, HOT PIN, COLDPIN.

Example run

One of its oracle test cases: “Smith 4-stream example, dTmin 10”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 1{250,200,20,140}
Input 2{40,80,180,230}
Input 3{0.15,0.25,0.2,0.3}
Input 410
The screen shows
QH MIN=7.5
QC MIN=10
PINCH*=145
HOT PIN=150
COLDPIN=140

How it's checked

5 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 29 checks.

How E-Code checks every program

Run it or put it on your calculator

Related programs

All TI-84 Plus CE engineering programs · All TI-84 Plus CE programs