1 |
aw0a |
1 |
REQUIRE "system.a4l"; |
2 |
|
|
(* => system.a4l, basemodel.a4l *) |
3 |
|
|
PROVIDE "z-relname.a4c"; |
4 |
|
|
(* |
5 |
|
|
* This file is part of the ASCEND Modeling Library and is released |
6 |
|
|
* under the GNU Public License as described at the end of this file. |
7 |
|
|
* |
8 |
|
|
* Use of this module requires an empty ascend system. |
9 |
|
|
*) |
10 |
|
|
|
11 |
|
|
MODEL testrelname; |
12 |
|
|
(* |
13 |
|
|
NOTES 'test' SELF { |
14 |
|
|
testrelname_5 forces a nonunique type_eqnnum name to be generated. |
15 |
|
|
we should end up with equation names |
16 |
|
|
testrelname_1 |
17 |
|
|
g |
18 |
|
|
testrelname_2 |
19 |
|
|
testrelname_4 |
20 |
|
|
testrelname_5a |
21 |
|
|
testrelname_6 |
22 |
|
|
} |
23 |
|
|
END NOTES; |
24 |
|
|
*) |
25 |
|
|
x = 1; |
26 |
|
|
y=2; |
27 |
|
|
g: z = 3; |
28 |
|
|
w=4; w=4; w=4; |
29 |
|
|
w,x,y,z IS_A generic_real; |
30 |
|
|
testrelname_5 IS_A real; |
31 |
|
|
END testrelname; |
32 |
|
|
|
33 |
|
|
|
34 |
|
|
(* |
35 |
|
|
* z-relname.a4c |
36 |
|
|
* by Benjamin Allan |
37 |
|
|
* Part of the ASCEND Library |
38 |
|
|
* $Date: 1998/06/17 19:39:39 $ |
39 |
|
|
* $Revision: 1.3 $ |
40 |
|
|
* $Author: mthomas $ |
41 |
|
|
* $Source: /afs/cs.cmu.edu/project/ascend/Repository/models/z-relname.a4c,v $ |
42 |
|
|
* |
43 |
|
|
* This file is part of the ASCEND Modeling Library. |
44 |
|
|
* |
45 |
|
|
* Copyright (C) 1997 Benjamin Allan |
46 |
|
|
* |
47 |
|
|
* The ASCEND Modeling Library is free software; you can redistribute |
48 |
|
|
* it and/or modify it under the terms of the GNU General Public |
49 |
|
|
* License as published by the Free Software Foundation; either |
50 |
|
|
* version 2 of the License, or (at your option) any later version. |
51 |
|
|
* |
52 |
|
|
* The ASCEND Modeling Library is distributed in hope that it will be |
53 |
|
|
* useful, but WITHOUT ANY WARRANTY; without even the implied |
54 |
|
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
55 |
|
|
* See the GNU General Public License for more details. |
56 |
|
|
* |
57 |
|
|
* You should have received a copy of the GNU General Public License |
58 |
|
|
* along with the program; if not, write to the Free Software |
59 |
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check |
60 |
|
|
* the file named COPYING. |
61 |
|
|
*) |