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
|
% Steady-state parameter file (DieselCycle_sspar.r)
% Generated by MTT at Wed Mar 4 11:02:40 GMT 1998
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % $Id$
% % $Log$
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Set a pressure of 1 bar
P_0 := 10^5;
% Unit initial volume
V_0 := 1;
% Internal energy
U_0 := P_0*V_0/(gamma_g-1);
% Set initial temperature of 300k
T_0 := 300;
% Deduce the mass of gas
m := U_0/(T_0*c_v);
% Entropy
S_0 := U_0/T_0;
% Steady-state states
MTTX1 := U_0; % DieselCycle_cycle_gas (c)
MTTX2 := V_0; % DieselCycle_cycle_gas (c)
|
>
>
>
|
|
|
|
|
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
|
% Steady-state parameter file (DieselCycle_sspar.r)
% Generated by MTT at Wed Mar 4 11:02:40 GMT 1998
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % $Id$
% % $Log$
% % Revision 1.1 2000/12/28 18:15:21 peterg
% % To RCS
% %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Set a pressure of 1 bar
%P_0 := 10^5;
% Unit initial volume
%V_0 := 1;
% Internal energy
U_0 := P_0*V_0/(gamma_g-1);
% Set initial temperature of 300k
%T_0 := 300;
% Deduce the mass of gas
m_g := U_0/(T_0*c_v);
% Entropy
S_0 := U_0/T_0;
% Steady-state states
MTTX1 := U_0; % DieselCycle_cycle_gas (c)
MTTX2 := V_0; % DieselCycle_cycle_gas (c)
|