<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mintoc.de/index.php?action=history&amp;feed=atom&amp;title=Semibatch_esterification_problem_%28TACO%29</id>
	<title>Semibatch esterification problem (TACO) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mintoc.de/index.php?action=history&amp;feed=atom&amp;title=Semibatch_esterification_problem_%28TACO%29"/>
	<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Semibatch_esterification_problem_(TACO)&amp;action=history"/>
	<updated>2026-06-09T09:11:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://mintoc.de/index.php?title=Semibatch_esterification_problem_(TACO)&amp;diff=1121&amp;oldid=prev</id>
		<title>JonasSchulze: Text replacement - &quot;\&lt;bibref\&gt;(.*)\&lt;\/bibref\&gt;&quot; to &quot;&lt;bib id=&quot;$1&quot; /&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Semibatch_esterification_problem_(TACO)&amp;diff=1121&amp;oldid=prev"/>
		<updated>2015-12-30T20:32:09Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;\&amp;lt;bibref\&amp;gt;(.*)\&amp;lt;\/bibref\&amp;gt;&amp;quot; to &amp;quot;&amp;lt;bib id=&amp;quot;$1&amp;quot; /&amp;gt;&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:32, 30 December 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page contains a model of the [[Semibatch esterification problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page contains a model of the [[Semibatch esterification problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The original model is due to &amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bibref&amp;gt;&lt;/del&gt;Kuehl2005&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bibref&lt;/del&gt;&amp;gt; and &amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bibref&amp;gt;&lt;/del&gt;Milewska2006&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bibref&lt;/del&gt;&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The original model is due to &amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bib id=&quot;&lt;/ins&gt;Kuehl2005&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; &lt;/ins&gt;/&amp;gt; and &amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bib id=&quot;&lt;/ins&gt;Milewska2006&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; &lt;/ins&gt;/&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JonasSchulze</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Semibatch_esterification_problem_(TACO)&amp;diff=1080&amp;oldid=prev</id>
		<title>JonasSchulze: Text replacement - &quot;&lt;bibreferences/&gt;&quot; to &quot;&lt;biblist /&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Semibatch_esterification_problem_(TACO)&amp;diff=1080&amp;oldid=prev"/>
		<updated>2015-12-30T20:28:25Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&amp;lt;bibreferences/&amp;gt;&amp;quot; to &amp;quot;&amp;lt;biblist /&amp;gt;&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:28, 30 December 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l126&quot;&gt;Line 126:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bibreferences&lt;/del&gt;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;biblist &lt;/ins&gt;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:AMPL/TACO]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:AMPL/TACO]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JonasSchulze</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Semibatch_esterification_problem_(TACO)&amp;diff=669&amp;oldid=prev</id>
		<title>Ckirches at 19:32, 29 September 2011</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Semibatch_esterification_problem_(TACO)&amp;diff=669&amp;oldid=prev"/>
		<updated>2011-09-29T19:32:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:32, 29 September 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page contains a model of the [[Semibatch esterification problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page contains a model of the [[Semibatch esterification problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The original model is due to &amp;lt;bibref&amp;gt;Kuehl2005&amp;lt;bibref&amp;gt; and &amp;lt;bibref&amp;gt;Milewska2006&amp;lt;/bibref&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The original model is due to &amp;lt;bibref&amp;gt;Kuehl2005&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/ins&gt;bibref&amp;gt; and &amp;lt;bibref&amp;gt;Milewska2006&amp;lt;/bibref&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ckirches</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Semibatch_esterification_problem_(TACO)&amp;diff=668&amp;oldid=prev</id>
		<title>Ckirches: Semibatch esterification problem (TACO)</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Semibatch_esterification_problem_(TACO)&amp;diff=668&amp;oldid=prev"/>
		<updated>2011-09-29T19:29:01Z</updated>

		<summary type="html">&lt;p&gt;Semibatch esterification problem (TACO)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page contains a model of the [[Semibatch esterification problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions. &lt;br /&gt;
The original model is due to &amp;lt;bibref&amp;gt;Kuehl2005&amp;lt;bibref&amp;gt; and &amp;lt;bibref&amp;gt;Milewska2006&amp;lt;/bibref&amp;gt;.&lt;br /&gt;
Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.&lt;br /&gt;
To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.&lt;br /&gt;
&lt;br /&gt;
=== AMPL ===&lt;br /&gt;
&lt;br /&gt;
This is the source file semibatch_taco.mod&lt;br /&gt;
&amp;lt;source lang=&amp;quot;AMPL&amp;quot;&amp;gt;&lt;br /&gt;
# ----------------------------------------------------------------&lt;br /&gt;
# Semibatch esterification problem using AMPL and TACO&lt;br /&gt;
# (c) Christian Kirches, Sven Leyffer&lt;br /&gt;
# ----------------------------------------------------------------&lt;br /&gt;
include OptimalControl.mod;&lt;br /&gt;
&lt;br /&gt;
var t;&lt;br /&gt;
&lt;br /&gt;
# propionic anhydride (species A, sd0) [mol]&lt;br /&gt;
var nA := 0.0, &amp;gt;= 0.0, &amp;lt;= 10.0;&lt;br /&gt;
&lt;br /&gt;
# 2-butanol (species B, sd1) [mol]&lt;br /&gt;
var nB := 6.893955747436589, &amp;gt;= 0.0, &amp;lt;= 10.0 suffix scale 10.0;&lt;br /&gt;
&lt;br /&gt;
# propionic acid (species C, sd2) [mol]&lt;br /&gt;
var nC := 0.0, &amp;gt;= 0.0, &amp;lt;= 10.0;&lt;br /&gt;
&lt;br /&gt;
# reactor temperature change (sd3) [K]&lt;br /&gt;
var Tr := 0.0, &amp;gt;= -23.0, &amp;lt;= 30.0 suffix scale 10.0;&lt;br /&gt;
&lt;br /&gt;
# accumulated dosing of propionic anhydride [mol]&lt;br /&gt;
var nK1 := 0.0, &amp;gt;= 0.0, &amp;lt;= 7.0 suffix scale 5.0;&lt;br /&gt;
&lt;br /&gt;
# theoretical adiabatic temperature rise (DAE state) [degrees Celsius]&lt;br /&gt;
var xA := 293.15, &amp;gt;= 270.15, &amp;lt;= 363.15 suffix type &amp;quot;dae&amp;quot; suffix scale 300.0;&lt;br /&gt;
&lt;br /&gt;
# dosing feed [kg/s]&lt;br /&gt;
var dF := 0.0002472, &amp;gt;= 0.0, &amp;lt;= 0.0005 suffix type &amp;quot;u0&amp;quot; suffix scale 1.0e-2;&lt;br /&gt;
&lt;br /&gt;
# dosing temperature [K]&lt;br /&gt;
var Tdos := 298.15, &amp;gt;= 298.15, &amp;lt;= 298.15 suffix type &amp;quot;u0&amp;quot; suffix scale 100.0;&lt;br /&gt;
&lt;br /&gt;
# ambient temperature [K]&lt;br /&gt;
var Tamb := 298.15, &amp;gt;= 298.15, &amp;lt;= 298.15 suffix type &amp;quot;u0&amp;quot; suffix scale 100.0;&lt;br /&gt;
&lt;br /&gt;
# jacket temperature change [K]&lt;br /&gt;
var dTj := 0.0, &amp;gt;= 0.0, &amp;lt;= 0.0 suffix type &amp;quot;u0&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
param TJ    := 313.15;&lt;br /&gt;
param Tr_sp := 313.15;&lt;br /&gt;
param MA    :=   0.13014;&lt;br /&gt;
param MB    :=   0.07412;&lt;br /&gt;
param MC    :=   0.07408;&lt;br /&gt;
param MD    :=   0.13011;&lt;br /&gt;
param U1    := 195; &lt;br /&gt;
param U2    := 155;&lt;br /&gt;
param V1u   :=   0.8;&lt;br /&gt;
param V2u   :=   1.6;&lt;br /&gt;
param nS0   :=   5.01/98.08;&lt;br /&gt;
param N1    :=   1.58;&lt;br /&gt;
param N2    :=   0.76;&lt;br /&gt;
param EA    :=   9.14E+4;&lt;br /&gt;
param A1    :=   9.35E+10;&lt;br /&gt;
param A2    :=   9.22E+10;&lt;br /&gt;
param A3    :=   9.78E+10;&lt;br /&gt;
param R     :=   8.314;&lt;br /&gt;
param V1    :=   1;&lt;br /&gt;
param V2    :=   2;&lt;br /&gt;
param CpI1  := 117.3;&lt;br /&gt;
param CpI2  := 198.4;&lt;br /&gt;
param Amin  :=   0.0113;&lt;br /&gt;
param Vmin  :=   0.124;&lt;br /&gt;
param d     :=   0.155;&lt;br /&gt;
param alpha :=   0.1;&lt;br /&gt;
param HA    := 59458;&lt;br /&gt;
&lt;br /&gt;
var Tr_   = Tr + Tr_sp;&lt;br /&gt;
var dens0 = 1000*0.13014/(0.46199*0.2166^((1-Tr_/630.0)^0.2857));&lt;br /&gt;
var dens1 = 1000*0.07412/(0.3199 *0.2088^((1-Tr_/536.01)^0.2857));&lt;br /&gt;
var dens2 = 1000*0.07408/(0.2848 *0.1993^((1-Tr_/611.0)^0.2857));&lt;br /&gt;
var dens3 = 1000*0.13011/(0.5078 *0.2265^((1-Tr_/578.01)^0.2857));&lt;br /&gt;
var V     = (nA*MA/dens0 + nB*MB/dens1 + nC*MC/dens2 + nC*MD/dens3) * 1000;&lt;br /&gt;
var Ua    = U1 + (U2-U1)/(V2u-V1u)*(V-V1u);&lt;br /&gt;
var xA_   = nA/(nA+nB+2*nC+nS0);&lt;br /&gt;
var r     = ( A1*exp(-EA/(R*Tr_)) + A2*exp(-EA/(R*Tr_)) &lt;br /&gt;
          * (nC/V)^N1 + A3*exp(-EA/(R*Tr_)) * (nS0/V)^N2 ) * (nA/V) * (nB/V);&lt;br /&gt;
var Cpi   = CpI1 + (CpI2 - CpI1)/(V2-V1) * (V-V1);&lt;br /&gt;
var Area  = (Amin + 4*(V-Vmin)/(1000*d));&lt;br /&gt;
var cp0   = 683.7305 - 3.7009 * Tr_ + 9.6E-3 * Tr_^2 - 7.458E-6 * Tr_^3;&lt;br /&gt;
var cp1   = 242.5725 - 2.3128 * Tr_ + 1.07E-2 * Tr_^2 - 1.159E-5 * Tr_^3;&lt;br /&gt;
var cp2   =  94.8369 - 0.2432 * Tr_ + 2.2E-3 * Tr_^2 - 2.51E-6 * Tr_^3;&lt;br /&gt;
var cp3   = 206.162  + 0.1994689 * Tr_ - 3.55512E-4 * Tr_^2 - 1.03625E-6 * Tr_^3;&lt;br /&gt;
var cpm   = nA*cp0 + nB*cp1 + nC*cp2 + nC*cp3;&lt;br /&gt;
var qdil  = -(-2232.74201/0.13963 * exp(-xA_/0.13963)) * (dF/MA-r*V);&lt;br /&gt;
&lt;br /&gt;
minimize Tracking: &lt;br /&gt;
	integral (nB^2,3600) suffix scale 1.0E+3;&lt;br /&gt;
&lt;br /&gt;
subject to &lt;br /&gt;
&lt;br /&gt;
ODE_nA:  diff(nA,t) = dF/MA - r*V;&lt;br /&gt;
ODE_nB:  diff(nB,t) = -r*V;&lt;br /&gt;
ODE_nC:	 diff(nC,t) = r*V;&lt;br /&gt;
ODE_Tr:  diff(Tr,t) = ( r*HA*V - qdil - Ua*Area*(Tr_-(TJ+dTj)) &lt;br /&gt;
                        - alpha*(Tr_-Tamb) - dF/MA*cp0*(Tr_-Tdos) ) / (Cpi+cpm);&lt;br /&gt;
ODE_nK1: diff(nK1,t) = dF/MA;&lt;br /&gt;
&lt;br /&gt;
DAE_xA: 0 = xA - (Tr_ + nA * 1000 * HA/(cpm * V * 900));&lt;br /&gt;
&lt;br /&gt;
IC_nA:  eval(nA,0) = 0;&lt;br /&gt;
IC_nB:  eval(nB,0) = 6.893955747436589;&lt;br /&gt;
IC_nC:  eval(nC,0) = 0;&lt;br /&gt;
IC_Tr:  eval(Tr,0) = 0;&lt;br /&gt;
IC_nK1: eval(nK1,0) = 0;&lt;br /&gt;
&lt;br /&gt;
option solver ...;&lt;br /&gt;
&lt;br /&gt;
solve;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Other Descriptions ==&lt;br /&gt;
&lt;br /&gt;
Other descriptions of this problem are available in&lt;br /&gt;
&lt;br /&gt;
* Mathematical notation at [[Semibatch esterification problem]]&lt;br /&gt;
 &lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;bibreferences/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:AMPL/TACO]]&lt;/div&gt;</summary>
		<author><name>Ckirches</name></author>
	</entry>
</feed>