Jump to content

Batch reactor: Difference between revisions

From mintOC
No edit summary
No edit summary
Line 7: Line 7:
}}
}}


This batch reactor problem describes the consecutive reaction of some substance A via substance B into a desired product C. (A <math> \rightarrow </math> B <math> \rightarrow </math> C)
This batch reactor problem describes the consecutive reaction of some substance A via substance B into a desired product C. (A <math> \rightarrow </math> B <math> \rightarrow </math> C <math> \\ </math>)





Revision as of 16:08, 12 January 2016

Batch reactor
State dimension: 1
Differential states: 2
Continuous control functions: 1
Discrete control functions: 0
Interior point equalities: 2


This batch reactor problem describes the consecutive reaction of some substance A via substance B into a desired product C. (A B C Failed to parse (syntax error): {\displaystyle \\ } )


The system is interacted with via the control function T(t) which stands for the temperature. The goal is to produce as much of substance B (which can then be converted into product C) as possible within the time limit.

Mathematical formulation

The optimal control problem is given by

maxx,ux2(tf)s.t.x˙1(t)=k1x12,x˙2(t)=k1x12k2x2,k1=4000e(2500/T),k2=620000e(5000/T),x(0)=(1,0)T,T(t)[298,398].

x1(t) and x2(t) stand for the concentrations of A and B at timepoint t respectively. The control function T(t) represents the temperature.

Parameters

The starting time and end time are given by [t0,tf]=[0,1].

Reference Solutions

This solution was computed using JuMP with a collocation method and 300 discretization points. The differential equations were solved using the explicit Euler Method. The source code can be found at Batch reactor (JuMP).

The optimal objective value of the problem is x2(tf)=0.611715.

[pictures coming]

Source Code

Model descriptions are available in

References

The problem can be found in the Tomlab PROPT guide or in the Dynopt guide.