ADDED mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_abg.fig Index: mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_abg.fig ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_abg.fig @@ -0,0 +1,42 @@ +#FIG 3.2 +Portrait +Center +Metric +A4 +100.00 +Single +-2 +1200 2 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 2700 675 4050 675 3825 900 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 2700 1350 4050 1350 3825 1575 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 4050 1125 4050 1575 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 4050 450 4050 900 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 6075 675 4725 675 4950 900 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 6075 1350 4725 1350 4950 1575 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 8100 675 6750 675 6975 900 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 8100 1350 6750 1350 6975 1575 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 8100 450 8100 900 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 8100 1125 8100 1575 +2 4 0 2 31 7 101 0 -1 0.000 0 0 7 0 0 5 + 9900 1800 1350 1800 1350 225 9900 225 9900 1800 +4 1 4 100 0 18 18 0.0000 4 270 870 2115 765 SS:[In]\001 +4 1 4 100 0 18 18 0.0000 4 270 1020 2115 1395 SS:[sIn]\001 +4 1 0 100 0 18 24 0.0000 4 285 510 4410 1125 R:r\001 +4 1 4 100 0 18 14 0.0000 4 210 270 4860 540 [3]\001 +4 1 4 100 0 18 14 0.0000 4 210 270 4860 1215 [4]\001 +4 1 4 100 0 18 14 0.0000 4 210 270 3870 1215 [2]\001 +4 1 4 100 0 18 14 0.0000 4 210 270 3870 540 [1]\001 +4 1 0 100 0 18 18 0.0000 4 210 375 6390 765 AF\001 +4 1 0 100 0 18 18 0.0000 4 210 375 6390 1440 AF\001 +4 1 4 100 0 18 18 0.0000 4 270 1230 8820 765 SS:[Mod]\001 +4 1 4 100 0 18 18 0.0000 4 270 1380 8865 1440 SS:[sMod]\001 ADDED mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_cr.r Index: mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_cr.r ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_cr.r @@ -0,0 +1,68 @@ +%% CR file for sFMR +%% Just for flow input definition of r, ie must use with flow,r;k_s +in "$MTT_CRS/r/slin.cr"; + +OPERATOR sFMR; + +% Ordinary FMR port +FOR ALL gain_cause,r,k_s,out_cause,in,sin,in_cause,modu,smodu +LET sFMR(gain_cause,r,k_s,out_cause,1, + in,in_cause,1, + sin,in_cause,2, + modu,flow,3, + smodu,flow,4 + ) + = slin(gain_cause,r*modu,k_s,out_cause,1, + in,in_cause,1, + sin,in_cause,2); + +% Sensitivity FMR port - effort input +FOR ALL r,k_s,out_cause,inp,sinp,inp_cause,modu,smodu +LET sFMR(flow,r,k_s,out_cause,2, + inp,effort,1, + sinp,effort,2, + modu,flow,3, + smodu,flow,4 + ) + = ( + slin(flow,r,k_s,out_cause,2, + inp/modu,effort,1, + sinp/modu,effort,2) + - smodu*(1/(r*(modu^2))) + ); + +% Sensitivity FMR port - flow input +FOR ALL r,k_s,out_cause,inp,sinp,inp_cause,modu,smodu +LET sFMR(flow,r,k_s,out_cause,2, + inp,flow,1, + sinp,flow,2, + modu,flow,3, + smodu,flow,4 + ) + = ( + slin(flow,r,k_s,out_cause,2, + inp*modu,flow,1, + sinp*modu,flow,2) + + r*inp*smodu + ); + +% Modulation port +FOR ALL gain_cause,r,k_s,out_cause,inp,sinp,inp_cause,modu,smodu +LET sFMR(gain_cause,r,k_s,out_cause,3, + inp,inp_cause,1, + sinp,inp_cause,2, + modu,flow,3, + smodu,flow,4 + ) + = 0; + +% Sensitivity modulation port +FOR ALL gain_cause,r,k_s,out_cause,inp,sinp,inp_cause,modu,smodu +LET sFMR(gain_cause,r,k_s,out_cause,4, + inp,inp_cause,1, + sinp,inp_cause,2, + modu,flow,3, + smodu,flow,4 + ) + = 0; +END; ADDED mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_desc.tex Index: mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_desc.tex ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_desc.tex @@ -0,0 +1,34 @@ +% -*-latex-*- Put EMACS into LaTeX-mode +% Verbal description for system sFMR (sFMR_desc.tex) +% Generated by MTT on Thu Jul 5 23:47:35 BST 2001. + +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% Version control history +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% $Id$ +% %% $Log$ +% %% Revision 1.1 2000/12/28 09:13:38 peterg +% %% Initial revision +% %% +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + The acausal bond graph of system \textbf{sFMR} is + displayed in Figure \Ref{fig:sFMR_abg.ps} and its label + file is listed in Section \Ref{sec:sFMR_lbl}. + The subsystems are listed in Section \Ref{sec:sFMR_sub}. + + +This is the sensitivity version of the \textbf{FMR} (flow-modulated +resistor) component. + +In the linear case, the CR of the standard port is: +\begin{equation} + e = mrf +\end{equation} +where $e$ is the effort, $m$ the (flow) modulation, $r$ the +``resistance'' and $f$ the flow. + +The corresponding sensitivity CR is: +\begin{equation} + e^\prime = m^\prime rf + mr^\prime f + mrf^\prime +\end{equation} ADDED mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_lbl.txt Index: mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_lbl.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_lbl.txt @@ -0,0 +1,38 @@ +#SUMMARY sFMR Sensitivity version of FMR (Flow-modulated R) + +## System sFMR, representation lbl, language txt +## File sFMR_lbl.txt +## Generated by MTT on Thu Jul 5 04:45:59 BST 2001 + + ############################################################### + ## Version control history + ############################################################### + ## $Id$ + ## $Log$ + ############################################################### + +## Port aliases +#ALIAS in In,sIn +#ALIAS out Mod,sMod + + +## Argument aliases +#ALIAS $1 flow,r +#ALIAS $2 k_s + +## 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 ---- + +## Component type R + r sFMR flow,r,k_s + +## Component type SS + [In] SS external,external + [sIn] SS external,external + [Mod] SS external,external + [sMod] SS external,external + ADDED mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_abg.fig Index: mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_abg.fig ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_abg.fig @@ -0,0 +1,42 @@ +#FIG 3.2 +Portrait +Center +Metric +A4 +100.00 +Single +-2 +1200 2 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 2700 675 4050 675 3825 900 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 2700 1350 4050 1350 3825 1575 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 4725 675 6075 675 5850 900 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 4725 1350 6075 1350 5850 1575 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 2700 1125 2700 1575 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 2700 450 2700 900 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 4725 450 4725 900 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 4725 1125 4725 1575 +2 4 0 2 31 7 101 0 -1 0.000 0 0 7 0 0 5 + 7875 1800 1350 1800 1350 225 7875 225 7875 1800 +4 1 4 100 0 18 18 0.0000 4 270 810 2115 765 SS:[F]\001 +4 1 4 100 0 18 18 0.0000 4 270 960 2115 1395 SS:[sF]\001 +4 1 4 100 0 18 18 0.0000 4 270 960 6885 1440 SS:[sP]\001 +4 1 0 100 0 18 24 0.0000 4 285 510 4410 1125 R:r\001 +4 1 4 100 0 18 18 0.0000 4 270 810 6840 765 SS:[P]\001 +4 1 4 100 0 18 14 0.0000 4 210 270 4860 540 [2]\001 +4 1 4 100 0 18 14 0.0000 4 210 270 4860 1215 [4]\001 +4 1 4 100 0 18 14 0.0000 4 210 270 3870 1215 [3]\001 +4 1 4 100 0 18 14 0.0000 4 210 270 3870 540 [1]\001 +4 1 1 101 0 3 20 0.0000 4 195 165 3195 945 S\001 +4 1 1 101 0 3 20 0.0000 4 240 210 5535 945 Q\001 +4 1 1 101 0 3 20 0.0000 4 195 165 3195 450 T\001 +4 1 1 101 0 3 20 0.0000 4 195 135 3330 585 1\001 +4 1 1 101 0 3 20 0.0000 4 195 165 5445 450 T\001 +4 1 1 101 0 3 20 0.0000 4 195 135 5580 585 2\001 ADDED mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_cr.r Index: mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_cr.r ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_cr.r @@ -0,0 +1,92 @@ +%% CR file for sFP + +OPERATOR sFP; + +% Entropy flow in + +% Ordinary FP port +% Temperature +FOR ALL Entropy,Temperature,sEntropy,sTemperature +LET sFP(effort,1, + Entropy,flow,1, + Temperature,effort,2, + sEntropy,flow,3, + sTemperature,effort,4 + ) + = Temperature; + +% Heat +FOR ALL Entropy,Temperature,sEntropy,sTemperature +LET sFP(flow,2, + Entropy,flow,1, + Temperature,effort,2, + sEntropy,flow,3, + sTemperature,effort,4 + ) + = Entropy*Temperature; + +% Temperature sensitivity +% Sensitivity FP port +FOR ALL Entropy,Temperature,sEntropy,sTemperature +LET sFP(effort,3, + Entropy,flow,1, + Temperature,effort,2, + sEntropy,flow,3, + sTemperature,effort,4 + ) + = sTemperature; + +% Heat sensitivity +FOR ALL Entropy,Temperature,sEntropy,sTemperature +LET sFP(flow,4, + Entropy,flow,1, + Temperature,effort,2, + sEntropy,flow,3, + sTemperature,effort,4 + ) + = (Entropy*sTemperature + sEntropy*Temperature); + +% Heat flow in + +% Ordinary FP port +% Temperature +FOR ALL Heat,Temperature,sHeat,sTemperature +LET sFP(effort,2, + Temperature,effort,1, + Heat,flow,2, + sTemperature,effort,3, + sHeat,flow,4 + ) + = Temperature; + +% Heat +FOR ALL Heat,Temperature,sHeat,sTemperature +LET sFP(flow,1, + Temperature,effort,1, + Heat,flow,2, + sTemperature,effort,3, + sHeat,flow,4 + ) + = Heat/Temperature; + +% Temperature sensitivity +% Sensitivity FP port +FOR ALL Heat,Temperature,sHeat,sTemperature +LET sFP(effort,4, + Temperature,effort,1, + Heat,flow,2, + sTemperature,effort,3, + sHeat,flow,4 + ) + = sTemperature; + +% Heat sensitivity +FOR ALL Heat,Temperature,sHeat,sTemperature +LET sFP(flow,3, + Temperature,effort,1, + Heat,flow,2, + sTemperature,effort,3, + sHeat,flow,4 + ) + = (sHeat*Temperature - Heat*sTemperature)/Temperature^2; +END; ADDED mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_desc.tex Index: mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_desc.tex ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_desc.tex @@ -0,0 +1,34 @@ +% -*-latex-*- Put EMACS into LaTeX-mode +% Verbal description for system sFP (sFP_desc.tex) +% Generated by MTT on Fri Jul 6 01:55:23 BST 2001. + +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% Version control history +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% $Id$ +% %% $Log$ +% %% Revision 1.1 2000/12/28 09:13:38 peterg +% %% Initial revision +% %% +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + The acausal bond graph of system \textbf{sFP} is + displayed in Figure \Ref{fig:sFP_abg.ps} and its label + file is listed in Section \Ref{sec:sFP_lbl}. + The subsystems are listed in Section \Ref{sec:sFP_sub}. + +This is the sensitivity version of the \textbf{FP} (flow/power +real-pseuso component). + +The standard ports implement the CR: +\begin{align} + T_1 &= T_2 \\ + Q &= S*T_2 +\end{align} + +The \emph{sensitivity} ports implement the CR: +\begin{align} + T_1^\prime &= T_2^\prime \\ + Q^\prime &= S^\prime *T_2 + S*T_2^\prime +\end{align} + ADDED mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_lbl.txt Index: mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_lbl.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/comp/compound/Sensitivity/sFP/sFP_lbl.txt @@ -0,0 +1,34 @@ +#SUMMARY sFP Sensitivity version of FP - real-pseudo conversion + +## System sFP, representation lbl, language txt +## File sFP_lbl.txt +## Generated by MTT on Thu Jul 5 08:03:02 BST 2001 + + ############################################################### + ## Version control history + ############################################################### + ## $Id$ + ## $Log$ + ############################################################### + +## Port aliases +#ALIAS in|f F,sF +#ALIAS out|p P,sP + + +## 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 ---- + +## Component type R + r sFP + +## Component type SS + [F] SS external,external + [P] SS external,external + [sF] SS external,external + [sP] SS external,external +