Homework #4 -- Performance, Demand, Equilibration [ S O L U T I O N S ]
CEE123: Complete problems 1-3 (40 points). Each solution should include volumes and times
on all links as well as total system travel time. Problem 4 is extra credit.
Problem 1 (10 points)
Three routes connect a suburban origin and a downtown destination
(x in kvph; t in minutes):
Route #1: t1 = 4 + 2x1
Route #2: t2 = 8 + 1x2
Route #3: t3 = 9 + 2x3
- If the total O/D flow is 5.0 kvph, find the User Equilibrium (UE) flow pattern {x,t}.
- If the total O/D flow is 2.0 kvph, find the path flows that minimize total system travel time.
- How does this System Optimal solution compare with the UE Solution in Part a?
Solutions:
(a) If the total O/D flow is 5.0 kvph, find the equilibrium (UE) flow pattern {x,t}
Test if all three routes are used at the specified total flow under UE assumptions:
- At T=0, t1=4, t2=8, and t3=9 , thus Route #1 is used first, Route #2 second, Route #3 last.
- At t1=8, x1=2.0 kvph. Until this volume is exceeded (when t1 = t2), all traffic uses Route #1.
- At t2=9, x2=1.0 kvph & x1=2.5 kvph. Until demand exceeds 3.5 kvph, Route #3 is not used.
- At Tod=5 kvph, all routes are used.
UE Solution
- t1 = 4 + 2x1 [Link Performance Function #1]
- t2 = 8 + 1x2 [Link Performance Function #2]
- t3 = 9 + 2x3 [Link Performance Function #3]
- Tod= 5 [Total O/D Demand]
- Tod= x1 + x2 + x3 [Flow Conservation]
- t2 = t3 [UE Condition]
- t1 = t3 [UE Condition]
- Solve (1-5) simultaneously: t1 = 9.75 min
- From 6 and 7: t1 = t2 = t3 = 9.75 min
- From 1: x1 = 2.875 kvph
- From 2: x2 = 1.750 kvph
- From 3: x3 = 0.375 kvph
- From 4 and 5: Tod= x1 + x2 + x3 = 5.0 kvph (checks)
- Ctot = Σ
xa ta ...thus... Ctot = 48.75 k-min at UE
(b) If the total O/D flow is 2.0 kvph,
find the path flows that minimize total system travel time.
There are at least two possible approaches:
(b1) In the first approach, substitute the flow constraint into the
objective function and take derivatives with respect to the remaining variables.
Min C = Σtaxa(ta)
...subject to: Tod = x1 + x2 + x3 = 2
Min C = [4x1+2x12]
+ [8x2+ x22]
+ [9x3+2x32]
...subject to: x1 + x2 + x3 = 2 kvph
Thus: x2 = 2 - x1 - x3
Thus: C = [4x1+2x12]
+ [8(2-x1-x3)+(2-x1-x3)2]
+ [9x3+2x32]
so : dC/d
x1 = 9 + 4x1 - 8 - 2(2-x1-x3) = 0 ...thus... 6x1+2x3-3=0
and: dC/d
x3 =-8 - 2(2-x1-x3) + 4 + 4x3 = 0 ...thus: 6x3+2x1-8=0
Solving these results simultaneously (then computing travel times) yields:
- x1 = 1.3125 and t1 = 6.625
- x2 = 0.6250 and t2 = 8.625
- x3 = 0.0625 and t3 = 9.125
(b2) In the second approach, marginal travel times may be equated in the same
manner that average travel times are equated in the UE-solution. This is because we are
trying to minimize the contribution to total travel time that each additional trip makes.
In this case, the trip maker selects the route which has this minimal contribution (marginal
travel time, the derivative of total travel time). When these contributions are equal
(equal marginal travel times), then the system is in equilibrium.
Min C = Σta xa(ta)
...subject to: Tod = x1 + x2 + x3 = 2
Min C = [4x1+2x12]
+ [8x2+x22]
+ [9x3+2x32]
...subject to: Tod = x1 + x2 + x3 = 2
m = dC/dx, thus:
m1=4+4x1 ...and... m2=8+2x2 ...and... m3=9+4x3
Test if all three routes are used at the specified total flow:
- At T=0, m1=4, m2=8, and m3=9, thus Route#1 is used 1st; Route#2 2nd; Route#3 last.
- At m1=8, x1=1.00 kvph. Until this volume is exceeded, all traffic uses Route#1.
- At m2=9, x2=0.50 & x1=1.25 kvph. Until total demand > 1.75 kvph, R#3 is not used.
- At Tod=2 kvph, all three routes are used.
- m3=m2 => 9+4x1=8+2x2 => x3 =-0.25+0.5x2
- m2=m1 => 8+2x2=4+4x1 => x1 = 1.00+0.5x2
- thus: x1+x3 = 0.75+x2
- Demand: x1+x2+x3 = 2 or x1+x3 = 2-x2
- thus: 0.75+x2 = 2-x2
- So: x2 = 0.625 and x3 = 0.0625 and x1 = 1.3125
- and: t2 = 8.625 and t3 = 9.125 and t1 = 6.625
- Check: m1 = 9.25 ; m2 = 9.25 ; m3 = 9.25
- Total time: C1 = 8.70 ; C2 = 5.39 ; C3 = 0.57 ; C = 14.66
Note: The first approach essentially assumed that all routes would be used. Had not all three
routes been used, the resultant flows would have shown negative volumes on at least one route.
(b) How does the System Optimal (SO) solution compare with the UE Solution (Problem 1B)?
There are different volumes, so the tewo solutions are NOT directly comparable. However, for either
volume, the UE solution will always be as least as great as the SO solution.
Problem 2 (10 points)
Mr. Dunphy has two alternate routes when he drives from the desert (where he lives) to the sea
(where he works). Route 1 has a higher base travel time but it's less sensitive to traffic
congestion. There are linear performance functions (with travel time in minutes and volume in
1000s of VPH, or kvph).
--------------------------------------------------
Performance Parameter Route 1 Route 2
--------------------------------------------------
Intercept (Free Flow Time) 2.0 1.0
Slope (Route Sensitivity) 1.0 2.0
--------------------------------------------------
The current travel demand function is linear: base demand is 15 (1000s of trips) but is
reduced by 2 (1000s of trips) for each added minute of travel time. Solve algebraically or
graphically for the user equilibrium flows.
SOLUTION: Graphical solution not shown.
- Linear Demand Function: TAB = 15 - 2tAB
- Performance Function 1: t1 = 2 + x1
- Performance Function 2: t2 = 1 + 2x2
- User Equilibrium (UE) : t1 = t2 = tAB
Assume both paths used: 2+x1 = 1+2x2 => x1 = 2x2-1
- Conservation of Flows : TAB = x1 + x2
thus: 15-2[1+2x2] = [2x2-1] + x2
- Solving yields => x2 = 2 kvph
- Performance Function 2: t2 = 5 min
- User Equilibrium (UE) : t1 = 5 min
- Performance Function 2: x1 = 3 kvph
- Linear Demand Function: TAB = 5 kvph
Problem 3 (20 points)
This problem is part of the Miasma Beach Project and provides you the opportunity
to estimate trip generation models using Excel (as was done in HW 1). using the data
provided in Task 3, Tables 2 and 3, estimate a home-based work (HBW) trip production
and a home-based work (HBW) trip attraction model for the six internal TAZs.
- Pick an explanatory variable from Table 2 that you think would be most strongly
related to HBW productions in a TAZ. Estimate this model.
- If this model gives acceptable results, add a second variable that you think would
also be strongly related to HBW productions (if results are not acceptable, choose
another single variable). Estimate this model.
- Compare the two models. Which would you choose and why?
- Repeat parts 1-3 for HBW attractions.
Solution Approach:
HBW trip production models will be estimated in Task 3 of the CEE123 course project. The goal is
to begin the process of model development. Attached is a page of a spreadsheet with the Miasma Beach
data set and results of 5 bivariate production models using 5 residential variables), a sample
multivariate model (adding CARS to the POP model), and 2 sample HBW attraction models (with total
and retail employment, but other employment variables may be viable too). Note that the database
is slightly different each year to introduce variability. Results shown may not match yours but they
should be relatively close. The bottom line is that building models is an art. There's no right
answer, although there are many wrong answers (based on statistical amd/or logical problems). Note
also that models estimated on 6 data points are virtually never acceptable.
Problem EC (10 points) [Extra Credit for 123; Required for 223]
Solution available to those who submit extra credit attempt.
Last Updated: 1 May 2026
|