Differences From Artifact [f32477b7d4]:

To Artifact [5420451ef5]:


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
%SUMMARY Poly - computes polytropic expansion temperature.
%DESCRIPTION Parameter: alpha = (n-1)/n (n = polytropic index)
%DESCRIPTION Port [P1]: Pressure 1







%DESCRIPTION Port [T1]: Temperature 1
%DESCRIPTION Port [P2]: Pressure 2

%DESCRIPTION Port [T2]: Temperature 2




%% Label file for system Poly (Poly_lbl.txt)

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



% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% 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 R
	r		Poly		$1

% Component type SS
	zero		0		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
%SUMMARY Poly - computes polytropic expansion temperature.
%DESCRIPTION Parameter: alpha = (n-1)/n (n = polytropic index)

%DESCRIPTION This four-port component computes the temperature following
%DESCRIPTION a polytropic expansion using where alpha = (n-1)/n and n is
%DESCRIPTION the coefficient of polytropic expansion.  This component
%DESCRIPTION imposes zero flow at all its ports and therefore does not
%DESCRIPTION affect energy balance.  The output is bicausal as it
%DESCRIPTION imposes both T_2 and a zero flow.  This is implemented using
%DESCRIPTION the bicausal SS component labeled ``zero''.

%ALIAS	P1	Pressure_1
%ALIAS	P2	Pressure_2
%ALIAS	T1	Temperature_1
%ALIAS	T2|out	Temperature_2

%ALIAS $1	alpha

%% Label file for system Poly (Poly_lbl.txt)

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.1  1998/03/27 10:48:50  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 R
	r		Poly		alpha

% Component type SS
	zero		SS		0,0
	[Pressure_1]	SS		external,external
	[Temperature_1]	SS		external,external
	[Pressure_2]	SS		external,external
	[Temperature_2]	SS		external,external


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