Overview
Comment:New sensitivity components (for extruder model)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 2a52198114000ab2f9f52da018b4e6c73c4e922629a56de12f9c53a7c88a95a6
User & Date: gawthrop@users.sourceforge.net on 2001-07-06 01:17:14
Other Links: branch diff | manifest | tags
Context
2001-07-06
01:18:24
New sensitivity components - documentation check-in: a209072712 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
01:17:14
New sensitivity components (for extruder model) check-in: 2a52198114 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
00:46:50
Added -cr option -- forces cr to be loaded before the ese.r file
This avoids causality problems when using multi-port Rs to represent
arbitary equations
check-in: 22863cf285 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/lib/comp/compound/Sensitivity/sFMR/sFMR_abg.fig version [853ebbe17a].





















































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
#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 version [24ddbdd6a4].









































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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 version [eee4a49ecd].





































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
% -*-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 version [a614981b1c].













































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
#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 version [98a0a6cf36].





















































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
#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 version [4727041a69].

























































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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 version [5a88ca8029].





































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
% -*-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 version [0db9ba715f].





































































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


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