Differential Equations Preview

d(T)d(W)=0.8·(TaT)+rA·delHCPA·FA0
d(x)d(W)=rAFA0
d(y)d(W)=0.015·(10.5·x)·(T450)2·y
FA0=5
Ta=500
delH=40000
CPA=40
k=0.5·exp(5032·(14501T))
CA=0.271·(1x)·(450T)10.5·x·y
CC=0.271·0.5·x·(450T)10.5·x·y
Kc=25000·exp(delH8.314·(14501T))
rA=k·(CA2CCKc)
Boundaries
W(0)=0
T(0)=450
x(0)=0
y(0)=1
W(f)=20

Program validated. Ready to Solve.
# Example 22 - ODE System
# Reversible Reaction in a PBR
# Verified Final Values: T = 1149.6, x = 0.725004, y = 0.766736
# Ref.: Comput. Appl. Eng. Educ. 6: 176-178, 1998

d(T)/d(W)=(.8*(Ta-T)+rA*delH)/(CPA*FA0)
d(x)/d(W)=-rA/FA0
d(y)/d(W)=-0.015*(1-.5*x)*(T/450)/(2*y)
FA0=5
Ta=500
delH=-40000
CPA=40
k=.5*exp(5032*(1/450-1/T))
CA=.271*(1-x)*(450/T)/(1-.5*x)*y
CC=.271*.5*x*(450/T)/(1-.5*x)*y
Kc=25000*exp(delH/8.314*(1/450-1/T))
rA=-k*(CA^2-CC/Kc)
W(0)=0
T(0)=450
x(0)=0
y(0)=1
W(f)=20

Calculated values

  Variable ▲ Initial Minimal Maximal Final Value
1CA0.2710.035090.2710.035085615
2CC000.051070.046250127
3k0.50.5479451.19418
4Kc2500035.272500037.34643
5rA-0.03672-0.97150.0033420.0033423484
6T45045011651149.5994
7W002020
8x000.72720.7250039
9y10.766710.7667365
Chart 1
Chart
Chart 2
Chart

Data Table (42 records)


#WTxykCACCKcrA
10450010.50.271025000-0.0367205
20.488281453.79950.00370552230.99631920.54907390.267244880.000496982522859.342-0.03921475
31.1549476459.397060.0091872270.99123090.62850420.261914550.001214290220089.145-0.043114867
41.8216144465.544040.0152339810.98606550.726305540.256318870.001982580917494.715-0.047717724
52.488281472.34460.021951590.98081710.84860290.25041730.002810217415076.059-0.053214725
63.1549478479.932680.0294758450.975478651.00428060.244159610.00370769312833.574-0.059868805
73.8216143488.48340.0379842070.9700421.20659670.237482830.00468838310768.088-0.06804923
84.488281498.230620.0477134060.96449711.47599780.230306630.00576964638880.883-0.07828765
95.1549478509.494050.058986770.9588321.8452420.222526860.0069744727173.715-0.091371275
105.8216143522.722840.0722580.953031542.36921450.214005990.0083340225648.811-0.10850312
116.488281538.56750.088183750.94707663.14486620.204558690.009891664308.8086-0.13158737
127.1549478558.004460.107748530.94094234.35457230.193930240.0117095343156.5813-0.16375467
137.8216143582.557070.132487160.93459546.3680580.18176460.0138796072194.8228-0.21034999
148.488281614.69890.164889930.9279905610.0036810.16756160.0165422631425.1322-0.28075618
159.00488647.37050.19783090.922655515.1211120.154727980.019079503960.076-0.36171025
169.466287684.87770.235643220.9176959423.144970.141581760.021824092639.0667-0.46315968
179.929125733.43380.28458460.9125008637.6448670.126553210.025170758401.3914-0.60054874
1810.346994789.41810.341004130.907589861.2374840.111386280.028818984252.0753-0.75276655
1910.732073852.411870.404490830.90285898.0841140.096420840.032746222160.66724-0.89189506
2011.108027922.45720.475118040.8980432153.558150.081731270.036991175104.66386-0.9714967
2111.5239681001.44240.55487260.8925139236.115970.066954380.0417309169.36568-0.9164325
2211.9849961074.91480.629340770.8861987332.87720.054376870.0461631349.949604-0.67662275
2312.1994081100.50290.65543340.8832162371.155180.0501624160.04770939445.012707-0.54053503
2412.4649471124.32970.679911430.8794948408.92010.0462613660.04913270541.02977-0.3854582
2512.708391139.55880.69575630.8760619434.124360.0437393820.0500124738.749256-0.270227
2612.9462031149.67540.70648640.87269217451.324860.0420102070.0505592337.336094-0.18535578
2713.1883311156.43380.713877560.86924666463.01840.0407852980.05087981436.434048-0.12360264
2813.4408831160.82790.718937160.8656383470.707820.039903730.05103533335.86478-0.07969766
2913.7090241163.51620.72233590.8617917475.4460.03925950.05106627235.522972-0.049328554
3013.9978751164.96170.724548940.85763043478.004330.03877760.05100048335.34117-0.028973157
3114.3130581165.49670.72592270.85306925478.953030.0384027440.05085687335.27424-0.015812155
3214.6612041165.35820.7267110.8480059478.707340.0380931120.0506472635.29155-0.0076474003
3315.0505531164.7090.72709760.84231186477.55660.0378163460.05037729435.372852-0.002815904
3415.4917691163.6510.72721180.83581847475.684420.0375465860.0500467435.50595-0.00010230494
3515.999131162.23290.727139060.8282969473.18110.0372619030.0496490835.6855240.0013462708
3616.592281160.45350.72692880.81942725470.05010.036941770.0491703935.912760.0021000577
3717.2589451158.38550.72661920.80935705466.425260.0365854650.04862027636.179560.0025019008
3817.9256131156.28170.72626840.7991757462.753540.036227420.0480595436.4539830.0027468763
3918.592281154.15480.72588870.788879459.05720.0358655640.04748875636.7345850.0029447887
4019.2589451152.00820.72548360.7784623455.342740.0354990470.046907937.021040.0031319452
4119.9256131149.84230.72505350.7679207451.611570.0351274160.0463167437.313430.003320914
42201149.59940.72500390.7667365451.194180.0350856150.04625012737.346430.0033423484
Raw data presented with 42 records.

