Index: mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_input.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_input.txt +++ mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_input.txt @@ -4,13 +4,14 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.1 2000/12/28 18:11:47 peterg +## To RCS +## ############################################################### # Set the inputs -mttu(1) = 1e-4*(t>30); # Inflow -mttu(2) = 280; # In temperature -mttu(3) = 240*((t<60)&&(t>1)); # Input voltage - -# Set the switches +showerheater__in__hy_in = 1e-4*(t>30); # Inflow +showerheater__in__th_in = 280; # In temperature +showerheater__v_in__u = 240*((t<60)&&(t>1)); # Input voltage Index: mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_lbl.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_lbl.txt +++ mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_lbl.txt @@ -1,41 +1,46 @@ -%SUMMARY ShowerHeater -%DESCRIPTION -%% Label file for system ShowerHeater (ShowerHeater_lbl.txt) - -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% Version control history -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% $Id$ -% %% $Log$ -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -%ALIAS Pipe IncompressibleFlow/Pipe - -%% 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 Pipe +#SUMMARY ShowerHeater +#DESCRIPTION +## Label file for system ShowerHeater (ShowerHeater_lbl.txt) + +# ############################################################### +# ## Version control history +# ############################################################### +# ## $Id$ +# ## $Log$ +# ## Revision 1.1 2000/12/28 18:11:47 peterg +# ## To RCS +# ## +# ############################################################### + +#NOTPAR t_0 + +#ALIAS Pipe IncompressibleFlow/Pipe + +## 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 Pipe p1 lin rho;c_p;flow,0 p2 lin rho;c_p;flow,0 -% Component type TankC +# Component type TankC t1 TankC rho;c_p;v -% Component type In +# Component type In in -% Component type Out +# Component type Out out -% Component type RS +# Component type RS heater lin flow,r_h -% Component type Se +# Component type Se V_in SS external -% Component type De +# Component type De T_out SS external Index: mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_numpar.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_numpar.txt +++ mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_numpar.txt @@ -5,15 +5,17 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:11:47 peterg +# %% To RCS +# %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Parameters c_p = 4.184*1e3; # Specific heat p_0 = 0.0; # Ambient pressure -r = 1.0; # Pipe flow resistance (no idea what - # this should be) r_h = 10.0; # Heater resistance rho = 1e3; # Density v = 1e-3; # Volume (1 lit) +t_0 = 1.0; # Added by MTT on Wed Aug 06 19:05:01 BST 2003 Index: mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_rep.txt +++ mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.1 2000/12/28 18:11:47 peterg +% %% To RCS +% %% % %% Revision 1.1 1999/02/21 02:13:25 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -17,7 +20,7 @@ mtt ShowerHeater numpar txt mtt ShowerHeater input txt -mtt -c ShowerHeater odeso ps +mtt ShowerHeater odeso ps Index: mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_state.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_state.txt +++ mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/ShowerHeater_state.txt @@ -4,12 +4,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.1 2000/12/28 18:11:47 peterg +## To RCS +## ############################################################### # Set the states -mttx(1) = 280*rho*v*c_p; # Initial heat in tank - - - +## Removed by MTT on Wed Aug 6 19:07:29 BST 2003: mttx(1) +showerheater__t1__tank = 280*rho*v*c_p; # Initial heat in tank Index: mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/TankC_cr.r ================================================================== --- mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/TankC_cr.r +++ mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/ShowerHeater/TankC_cr.r @@ -5,11 +5,11 @@ %Pressure % -- not relevant here %Temperature -FOR ALL rho,c_p,volume,Energy -LET TankC(rho,c_p,volume,effort,1, +FOR ALL COMP,rho,c_p,volume,Energy +LET TankC(COMP,rho,c_p,volume,effort,1, Energy,state,1 ) = Energy/(volume*rho*c_p); END; Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_input.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_input.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_input.txt @@ -4,41 +4,39 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:15:21 peterg +# %% To RCS +# %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs if ((t>=0.0)&&(t<1.0)) #Compression - u(1) = 0.0; # Entropy flow + dieselcycle__heat = 0.0; # Entropy flow r = 1e10; # Big R to make a flow source - u(2) = 0.8*r; #- Volume rate-of-change + dieselcycle__work = 0.8*r; #- Volume rate-of-change TopPressure = (gamma_g-1)*(x(1)/x(2)) endif; if ((t>=1.0)&&(t<2.0)) #Heating - u(1) = 1000; # Entropy flow + dieselcycle__heat = 1000; # Entropy flow r = 1e4; # small r constant pressure - u(2) = TopPressure; # Pressure source + dieselcycle__work = TopPressure; # Pressure source Volume = x(4); endif; if ((t>=2.0)&&(t<3.0)) #Expansion - u(1) = 0.0; # Entropy flow + dieselcycle__heat = 0.0; # Entropy flow r = 1e10; # Big R to make a flow source - u(2) = -(1-Volume)*r; # Volume rate-of-change + dieselcycle__work = -(1-Volume)*r; # Volume rate-of-change endif; if (t>=3.0) #Cooling Pressure = (gamma_g-1)*x(1)/x(2); - u(1) = -1000*(Pressure>1e5); # Entropy flow + dieselcycle__heat = -1000*(Pressure>1e5); # Entropy flow r = 1e10; # Big R to make a flow source - u(2) = 0.0*r; # Volume rate-of-change + dieselcycle__work = 0.0*r; # Volume rate-of-change endif; - - - - - Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_lbl.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_lbl.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_lbl.txt @@ -1,45 +1,52 @@ -%SUMMARY DieselCycle:a simple closed thermodynamic cycle -%DESCRIPTION The Diese cycle is a simple closed thermodynamic cycle -%DESCRIPTION with four parts: -%DESCRIPTION o Isentropic compression -%DESCRIPTION o Heating at constant pressure -%DESCRIPTION o Isentropic expansion -%DESCRIPTION o Cooling at constant volume - -%VAR P_0 -%VAR T_0 -%VAR V_0 -%VAR S_0 -%VAR U_0 -%VAR TopPressure -%VAR Volume -%VAR Pressure - -%% Label file for system DieselCycle (DieselCycle_lbl.txt) - -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% Version control history -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% $Id$ -% %% $Log$ -% %% Revision 1.1 1998/07/21 15:25: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 Cycle +#SUMMARY DieselCycle:a simple closed thermodynamic cycle +#DESCRIPTION The Diesel cycle is a simple closed thermodynamic cycle +#DESCRIPTION with four parts: +#DESCRIPTION o Isentropic compression +#DESCRIPTION o Heating at constant pressure +#DESCRIPTION o Isentropic expansion +#DESCRIPTION o Cooling at constant volume + +#PAR P_0 +#PAR T_0 +#PAR V_0 +#PAR S_0 +#PAR U_0 + +### NB TopPressure should be computed within input.txt !!! +#PAR TopPressure +#PAR Volume +#PAR Pressure + +#NOTPAR ideal_gas + +## Label file for system DieselCycle (DieselCycle_lbl.txt) + +# ############################################################### +# ## Version control history +# ############################################################### +# ## $Id$ +# ## $Log$ +# ## Revision 1.2 2000/12/28 18:15:21 peterg +# ## To RCS +# ## +# ## Revision 1.1 1998/07/21 15:25: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 Cycle cycle none ideal_gas;c_v;gamma_g;m_g -% Component type R +# Component type R r lin flow,r -% Component type SS +# Component type SS Heat SS internal,external Work SS external,internal Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_numpar.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_numpar.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_numpar.txt @@ -4,10 +4,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:15:21 peterg +# %% To RCS +# %% # %% Revision 1.1 1998/03/04 11:45:49 peterg # %% Initial revision # %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -19,5 +22,14 @@ # Parameters c_v = 718.0; # Parameter c_v for CU gamma_g = 1.4; # Parameter gamma_g for CU m_g = P_0*V_0/(T_0*(gamma_g-1)*c_v);# Parameter m for CU +## Removed by MTT on Wed Aug 6 17:32:59 BST 2003: pressure = 1.0; # Added by MTT on Wed Aug 06 17:31:21 BST 2003 +r = 1.0; # Added by MTT on Wed Aug 06 17:31:21 BST 2003 +s_0 = 1.0; # Added by MTT on Wed Aug 06 17:31:21 BST 2003 +## Removed by MTT on Wed Aug 6 17:32:59 BST 2003: ## Removed by MTT on Wed Aug 6 17:32:59 BST 2003: toppressure = 1.0; # Added by MTT on Wed Aug 06 17:31:21 BST 2003 +u_0 = 1.0; # Added by MTT on Wed Aug 06 17:31:21 BST 2003 +## Removed by MTT on Wed Aug 6 17:32:59 BST 2003: volume = 1.0; # Added by MTT on Wed Aug 06 17:31:21 BST 2003 +pressure = 1.0; # Added by MTT on Wed Aug 06 17:36:47 BST 2003 +toppressure = 1.0; # Added by MTT on Wed Aug 06 17:36:47 BST 2003 +volume = 1.0; # Added by MTT on Wed Aug 06 17:36:47 BST 2003 Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_rep.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/DieselCycle/DieselCycle_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.2 1999/12/21 23:57:08 peterg +% %% Compiled version +% %% % %% Revision 1.1 1999/02/21 02:15:29 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -16,15 +19,15 @@ mtt -o -ss DieselCycle ss tex mtt -o -ss DieselCycle numpar txt mtt -o -ss DieselCycle input txt -mtt -o -ss -c DieselCycle odeso ps 'DieselCycle_cycle_V' -mtt -o -ss -c DieselCycle odeso ps 'DieselCycle_cycle_P' -mtt -o -ss -c DieselCycle odeso ps 'DieselCycle_cycle_S' -mtt -o -ss -c DieselCycle odeso ps 'DieselCycle_cycle_T' -mtt -o -ss -c DieselCycle odeso ps 'DieselCycle_cycle_V:DieselCycle_cycle_P' -mtt -o -ss -c DieselCycle odeso ps 'DieselCycle_cycle_S:DieselCycle_cycle_T' +mtt -o -ss DieselCycle odeso ps 'DieselCycle__cycle__V' +mtt -o -ss DieselCycle odeso ps 'DieselCycle__cycle__P' +mtt -o -ss DieselCycle odeso ps 'DieselCycle__cycle__S' +mtt -o -ss DieselCycle odeso ps 'DieselCycle__cycle__T' +mtt -o -ss DieselCycle odeso ps 'DieselCycle__cycle__V:DieselCycle__cycle__P' +mtt -o -ss DieselCycle odeso ps 'DieselCycle__cycle__S:DieselCycle__cycle__T' Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_input.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_input.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_input.txt @@ -4,10 +4,14 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.3 2000/12/28 18:42:16 peterg +# %% New input definition. +# %% NB Needs to handle mutiports properly and state.txt modified accordingly +# %% # %% Revision 1.2 2000/12/28 18:15:52 peterg # %% To RCS # %% # %% Revision 1.1 1998/08/10 14:42:13 peterg # %% Initial revision @@ -15,27 +19,27 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs if ((t>=0.0)&&(t<1.0)) #Compression - OttoCycle_Heat = 0.0; # Entropy flow - OttoCycle_Work = -0.8; # Volume rate-of-change + OttoCycle__Heat = 0.0; # Entropy flow + OttoCycle__Work = -0.8; # Volume rate-of-change endif; if ((t>=1.0)&&(t<2.0)) #Heating - OttoCycle_Heat = 1000; # Entropy flow - OttoCycle_Work = 0.0; # Volume rate-of-change + OttoCycle__Heat = 1000; # Entropy flow + OttoCycle__Work = 0.0; # Volume rate-of-change endif; if ((t>=2.0)&&(t<3.0)) #Expansion - OttoCycle_Heat = 0.0; # Entropy flow - OttoCycle_Work = 0.8; # Volume rate-of-change + OttoCycle__Heat = 0.0; # Entropy flow + OttoCycle__Work = 0.8; # Volume rate-of-change endif; if (t>=3.0) #Cooling - OttoCycle_Heat = -1000; # Entropy flow - OttoCycle_Work = 0.0; # Volume rate-of-change + OttoCycle__Heat = -1000; # Entropy flow + OttoCycle__Work = 0.0; # Volume rate-of-change endif; Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_lbl.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_lbl.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_lbl.txt @@ -1,45 +1,49 @@ -%SUMMARY OttoCycle: a simple closed thermodynamic cycle -%DESCRIPTION The Otto cycle is a simple closed thermodynamic cycle -%DESCRIPTION with four parts: -%DESCRIPTION o Isentropic compression -%DESCRIPTION o Heating at constant volume -%DESCRIPTION o Isentropic expansion -%DESCRIPTION o Cooling at constant volume - -%PAR P_0 -%PAR T_0 -%PAR V_0 -%NOTPAR ideal_gas - - -%% Label file for system OttoCycle (OttoCycle_lbl.txt) - -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% Version control history -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% $Id$ -% %% $Log$ -% %% Revision 1.3 1998/08/10 16:05:52 peterg -% %% Added VARs and parameters -% %% -% %% Revision 1.2 1998/07/21 15:15:27 peterg -% %% Documentation + new format -% %% -% %% Revision 1.1 1998/07/21 15:12:21 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 Cycle +#SUMMARY OttoCycle: a simple closed thermodynamic cycle +#DESCRIPTION The Otto cycle is a simple closed thermodynamic cycle +#DESCRIPTION with four parts: +#DESCRIPTION o Isentropic compression +#DESCRIPTION o Heating at constant volume +#DESCRIPTION o Isentropic expansion +#DESCRIPTION o Cooling at constant volume + +#PAR P_0 +#PAR T_0 +#PAR V_0 +#NOTPAR ideal_gas + + +## Label file for system OttoCycle (OttoCycle_lbl.txt) + +# ############################################################### +# ## Version control history +# ############################################################### +# ## $Id$ +# ## $Log$ +# ## Revision 1.4 2000/12/28 18:42:17 peterg +# ## New input definition. +# ## NB Needs to handle mutiports properly and state.txt modified accordingly +# ## +# ## Revision 1.3 1998/08/10 16:05:52 peterg +# ## Added VARs and parameters +# ## +# ## Revision 1.2 1998/07/21 15:15:27 peterg +# ## Documentation + new format +# ## +# ## Revision 1.1 1998/07/21 15:12:21 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 Cycle cycle none ideal_gas;c_v;gamma_g;m_g -% Component type SS +# Component type SS Heat SS internal,external Work SS internal,external Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_rep.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.2 2000/12/28 18:15:52 peterg +% %% To RCS +% %% % %% Revision 1.1 1999/02/21 02:16:17 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -16,15 +19,15 @@ mtt -o -ss OttoCycle ss tex mtt -o -ss OttoCycle numpar txt mtt -o -ss OttoCycle input txt -mtt -o -ss -c OttoCycle odeso ps 'OttoCycle_cycle_V' -mtt -o -ss -c OttoCycle odeso ps 'OttoCycle_cycle_P' -mtt -o -ss -c OttoCycle odeso ps 'OttoCycle_cycle_S' -mtt -o -ss -c OttoCycle odeso ps 'OttoCycle_cycle_T' -mtt -o -ss -c OttoCycle odeso ps 'OttoCycle_cycle_V:OttoCycle_cycle_P' -mtt -o -ss -c OttoCycle odeso ps 'OttoCycle_cycle_S:OttoCycle_cycle_T' +mtt -o -ss OttoCycle odeso ps 'OttoCycle__cycle__V' +mtt -o -ss OttoCycle odeso ps 'OttoCycle__cycle__P' +mtt -o -ss OttoCycle odeso ps 'OttoCycle__cycle__S' +mtt -o -ss OttoCycle odeso ps 'OttoCycle__cycle__T' +mtt -o -ss OttoCycle odeso ps 'OttoCycle__cycle__V:OttoCycle__cycle__P' +mtt -o -ss OttoCycle odeso ps 'OttoCycle__cycle__S:OttoCycle__cycle__T' Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isentropic/Isentropic_input.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isentropic/Isentropic_input.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isentropic/Isentropic_input.txt @@ -4,12 +4,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:16:47 peterg +# %% To RCS +# %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs - u(1) = -0.8; # Volume rate-of-change - - - +## Removed by MTT on Wed Aug 6 10:14:17 BST 2003: u(1) = -0.8; # Volume rate-of-change +isentropic__work = -0.8; # Volume rate-of-change Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isentropic/Isentropic_lbl.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isentropic/Isentropic_lbl.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isentropic/Isentropic_lbl.txt @@ -1,34 +1,40 @@ -%SUMMARY Isentropic: Isentropic thermodynamic process - ideal gas -%DESCRIPTION A dynamic simulation of an isentropic process using -%DESCRIPTION the Cycle component and the two-prt CU component. - -%VAR P_0 -%VAR T_0 -%VAR V_0 - - -%% Label file for system Isentropic (Isentropic_lbl.txt) - -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% Version control history -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% $Id$ -% %% $Log$ -% %% Revision 1.1 1998/07/21 14:27:44 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 Cycle +#SUMMARY Isentropic: Isentropic thermodynamic process - ideal gas +#DESCRIPTION A dynamic simulation of an isentropic process using +#DESCRIPTION the Cycle component and the two-prt CU component. + +#PAR P_0 +#PAR T_0 +#PAR V_0 + +#NOTPAR ideal_gas + + + +## Label file for system Isentropic (Isentropic_lbl.txt) + +# ############################################################### +# ## Version control history +# ############################################################### +# ## $Id$ +# ## $Log$ +# ## Revision 1.2 2000/12/28 18:16:47 peterg +# ## To RCS +# ## +# ## Revision 1.1 1998/07/21 14:27:44 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 Cycle cycle none ideal_gas;c_v;gamma_g;m_g -% Component type SS +# Component type SS Heat SS internal,0 Work SS internal,external Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isentropic/Isentropic_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isentropic/Isentropic_rep.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isentropic/Isentropic_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.2 2000/12/28 18:16:47 peterg +% %% To RCS +% %% % %% Revision 1.1 1999/02/21 02:18:41 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -16,11 +19,11 @@ mtt -o -ss Isentropic ss tex mtt -o -ss Isentropic numpar txt mtt -o -ss Isentropic input txt -mtt -o -ss -c Isentropic odeso ps 'Isentropic_cycle_V' -mtt -o -ss -c Isentropic odeso ps 'Isentropic_cycle_P' -mtt -o -ss -c Isentropic odeso ps 'Isentropic_cycle_S' -mtt -o -ss -c Isentropic odeso ps 'Isentropic_cycle_T' -mtt -o -ss -c Isentropic odeso ps 'Isentropic_cycle_V:Isentropic_cycle_P' -mtt -o -ss -c Isentropic odeso ps 'Isentropic_cycle_S:Isentropic_cycle_T' +mtt -o -ss Isentropic odeso ps 'Isentropic__cycle__V' +mtt -o -ss Isentropic odeso ps 'Isentropic__cycle__P' +mtt -o -ss Isentropic odeso ps 'Isentropic__cycle__S' +mtt -o -ss Isentropic odeso ps 'Isentropic__cycle__T' +mtt -o -ss Isentropic odeso ps 'Isentropic__cycle__V:Isentropic__cycle__P' +mtt -o -ss Isentropic odeso ps 'Isentropic__cycle__S:Isentropic__cycle__T' Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Cycle_abg.fig ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Cycle_abg.fig +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Cycle_abg.fig @@ -1,9 +1,13 @@ -#FIG 3.1 +#FIG 3.2 Portrait Center Metric +A4 +100.00 +Single +-2 1200 2 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 3 5400 1800 6750 1800 6525 2025 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 3 5175 2025 5175 3375 5400 3150 @@ -56,26 +60,30 @@ 4950 5175 5400 5175 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 5400 1575 5400 2025 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 7875 1575 7875 2025 -4 1 -1 0 0 0 20 0.0000 4 255 855 7290 1890 CU:gas\001 -4 1 -1 0 0 0 20 0.0000 4 195 135 5175 1890 1\001 -4 1 -1 0 0 0 20 0.0000 4 255 1590 5175 3690 INTF:entropy\001 -4 1 -1 0 0 0 20 0.0000 4 195 135 10125 1890 1\001 -4 1 1 1 0 3 20 0.0000 4 270 1035 7200 1440 Ideal gas\001 -4 1 1 1 0 3 20 0.0000 4 210 885 4635 1305 Heat in\001 -4 1 1 1 0 3 20 0.0000 4 210 1080 10170 1305 Work out\001 -4 1 1 1 0 3 20 0.0000 4 270 1800 5130 5895 Entropy change\001 -4 1 1 1 0 3 20 0.0000 4 270 1365 7110 3690 Ideal piston\001 -4 1 -1 0 0 0 20 0.0000 4 195 1560 10125 3690 INTF:volume\001 -4 1 -1 0 0 0 20 0.0000 4 195 135 3375 1890 0\001 -4 2 4 0 0 0 20 0.0000 4 240 1140 1575 1890 SS:[Heat]\001 -4 1 -1 0 0 0 20 0.0000 4 195 585 3375 5490 SS:T\001 -4 1 1 1 0 3 20 0.0000 4 255 1485 3240 5895 Temperature\001 -4 1 -1 0 0 0 20 0.0000 4 195 570 5130 5490 SS:S\001 -4 1 -1 0 0 0 20 0.0000 4 195 615 10125 5490 SS:V\001 -4 1 -1 0 0 0 20 0.0000 4 195 570 11880 5490 SS:P\001 -4 0 4 0 0 0 20 0.0000 4 240 1230 13680 1890 SS:[Work]\001 -4 1 1 1 0 3 20 0.0000 4 270 1815 10080 5850 Volume change\001 -4 1 1 1 0 3 20 0.0000 4 195 975 11925 5850 Pressure\001 -4 1 -1 0 0 0 20 0.0000 4 195 135 11925 1890 0\001 +2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 + 1755 1575 1755 2025 +2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 + 12150 1575 12150 2025 +4 1 -1 0 0 0 20 0.0000 4 255 915 7290 1890 CU:gas\001 +4 1 -1 0 0 0 20 0.0000 4 195 150 5175 1890 1\001 +4 1 -1 0 0 0 20 0.0000 4 270 1695 5175 3690 INTF:entropy\001 +4 1 -1 0 0 0 20 0.0000 4 195 150 10125 1890 1\001 +4 1 1 1 0 3 20 0.0000 4 270 1140 7200 1440 Ideal gas\001 +4 1 1 1 0 3 20 0.0000 4 195 945 4635 1305 Heat in\001 +4 1 1 1 0 3 20 0.0000 4 210 1170 10170 1305 Work out\001 +4 1 1 1 0 3 20 0.0000 4 270 1980 5130 5895 Entropy change\001 +4 1 1 1 0 3 20 0.0000 4 270 1485 7110 3690 Ideal piston\001 +4 1 -1 0 0 0 20 0.0000 4 210 1680 10125 3690 INTF:volume\001 +4 1 -1 0 0 0 20 0.0000 4 195 150 3375 1890 0\001 +4 2 4 0 0 0 20 0.0000 4 255 1215 1575 1890 SS:[Heat]\001 +4 1 -1 0 0 0 20 0.0000 4 210 600 3375 5490 SS:T\001 +4 1 1 1 0 3 20 0.0000 4 255 1620 3240 5895 Temperature\001 +4 1 -1 0 0 0 20 0.0000 4 210 585 5130 5490 SS:S\001 +4 1 -1 0 0 0 20 0.0000 4 210 645 10125 5490 SS:V\001 +4 1 -1 0 0 0 20 0.0000 4 210 585 11880 5490 SS:P\001 +4 0 4 0 0 0 20 0.0000 4 255 1320 13680 1890 SS:[Work]\001 +4 1 1 1 0 3 20 0.0000 4 270 1950 10080 5850 Volume change\001 +4 1 1 1 0 3 20 0.0000 4 195 1095 11925 5850 Pressure\001 +4 1 -1 0 0 0 20 0.0000 4 195 150 11925 1890 0\001 Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_input.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_input.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_input.txt @@ -4,12 +4,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:17:13 peterg +# %% To RCS +# %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs - u(1) = 1000; #Entropy flow - - - +## Removed by MTT on Wed Aug 6 11:41:46 BST 2003: u(1) = 1000; #Entropy flow +isobaric__heat = 1000; #Entropy flow Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_lbl.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_lbl.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_lbl.txt @@ -1,33 +1,38 @@ -%SUMMARY Isobaric: Isobaric thermodynamic process - ideal gas -%DESCRIPTION A dynamic simulation of an isobaric (constant pressure) -%DESCRIPTION process using the Cycle component and the two-port CU component. - -%VAR P_0 -%VAR T_0 -%VAR V_0 - -%% Label file for system Isobaric (Isobaric_lbl.txt) - -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% Version control history -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% $Id$ -% %% $Log$ -% %% Revision 1.1 1998/07/21 14:32:49 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 Cycle +#SUMMARY Isobaric: Isobaric thermodynamic process - ideal gas +#DESCRIPTION A dynamic simulation of an isobaric (constant pressure) +#DESCRIPTION process using the Cycle component and the two-port CU component. + +#PAR P_0 +#PAR T_0 +#PAR V_0 + +#NOTPAR ideal_gas + +## Label file for system Isobaric (Isobaric_lbl.txt) + +# ############################################################### +# ## Version control history +# ############################################################### +# ## $Id$ +# ## $Log$ +# ## Revision 1.2 2000/12/28 18:17:13 peterg +# ## To RCS +# ## +# ## Revision 1.1 1998/07/21 14:32:49 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 Cycle cycle none ideal_gas;c_v;gamma_g;m_g -% Component type SS +# Component type SS Heat SS internal,external Work SS P_0,internal Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_rep.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.2 2000/12/28 18:17:13 peterg +% %% To RCS +% %% % %% Revision 1.1 1999/02/21 02:19:31 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -16,15 +19,15 @@ mtt -ss Isobaric ss tex mtt -ss Isobaric numpar txt mtt -ss Isobaric input txt -mtt -ss -c Isobaric odeso ps 'Isobaric_cycle_V' -mtt -ss -c Isobaric odeso ps 'Isobaric_cycle_P' -mtt -ss -c Isobaric odeso ps 'Isobaric_cycle_S' -mtt -ss -c Isobaric odeso ps 'Isobaric_cycle_T' -mtt -ss -c Isobaric odeso ps 'Isobaric_cycle_V:Isobaric_cycle_P' -mtt -ss -c Isobaric odeso ps 'Isobaric_cycle_S:Isobaric_cycle_T' +mtt -ss Isobaric odeso ps 'Isobaric__cycle__V' +mtt -ss Isobaric odeso ps 'Isobaric__cycle__P' +mtt -ss Isobaric odeso ps 'Isobaric__cycle__S' +mtt -ss Isobaric odeso ps 'Isobaric__cycle__T' +mtt -ss Isobaric odeso ps 'Isobaric__cycle__V:Isobaric__cycle__P' +mtt -ss Isobaric odeso ps 'Isobaric__cycle__S:Isobaric__cycle__T' Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isothermal/Isothermal_input.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isothermal/Isothermal_input.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isothermal/Isothermal_input.txt @@ -4,12 +4,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:17:37 peterg +# %% To RCS +# %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs - u(1) = -0.8; # Volume rate-of-change - - - +## Removed by MTT on Wed Aug 6 10:47:34 BST 2003: u(1) = -0.8; # Volume rate-of-change +isothermal__work = -0.8; # Volume rate-of-change Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isothermal/Isothermal_lbl.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isothermal/Isothermal_lbl.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isothermal/Isothermal_lbl.txt @@ -1,33 +1,38 @@ -%SUMMARY Isothermal: Isothermal thermodynamic process - ideal gas -%DESCRIPTION A dynamic simulation of an isothermal process using -%DESCRIPTION the Cycle component and the two-port CU component. - -%VAR P_0 -%VAR T_0 -%VAR V_0 - -%% Label file for system Isothermal (Isothermal_lbl.txt) - -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% Version control history -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% $Id$ -% %% $Log$ -% %% Revision 1.1 1998/07/21 14:30:29 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 Cycle +#SUMMARY Isothermal: Isothermal thermodynamic process - ideal gas +#DESCRIPTION A dynamic simulation of an isothermal process using +#DESCRIPTION the Cycle component and the two-port CU component. + +#PAR P_0 +#PAR T_0 +#PAR V_0 + +#NOTPAR ideal_gas + +## Label file for system Isothermal (Isothermal_lbl.txt) + +# ############################################################### +# ## Version control history +# ############################################################### +# ## $Id$ +# ## $Log$ +# ## Revision 1.2 2000/12/28 18:17:37 peterg +# ## To RCS +# ## +# ## Revision 1.1 1998/07/21 14:30:29 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 Cycle cycle none ideal_gas;c_v;gamma_g;m_g -% Component type SS - Heat SS t_0,internal +# Component type SS + Heat SS T_0,internal Work SS internal,external Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isothermal/Isothermal_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isothermal/Isothermal_rep.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isothermal/Isothermal_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.2 2000/12/28 18:17:37 peterg +% %% To RCS +% %% % %% Revision 1.1 1999/02/21 02:20:18 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -16,15 +19,15 @@ mtt -ss Isothermal ss tex mtt -ss Isothermal numpar txt mtt -ss Isothermal input txt -mtt -ss -c Isothermal odeso ps 'Isothermal_cycle_V' -mtt -ss -c Isothermal odeso ps 'Isothermal_cycle_P' -mtt -ss -c Isothermal odeso ps 'Isothermal_cycle_S' -mtt -ss -c Isothermal odeso ps 'Isothermal_cycle_T' -mtt -ss -c Isothermal odeso ps 'Isothermal_cycle_V:Isothermal_cycle_P' -mtt -ss -c Isothermal odeso ps 'Isothermal_cycle_S:Isothermal_cycle_T' +mtt -ss Isothermal odeso ps 'Isothermal__cycle__V' +mtt -ss Isothermal odeso ps 'Isothermal__cycle__P' +mtt -ss Isothermal odeso ps 'Isothermal__cycle__S' +mtt -ss Isothermal odeso ps 'Isothermal__cycle__T' +mtt -ss Isothermal odeso ps 'Isothermal__cycle__V:Isothermal__cycle__P' +mtt -ss Isothermal odeso ps 'Isothermal__cycle__S:Isothermal__cycle__T' Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isovolumetric/Isovolumetric_input.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isovolumetric/Isovolumetric_input.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isovolumetric/Isovolumetric_input.txt @@ -4,12 +4,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:17:57 peterg +# %% To RCS +# %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs - u(1) = 1000; #Entropy flow - - - +## Removed by MTT on Wed Aug 6 11:04:07 BST 2003: u(1) = 1000; #Entropy flow +isovolumetric__heat = 1000; #Entropy flow Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isovolumetric/Isovolumetric_lbl.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isovolumetric/Isovolumetric_lbl.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isovolumetric/Isovolumetric_lbl.txt @@ -1,35 +1,40 @@ -%SUMMARY Isovolumetric: Isovolumetric thermodynamic process - ideal gas -%DESCRIPTION A dynamic simulation of an Isovolumetric (constant volume) -%DESCRIPTION process using the Cycle component and the two-port CU component. -%DESCRIPTION -%DESCRIPTION the Cycle component and the two-port CU component. - -%VAR P_0 -%VAR T_0 -%VAR V_0 - -%% Label file for system Isovolumetric (Isovolumetric_lbl.txt) - -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% Version control history -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% $Id$ -% %% $Log$ -% %% Revision 1.1 1998/07/21 14:37:03 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 Cycle +#SUMMARY Isovolumetric: Isovolumetric thermodynamic process - ideal gas +#DESCRIPTION A dynamic simulation of an Isovolumetric (constant volume) +#DESCRIPTION process using the Cycle component and the two-port CU component. +#DESCRIPTION +#DESCRIPTION the Cycle component and the two-port CU component. + +#PAR P_0 +#PAR T_0 +#PAR V_0 + +#NOTPAR ideal_gas + +## Label file for system Isovolumetric (Isovolumetric_lbl.txt) + +# ############################################################### +# ## Version control history +# ############################################################### +# ## $Id$ +# ## $Log$ +# ## Revision 1.2 2000/12/28 18:17:57 peterg +# ## To RCS +# ## +# ## Revision 1.1 1998/07/21 14:37:03 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 Cycle cycle none ideal_gas;c_v;gamma_g;m_g -% Component type SS +# Component type SS Heat SS internal,external Work SS internal,0 Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isovolumetric/Isovolumetric_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isovolumetric/Isovolumetric_rep.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isovolumetric/Isovolumetric_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.2 2000/12/28 18:17:57 peterg +% %% To RCS +% %% % %% Revision 1.1 1999/02/21 02:21:03 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -16,15 +19,15 @@ mtt -o -ss Isovolumetric ss tex mtt -o -ss Isovolumetric numpar txt mtt -o -ss Isovolumetric input txt -mtt -o -ss -c Isovolumetric odeso ps 'Isovolumetric_cycle_V' -mtt -o -ss -c Isovolumetric odeso ps 'Isovolumetric_cycle_P' -mtt -o -ss -c Isovolumetric odeso ps 'Isovolumetric_cycle_S' -mtt -o -ss -c Isovolumetric odeso ps 'Isovolumetric_cycle_T' -mtt -o -ss -c Isovolumetric odeso ps 'Isovolumetric_cycle_V:Isovolumetric_cycle_P' -mtt -o -ss -c Isovolumetric odeso ps 'Isovolumetric_cycle_S:Isovolumetric_cycle_T' +mtt -o -ss Isovolumetric odeso ps 'Isovolumetric__cycle__V' +mtt -o -ss Isovolumetric odeso ps 'Isovolumetric__cycle__P' +mtt -o -ss Isovolumetric odeso ps 'Isovolumetric__cycle__S' +mtt -o -ss Isovolumetric odeso ps 'Isovolumetric__cycle__T' +mtt -o -ss Isovolumetric odeso ps 'Isovolumetric__cycle__V:Isovolumetric__cycle__P' +mtt -o -ss Isovolumetric odeso ps 'Isovolumetric__cycle__S:Isovolumetric__cycle__T'