source: mso/sample/optimization/ammonia_opt.mso @ 85

Last change on this file since 85 was 85, checked in by Paula Bettio Staudt, 16 years ago

Updated optimization sample files header

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#*-------------------------------------------------------------------
2* EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC.
3*
4* This LIBRARY is free software; you can distribute it and/or modify
5* it under the therms of the ALSOC FREE LICENSE as available at
6* http://www.enq.ufrgs.br/alsoc.
7*
8* EMSO Copyright (C) 2004 - 2007 ALSOC, original code
9* from http://www.rps.eng.br Copyright (C) 2002-2004.
10* All rights reserved.
11*
12* EMSO is distributed under the therms of the ALSOC LICENSE as
13* available at http://www.enq.ufrgs.br/alsoc.
14*
15*--------------------------------------------------------------------
16*  Arquivo de demonstração de otimização de processos
17* (baseado no arquivo disponível em www.vrtech.com.br)
18*--------------------------------------------------------------------
19* Author: Rafael de Pelegrini Soares
20* $Id: ammonia_opt.mso 85 2006-12-08 20:43:24Z paula $
21*--------------------------------------------------------------------*#
22
23using "ammonia";
24
25Optimization AmmoniaOPT as Ammonia
26        MINIMIZE
27       
28        abs(Q1) + abs(Q2)
29        #loose / "lbmol/h"
30        # C102.Pot/"kW"*180
31        # + F101.Q/"kW"/10
32        ;
33       
34        FREE
35        #F101.OutletV.T
36        S101.frac;
37       
38        EQUATIONS
39        #F102.OutletL.z(5) > 0.95;
40        loose < 1 * "lbmol/h";
41        production > 90 * "lbmol/h";
42       
43        OPTIONS
44        relativeAccuracy = 1e-1;
45end
Note: See TracBrowser for help on using the repository browser.