source: branches/gui/eml/controllers/heat_flow.mso @ 737

Last change on this file since 737 was 698, checked in by gerson bicca, 15 years ago

added heat_flow model for control purposes - starting to modify the reactive distillation column (BRANCH)

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* Author:
17*$Id:$                                                                 
18*-------------------------------------------------------------------*#
19
20using "streams";
21       
22Model heat_flow
23        ATTRIBUTES
24        Pallete         = true;
25        Icon            = "icon/heat_flow";
26        Brief           = "Model of a very simple valve for setting the energy flow with a controller.";
27
28
29PARAMETERS
30
31        MinHeatFlow             as power                (Default=-1000);
32        MaxHeatFlow     as power                (Default=1000);
33       
34VARIABLES
35
36out HeatFlow                                    as power                (Brief="Heat Flow", PosX=0, PosY=0.45);
37in      HeatFlowFraction                as fraction     (Brief="Flow Signal", PosX=0.58, PosY=1);
38       
39        EQUATIONS
40"Heat Flow"
41        HeatFlow = MinHeatFlow + HeatFlowFraction*(MaxHeatFlow-MinHeatFlow);
42
43end
44
45
46
Note: See TracBrowser for help on using the repository browser.