Overview
Comment:Fixed mistake in computing entropy flow
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ce00f2811fd0ff518943b6b59c1af2aeea446e978768e068768310e5f303459b
User & Date: gawthrop@users.sourceforge.net on 2001-07-25 06:27:08
Other Links: branch diff | manifest | tags
Context
2001-07-26
04:07:28
Changed a to w on open (Geraint's suggestion)
Explictly close files
check-in: 26121c61ec user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2001-07-25
06:27:08
Fixed mistake in computing entropy flow check-in: ce00f2811f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
04:50:29
Just code aesthetics. check-in: 3ba6a2cc67 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/comp/compound/Sensitivity/sRS/sRS_cr.r from [377087485f] to [5c21ad435b].

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FOR ALL gain_cause,r,rs,out_cause,inp,sinp,in_cause,temp,stemp
LET sRS(gain_cause,r,rs,out_cause,2,
	inp,in_cause,1,
	temp,effort,2,
	sinp,in_cause,3,
	stemp,effort,4
	) 
        = lin(gain_cause,r,temp_cause,1,
               inp,in_cause,1)/temp;

% Sensitivity ports
FOR ALL gain_cause,r,rs,out_cause,inp,sinp,in_cause,temp,stemp
LET sRS(gain_cause,r,rs,out_cause,3,
	inp,in_cause,1,
	temp,effort,2,







|







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FOR ALL gain_cause,r,rs,out_cause,inp,sinp,in_cause,temp,stemp
LET sRS(gain_cause,r,rs,out_cause,2,
	inp,in_cause,1,
	temp,effort,2,
	sinp,in_cause,3,
	stemp,effort,4
	) 
        = inp*lin(gain_cause,r,temp_cause,1,
               inp,in_cause,1)/temp;

% Sensitivity ports
FOR ALL gain_cause,r,rs,out_cause,inp,sinp,in_cause,temp,stemp
LET sRS(gain_cause,r,rs,out_cause,3,
	inp,in_cause,1,
	temp,effort,2,
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
	inp,flow,1,
	temp,effort,2,
	sinp,flow,3,
	stemp,effort,4
	) 
        = 2*inp*sinp*r/temp
        + (inp^2)*rs/temp
        - (inp^2)*r*temps/(temp^2);

%% - effort in
FOR ALL gain_cause,r,rs,out_cause,inp,sinp,in_cause,temp,stemp
LET sRS(gain_cause,r,rs,out_cause,4,
	inp,effort,1,
	temp,effort,2,
	sinp,effort,3,







|







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
	inp,flow,1,
	temp,effort,2,
	sinp,flow,3,
	stemp,effort,4
	) 
        = 2*inp*sinp*r/temp
        + (inp^2)*rs/temp
        - (inp^2)*r*stemp/(temp^2);

%% - effort in
FOR ALL gain_cause,r,rs,out_cause,inp,sinp,in_cause,temp,stemp
LET sRS(gain_cause,r,rs,out_cause,4,
	inp,effort,1,
	temp,effort,2,
	sinp,effort,3,

Modified mttroot/mtt/lib/comp/compound/Sensitivity/sRS/sRS_lbl.txt from [082cc56e2e] to [fbf7e22063].

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
#SUMMARY sRS Sensitivity version of RS

## System sRS, representation lbl, language txt

## Port aliases
#ALIAS	in	In,sIn
#ALIAS	out	Out,sOut


## Argument aliases
#ALIAS	$1	flow,r
#ALIAS	$2	r_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	sRS		flow,r,rs		

## Component type SS
	[In]	SS		external,external		
	[sIn]	SS		external,external		
	[Out]	SS		external,external		
	[sOut]	SS		external,external		












|









|







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
#SUMMARY sRS Sensitivity version of RS

## System sRS, representation lbl, language txt

## Port aliases
#ALIAS	in	In,sIn
#ALIAS	out	Out,sOut


## Argument aliases
#ALIAS	$1	flow,r
#ALIAS	$2	rs

## 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	sRS		flow,r;rs		

## Component type SS
	[In]	SS		external,external		
	[sIn]	SS		external,external		
	[Out]	SS		external,external		
	[sOut]	SS		external,external		


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