Overview
Comment:Use %VAR inplace of dummy component.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: b6a470115991d9d1f189d6cb9ba5f0cfb518340a38d5bcb5406bf60fa44ecc06
User & Date: gawthrop@users.sourceforge.net on 1998-07-30 15:27:42
Other Links: branch diff | manifest | tags
Context
1998-07-30
17:30:41
Added some more paths check-in: 6a471da05d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:27:42
Use %VAR inplace of dummy component. check-in: b6a4701159 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:07:17
Added _ to the disallowed chars around t check-in: ec1f0f270c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/examples/Thermal/GasTurbines/SimpleGasTurbine/SimpleGasTurbine_lbl.txt from [84ae51a7ef] to [ab1d07768e].

1
2
3
4
5
6
7


















8
9
10
11
12
13
14
15




16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
%SUMMARY SimpleGasTurbine: single-spool gas turbine producing shaft power
%DESCRIPTION SimpleGasTurbine can be regarded as an single-spool gas
%DESCRIPTION turbine (producing shaft power) with an ideal-gas working fluid. It
%DESCRIPTION corresponds to the simple Joule Cycle as described in Chapter 12 of
%DESCRIPTION Rogers and Mayhew and in Chapter 2 of Cohen, Rogers and
%DESCRIPTION Saravanamutto. However, unlike those examples, the system is
%DESCRIPTION written with dynamics in mind.



















%% Label file for system SimpleGasTurbine (SimpleGasTurbine_lbl.txt)

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$




% %% Revision 1.2  1998/07/03 14:53:38  peterg
% %% Renames tank to comb to be consistent.
% %%
% %% Revision 1.1  1998/05/18 15:46:02  peterg
% %% Initial revision
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Each line should be of one of the following forms:
%	a comment (ie starting with %)
%	Component-name	CR_name	arg1,arg2,..argn
%	blank

% Component type Comb
	c1		none		m_c;v_c;r

% Component type I
	j_s		lin		flow,j_s

% Component type Pump
	p1		none		c_v;ideal_gas,r;alpha;effort,k



% Component type SS
	Work		0		external
	Heat		0		external
	Speed		0		external
	T3		external	external


% Component type Turb
	t1		none		c_v;ideal_gas,r;alpha;effort,k

% Component type In
	in

% Component type Out
	out

%  Component type Dummy -- create some global variables.
	Dummy	none t_2;t_3;t_4;p_2;p_3;p_4;mdot;gamma;q_0;w_0;omega_0;r_p;c_p;mom_0











>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>








>
>
>
>




















|
>



|
<
|
|
|
<
<
<







<
<
<



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63

64
65
66



67
68
69
70
71
72
73



74
75
76
%SUMMARY SimpleGasTurbine: single-spool gas turbine producing shaft power
%DESCRIPTION SimpleGasTurbine can be regarded as an single-spool gas
%DESCRIPTION turbine (producing shaft power) with an ideal-gas working fluid. It
%DESCRIPTION corresponds to the simple Joule Cycle as described in Chapter 12 of
%DESCRIPTION Rogers and Mayhew and in Chapter 2 of Cohen, Rogers and
%DESCRIPTION Saravanamutto. However, unlike those examples, the system is
%DESCRIPTION written with dynamics in mind.

%ALIAS	Comb	CompressibleFlow/Comb
%ALIAS	Pump	CompressibleFlow/Pump

%VAR t_2;
%VAR t_3;
%VAR t_4;
%VAR p_2;
%VAR p_3;
%VAR p_4;
%VAR mdot;
%VAR gamma_0;
%VAR q_0;
%VAR w_0;
%VAR omega_0;
%VAR r_p;
%VAR c_p;
%VAR mom_0;

%% Label file for system SimpleGasTurbine (SimpleGasTurbine_lbl.txt)

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.3  1998/07/03 14:54:45  peterg
% %% k_p --> k
% %% k_t --> k
% %%
% %% Revision 1.2  1998/07/03 14:53:38  peterg
% %% Renames tank to comb to be consistent.
% %%
% %% Revision 1.1  1998/05/18 15:46:02  peterg
% %% Initial revision
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Each line should be of one of the following forms:
%	a comment (ie starting with %)
%	Component-name	CR_name	arg1,arg2,..argn
%	blank

% Component type Comb
	c1		none		m_c;v_c;r

% Component type I
	j_s		lin		flow,j_s

% Component type Pump
	comp		none		c_v;density,ideal_gas,r;alpha;effort,k
	turb		none		c_v;density,ideal_gas,r;alpha;effort,k


% Component type SS
	Work		SS	0,external

	Heat		SS	0,external
	Speed		SS	0,external
	T3		SS	external,external




% Component type In
	in

% Component type Out
	out








MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]