ADDED mttroot/mtt/lib/comp/compound/Chemical/Rate/Rate_cr.r Index: mttroot/mtt/lib/comp/compound/Chemical/Rate/Rate_cr.r ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Chemical/Rate/Rate_cr.r @@ -0,0 +1,21 @@ +%% CR file for rate-of reaction component RATE + +OPERATOR Rate; + +% Reaction rate +FOR ALL k,q,h,n,Conc,Temp LET + Rate(k,q,h,n,flow,1, + Conc,effort,1, + Temp,effort,2 + ) + = k*Conc^n*e^(-q/Temp); + +% Heat +FOR ALL k,q,h,n,Conc,Temp LET + Rate(k,q,h,n,flow,2, + Conc,effort,1, + Temp,effort,2 + ) + = k*Conc^n*h*e^(-q/Temp); + +END; ADDED mttroot/mtt/lib/comp/compound/Chemical/Rate/Rate_desc.tex Index: mttroot/mtt/lib/comp/compound/Chemical/Rate/Rate_desc.tex ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Chemical/Rate/Rate_desc.tex @@ -0,0 +1,32 @@ +% -*-latex-*- Put EMACS into LaTeX-mode +% Verbal description for system Rate (Rate_desc.tex) +% Generated by MTT on Tue Mar 14 17:54:06 GMT 2000. + +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% Version control history +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% $Id$ +% %% $Log$ +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + The acausal bond graph of system \textbf{Rate} is + displayed in Figure \Ref{fig:Rate_abg.ps} and its label + file is listed in Section \Ref{sec:Rate_lbl}. + The subsystems are listed in Section \Ref{sec:Rate_sub}. + + +This component represents rate of reaction equations corresponding to +the chemical reaction: +\begin{equation} + \text{nA} \rightarrow \text{B} +\end{equation} +The relevant equations are +\begin{equation} + \begin{align} + \frac{dc_a}{dt} &= k_a c_a^n e^{-\frac{q_a}{T}} \tag{Rate of reaction}\\ + Q &= h_a k_a c_a^n e^{-\frac{q_a}{T}} \tag{Heat of reaction} + \end{align} +\end{equation} +where $\frac{dc_a}{dt}$ is the rate of change of concentration of +species A and $Q$ is the corresponding heat generated. + ADDED mttroot/mtt/lib/comp/compound/Chemical/Rate/Rate_lbl.txt Index: mttroot/mtt/lib/comp/compound/Chemical/Rate/Rate_lbl.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Chemical/Rate/Rate_lbl.txt @@ -0,0 +1,30 @@ +%% Label file for system Rate (Rate_lbl.txt) +%SUMMARY Rate +%DESCRIPTION + +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% Version control history +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% $Id$ +% %% $Log$ +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +% Port aliases +%ALIAS in conc +%ALIAS out thermal + +% Argument aliases +%ALIAS $1 k,q,h,n + +%% Each line should be of one of the following forms: +% a comment (ie starting with %) +% component-name cr_name arg1,arg2,..argn +% blank + +% ---- Component labels ---- + r Rate k,q,h,n + +% Component type SS + [conc] SS external,external + [thermal] SS external,external