Constant Values

ConstantFA0TadelHCPA
Value5500-4000040

Settings and Hints

 Name/SourceValueType
1 Total number of equations 12 Setting
2 Number of differential equations 3 Setting
3 Number of explicit equations 9 Setting
4 Reporting digits 10 Setting
5 Minimal License Free - 2 Setting
6 Elapsed time 0.143 ms Setting
7 Solution method RKF_45 Setting
8 Step size guess. h 0.37193559 Setting
9 Truncation error tolerance. eps 0.000001 Setting
10 Good steps 49 Setting
11 Bad steps 3 Setting
12 Calculated Intermediate data points 50 Setting
13 Version 7.0.73 Setting
14 #@chart_size = 428,300 Default (array2)
15 #@chart_interpolate = 2 Default (integer)
16 #@chart_curve_width = 2 Default (integer)
17 #@report_fix_digits = 8 Default (integer)
18 #@report_show_charts = true Default (boolean)
19 #@report_show_data_points = true Default (boolean)
20 #@report_show_intermediate_data_points = true Default (boolean)
21 #@report_show_source = true Default (boolean)
22 #@report_show_header = false Default (boolean)
23 #@report_show_settings = true Default (boolean)
24 #@chart_all_curves = false Default (boolean)
25 #@chart_curves_stiff_grouping_percent = 50 Default (integer)
26 #@chart_y_curves = Default (array2)
27 #@chart_log_scales = 000 Default (string)

Messages

 SeverityDescription
1Info-Infor- Differential variables (3) ; T, x, y
2Info-Infor- Explicit variables (9) ; FA0, Ta, delH, CPA, k, CA, CC, Kc, rA
3Info-Infor- Independent variable = W

Source

# Example 22 - ODE System
# Reversible Reaction in a PBR
# Verified Final Values: T = 1149.6, x = 0.725004, y = 0.766736
# Ref.: Comput. Appl. Eng. Educ. 6: 176-178, 1998

d(T)/d(W)=(.8*(Ta-T)+rA*delH)/(CPA*FA0)
d(x)/d(W)=-rA/FA0
d(y)/d(W)=-0.015*(1-.5*x)*(T/450)/(2*y)
FA0=5
Ta=500
delH=-40000
CPA=40
k=.5*exp(5032*(1/450-1/T))
CA=.271*(1-x)*(450/T)/(1-.5*x)*y
CC=.271*.5*x*(450/T)/(1-.5*x)*y
Kc=25000*exp(delH/8.314*(1/450-1/T))
rA=-k*(CA^2-CC/Kc)
W(0)=0
T(0)=450
x(0)=0
y(0)=1
W(f)=20