Upload
ashlee-todd
View
212
Download
0
Embed Size (px)
Citation preview
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 1
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Bruce Mayer, PELicensed Electrical & Mechanical Engineer
Engr/Math/Physics 25
Problem 9.15Problem 9.15SolutionSolution
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 2
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Simulate ThermoStatic ControlSimulate ThermoStatic Control
By Engineering Analysis the ODE with Highest Order Term ISOLATED
tTTqRCRdt
dTaH
HH
1
Integrate to Isolate T(t) on LHS
dzCR
zTTqRdT
t
HH
aHtT
F
070
dz
CR
zTTqRFtT
t
HH
aH
0
70
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 3
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Simulate ThermoStatic ControlSimulate ThermoStatic Control
Note for
• T(t) appears on BOTH Side of the Eqn → Use FEEDBACk
• The Integrand is in the form of a SUM
Also the thermostat in this case has a 2F DEADBAND• Implement using SimuLink’s RELAY
function
dz
CR
zTTqRFtT
t
HH
aH
0
70
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 4
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
The Part-a SimuLink ModelThe Part-a SimuLink Model
T-StatScope
simout
Plot Ta & T(t)
1s
IntegratorIC = 70°F
20
FnceR*qm
AmbientTemp, Ta
0.5
1/RC
RELAY → Discontinuities Library
MUX → Commonly Used Blocks Library
SINE WAVE FUNCTION → Math Operations Library
TO WORKSPACE (simout)→ Sinks Library
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 5
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Test Large & Small FurnacesTest Large & Small Furnaces
The SimuLink Model
T-StatScope
simout
Plot Ta & T(t)
1s
IntegratorIC = 70°F
20
FnceR*qm
AmbientTemp, Ta
0.5
1/RC
Fnce RH (ºF-Hr/BTU) qmax (BTU/Hr) R*qmax (ºF)Small 0.0389 514 20Large 0.0389 1028 40
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 6
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
The Output for Small FnceThe Output for Small Fnce
0 5 10 15 20 25 30 35 40 45 5040
45
50
55
60
65
70
75
time (hrs)
Te
mp
era
ture
(F
)
Prob 9.15, part-a Note• Small Fnce canNOT keep
up with heating load when Ta drops below about 55F
• 2 Hour Time-Lag as predicted by
Hr
F
BTU
HrBTU
FCR HH
0.2
1
4.51
1
0389.0
plot(tout, simout(:,1), tout,simout(:,2)), xlabel('time (hrs)'),...ylabel('Temperature (F)'), title('Prob 9.15, part-a')
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 7
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Low Power FnceLow Power Fnce
0 5 10 15 20 25 30 35 40 45 5040
45
50
55
60
65
70
75
time (hrs)
Te
mp
era
ture
(F
)
Prob 9.15, part-a
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 8
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Result for Large FnceResult for Large Fnce
0 5 10 15 20 25 30 35 40 45 5040
45
50
55
60
65
70
75
time (hrs)
Tem
pera
ture
(F
)
Prob 9.15, part-a - Lg Fnce
The Large Furnace CAN Keep Up with Heat load at coldest Outside Temps
The RH*qmax Product indicates the MAXIMUM Temp Difference that the Furnace+Insulation combination can accommodate
In This case (T-Ta)min = 70F – (50-10)F = 30F• The Small Fnce is Overwhelmed
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 9
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
High Power FnceHigh Power Fnce
0 5 10 15 20 25 30 35 40 45 5040
45
50
55
60
65
70
75
time (hrs)
Tem
pera
ture
(F
)Prob 9.15, part-a - Lg Fnce
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 10
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Part b – Daily Energy UsePart b – Daily Energy Use
To Determine Daily Energy Use, E, Need to time-integrate the fnce Power Output over 24hrs
dttqEHrs
24
0
max24
For an Arbitrary time
Refine the Part-a model to• Gain Access to qmax
alone
• Use the integrator Block to find E
dzzqtEt
0
max
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 11
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
The Part-b SimuLink ModelThe Part-b SimuLink Model
1028
qm
1s
TotalEnergy
T-Stat
1/1e5
Scale Outputto Therms
0.0389
Rsimout
Plot Ta & T(t)
1s
IntegratorIC = 70°F
DeBugScope
AmbientTemp, Ta
0.5
1/RC
Note the Output scaling to “PG&E” Units• 1 “Therm” = 100 kBTU
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 12
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Energy UseEnergy Use
Small Fnce Large Fnce
0 4 8 12 16 20 240
0.02
0.04
0.06
0.08
0.1
0.12
0.14
time (hrs)
Cum
ulat
ive
Ene
rgy
Use
(T
herm
s)
Prob 9.15, part-b, Lg Fnce
0 4 8 12 16 20 240
0.02
0.04
0.06
0.08
0.1
0.12
0.14Prob 9.15, part-b, Sml Fnce
time (hrs)
Cum
ulat
ive
Ene
rgy
Use
(T
herm
s)
St-Line → Fnce On 100% of time
Fewer Therms, but Cold Inside
Note Differing Slopes Before & After ~11hr
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 13
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Bruce Mayer, PELicensed Electrical & Mechanical Engineer
Engr/Math/Physics 25
AppendixAppendix
Model Model ConstructiConstructi
onon
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 14
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Prob_9_15a.mdl (1)Prob_9_15a.mdl (1)
40
FnceR*qm
T-Stat
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 15
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Prob_9_15a.mdl (2)Prob_9_15a.mdl (2)
0.5
1/RC
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 16
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Prob_9_15a.mdl (3)Prob_9_15a.mdl (3)
1s
IntegratorIC = 70°F
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 17
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Prob_9_15a.mdlProb_9_15a.mdl(4)(4)
AmbientTemp, Ta
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 18
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Prob_9_15a.mdl (5)Prob_9_15a.mdl (5)simout
Plot Ta & T(t)
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 19
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Part-a Configuration ParametersPart-a Configuration Parameters
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 20
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Prob_9_15b.mdl (1)Prob_9_15b.mdl (1)
514
qm
1s
TotalEnergy
T-Stat
1/1e5
Scale Outputto Therms
0.0389
Rsimout
Plot Ta & T(t)
1s
IntegratorIC = 70°F
DeBugScope
AmbientTemp, Ta
0.5
1/RC
Non GREEN Blocks are the same as in part-a
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 21
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Prob_9_15b.mdl (2)Prob_9_15b.mdl (2)
514
qm
0.0389
R
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 22
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Prob_9_15b.mdl (3)Prob_9_15b.mdl (3)
1/1e5
Scale Outputto Therms
1s
TotalEnergy
[email protected] • ENGR-25_Prob_9_15_Solution.ppt 23
Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Part-b Configuration ParametersPart-b Configuration Parameters