Minimize Gibbs Free Energy

Apps.GibbsFreeEnergy History

Hide minor edits - Show changes to output

Deleted line 112:
https://www.ijee.dit.ie/articles/Vol16-4/Ijee1157.pdf
Deleted line 14:
* %list list-page% [[Attach:gibbs.apm | Gibbs Energy Minimization]]
January 03, 2011, at 01:09 AM by 206.180.155.75 -
Added lines 16-17:
* %list list-page% [[https://apmonitor.com/online/view_pass.php?f=gibbs.apm | Solve Gibbs Energy Minimization Online]]
January 01, 2011, at 06:57 PM by 206.180.155.75 -
Added line 8:
Deleted lines 10-11:
* %list list-page% [[Attach:gibbs.apm | Gibbs Energy Minimization]]
Added lines 12-15:

This optimization problem determines the mole fractions of a mixture of common combustion species at equilibrium by minimizing the Gibbs Energy.

* %list list-page% [[Attach:gibbs.apm | Gibbs Energy Minimization]]
January 01, 2011, at 06:54 PM by 206.180.155.75 -
Changed line 7 from:
In thermodynamics, the Gibbs free energy is a thermodynamic potential that measures the "useful" or process-initiating work obtainable from an isothermal, isobaric thermodynamic system. Gibbs energy is also the chemical potential that is minimized when a system reaches equilibrium at constant pressure and temperature. As such, it is a convenient criterion of spontaneity for processes with constant pressure and temperature.  Every system seeks to achieve a minimum of free energy.  Out of this general natural tendency, a quantitative measure as to how near or far a potential reaction is from this minimum is when the calculated energetics of the process indicate that the change in Gibbs free energy is negative. In essence, this means that such a reaction will be favoured and will release energy. The energy released equals the maximum amount of work that can be performed as a result of the chemical reaction. In contrast, if conditions indicated a positive change in Gibbs free energy, then energy—in the form of work—would have to be added to the reacting system to make the reaction go.
to:
In thermodynamics, the Gibbs free energy is a thermodynamic potential that measures the "useful" or process-initiating work obtainable from an isothermal, isobaric thermodynamic system. Gibbs energy is also the chemical potential that is minimized when a system reaches equilibrium at constant pressure and temperature. As such, it is a convenient criterion of spontaneity for processes with constant pressure and temperature.  Every system seeks to achieve a minimum of free energy.  Out of this general natural tendency, a quantitative measure as to how near or far a potential reaction is from this minimum is when the calculated energetics of the process indicate that the change in Gibbs free energy is negative. In essence, this means that such a reaction will be favoured and will release energy. The energy released equals the maximum amount of work that can be performed as a result of the chemical reaction. In contrast, if conditions indicated a positive change in Gibbs free energy, then energy, in the form of work, would have to be added to the reacting system to make the reaction go.
Changed line 10 from:
Attach:gibbs.apm
to:
* %list list-page% [[Attach:gibbs.apm | Gibbs Energy Minimization]]
January 01, 2011, at 06:52 PM by 206.180.155.75 -
Changed lines 7-8 from:
to:
In thermodynamics, the Gibbs free energy is a thermodynamic potential that measures the "useful" or process-initiating work obtainable from an isothermal, isobaric thermodynamic system. Gibbs energy is also the chemical potential that is minimized when a system reaches equilibrium at constant pressure and temperature. As such, it is a convenient criterion of spontaneity for processes with constant pressure and temperature.  Every system seeks to achieve a minimum of free energy.  Out of this general natural tendency, a quantitative measure as to how near or far a potential reaction is from this minimum is when the calculated energetics of the process indicate that the change in Gibbs free energy is negative. In essence, this means that such a reaction will be favoured and will release energy. The energy released equals the maximum amount of work that can be performed as a result of the chemical reaction. In contrast, if conditions indicated a positive change in Gibbs free energy, then energy—in the form of work—would have to be added to the reacting system to make the reaction go.
The equation can also be seen from the perspective of both the system and its surroundings (the universe). For the purposes of calculation, we assume the reaction is the only reaction going on in the universe. Thus the entropy released or absorbed by the system is actually the entropy that the environment must absorb or release respectively. Thus the reaction will only be allowed if the total entropy change of the universe is equal to zero (an equilibrium process) or positive. The input of heat into an "endothermic" chemical reaction (e.g. the elimination of cyclohexanol to cyclohexene) can be seen as coupling an inherently unfavourable reaction (elimination) to a favourable one (burning of coal or the energy source of a heat source) such that the total entropy change of the universe is more than or equal to zero, making the Gibbs free energy of the coupled reaction negative.
January 01, 2011, at 06:36 PM by 206.180.155.75 -
Added lines 1-108:
(:title Minimize Gibbs Free Energy:)
(:keywords nonlinear, model, predictive control, APMonitor, differential, algebraic, modeling language, infectious disease spread, measles nonlinear dynamics:)
(:description Determine chemical composition by the minimization of the Gibbs Free Energy:)

!! Gibbs Free Energy



Attach:gibbs.apm

----

(:html:)<font size=2><pre>
 <table align="center" border="1" cellspacing="0" bordercolor="#AAAAAA" bgcolor="#EEEEEE" width="30%">
  <tr>
  <td nowrap id="cell" width="40%" align="center" bgcolor="#EEEEEE"><b>Name</b></td>
  <td nowrap id="cell" width="20%" align="center" bgcolor="#EEEEEE"><b>Lower</b></td>
  <td nowrap id="cell" width="20%" align="center" bgcolor="#EEEEEE"><b>Value</b></td>
  <td nowrap id="cell" width="20%" align="center" bgcolor="#EEEEEE"><b>Upper</b></td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFF99">gibbs.t</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFF99">---</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFF99">  1.0000E+03</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFF99">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFF99">gibbs.p</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFF99">---</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFF99">  2.0000E+00</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFF99">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.x[1]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.0000E-04</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  3.9421E-01</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.x[2]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.0000E-04</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.0316E+00</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.x[3]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.0000E-04</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.2432E+00</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.x[4]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.0000E-04</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  3.6261E-01</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.x[5]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.0000E-04</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  5.1800E+00</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.z</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.0000E-01</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  9.9953E-01</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.y[1]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  4.8007E-02</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.y[2]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.2563E-01</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.y[3]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  1.5139E-01</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.y[4]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  4.4158E-02</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
  <tr>
  <td nowrap id="cell" width="50%" align="left" bgcolor="#CCFFFF">gibbs.y[5]</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">  6.3081E-01</td>
  <td nowrap id="cell" width="10%" align="center" bgcolor="#CCFFFF">---</td>
  </tr>
 </table>
</pre></font>(:htmlend:)

----

!!! References

Lwin, Y., Chemical Equilibrium by Gibbs Energy Minimization on Spreadsheets, Int. J. Engng Ed. Vol. 16, No. 4, pp. 335-339, 2000.

https://www.ijee.dit.ie/articles/Vol16-4/Ijee1157.pdf