Differences From Artifact [2be2889121]:

To Artifact [4e291800f6]:


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













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
-
-
-
-
-
-
-
+
+
+
+
+
+
+

-
-
-
+
+
+
-
-
+

+
+
+
+
-
+

-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+

-
-
-
-
+
+
+
+



-
+


-
-
+
+

-
-
-
+
+
+
+
+
+
%SUMMARY CarnotCycle: a simple closed thermodynamic cycle
%DESCRIPTION The Carnot cycle is a simple closed thermodynamic cycle
%DESCRIPTION with four parts:
%DESCRIPTION o Isentropic compression
%DESCRIPTION o Heat injection at constant temperature
%DESCRIPTION o Isentropic expansion
%DESCRIPTION o Heat extraction at constant temperature
#SUMMARY CarnotCycle: a simple closed thermodynamic cycle
#DESCRIPTION The Carnot cycle is a simple closed thermodynamic cycle
#DESCRIPTION with four parts:
#DESCRIPTION o Isentropic compression
#DESCRIPTION o Heat injection at constant temperature
#DESCRIPTION o Isentropic expansion
#DESCRIPTION o Heat extraction at constant temperature

%VAR P_0
%VAR T_0
%VAR V_0
#PAR P_0
#PAR T_0
#PAR V_0
%VAR TopTemp
%VAR alpha
#PAR alpha

#NOTPAR ideal_gas
#NOTPAR	alpha
#NOTPAR	TopTemp

%% Label file for system CarnotCycle (CarnotCycle_lbl.txt)
## Label file for system CarnotCycle (CarnotCycle_lbl.txt)

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.1  1998/07/21 15:18:18  peterg
% %% Initial revision
% %%
# ###############################################################
# ## Version control history
# ###############################################################
# ## $Id$
# ## $Log$
# ## Revision 1.2  1998/08/10 16:40:07  peterg
# ## Added VARs and parametrs
# ##
# ## Revision 1.1  1998/07/21 15:18:18  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
## 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 Cycle
# Component type Cycle
	cycle	none	ideal_gas;c_v;gamma_g;m_g

% Component type RT
	r		lin	flow,r
# Component type RT
	r		lin	flow,1

% Component type SS
	Heat	SS	external,internal
	Work	SS	internal,external
# Component type Se
	Heat	SS	external

# Component type Sf
	Work    SS	external
	switch  SS	external

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