Overview
Comment:angular displacement units: changed rads to radians
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 820a695c455acfb7fa47b0a9927dd977d6bbc60fac3ba2aed5a071896a0694a4
User & Date: geraint@users.sourceforge.net on 2001-02-05 03:07:10.000
Other Links: branch diff | manifest | tags
Context
2001-02-05
03:33:18
Convert user-defined txt to lower-case in translation.
Required by logic.m (Octave is case sensitive).
check-in: afa911e795 user: geraint@users.sourceforge.net tags: origin/master, trunk
03:07:10
angular displacement units: changed rads to radians check-in: 820a695c45 user: geraint@users.sourceforge.net tags: origin/master, trunk
01:50:29
No unit type comparison at ports if either is "none". check-in: 3d05dc2bd4 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes
18
19
20
21
22
23
24
25

26
27
28
29
30
31
32
18
19
20
21
22
23
24

25
26
27
28
29
30
31
32







-
+







	;;
    translational)
	base_effort='newton'
	base_flow='m/s'
	;;
    rotational)
	base_effort='newton*m'
	base_flow='rad/s'
	base_flow='radians/s'
	;;
    fluid)
	base_effort='Pa'
	base_flow='m^3/s'
	;;
    thermal)
	base_effort='degK'
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
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 DC: DC motor (or generator)

%% Port Alias
%ALIAS in	Electrical
%ALIAS out	Mechanical

%% Unit definition
%UNITS Electrical electrical volt amp
%UNITS Mechanical rotational N*m rad/s
%UNITS Mechanical rotational N*m radians/s

%ALIAS $1	k_m
%ALIAS $2	l_a
%ALIAS $3	r_a
%ALIAS $4	j_m
%ALIAS $5	b_m


%% Label file for system DC (DC_lbl.txt)

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.6  2000/11/16 09:45:51  peterg
% %% Added unit definitions
% %%
% %% Revision 1.5  1998/07/26 12:49:24  peterg
% %% Corrected some errors
% %%
% %% Revision 1.4  1998/07/26 12:45:33  peterg
% %% Added ports
% %%
% %% Revision 1.3  1998/07/22 12:01:17  peterg
1
2
3
4
5
6
7
8
9



10
11
12
13
14
15
16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19









+
+
+







% -*-latex-*- Put EMACS into LaTeX-mode
% Verbal description for system MotorGenerator (MotorGenerator_desc.tex)
% Generated by MTT on Thu Nov 16 13:11:36 GMT 2000.

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.1  2000/12/28 17:43:16  peterg
% %% To RCS
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

   The acausal bond graph of system \textbf{MotorGenerator} is
   displayed in Figure \Ref{fig:MotorGenerator_abg.ps} and its label
   file is listed in Section \Ref{sec:MotorGenerator_lbl}.
   The subsystems are listed in Section \Ref{sec:MotorGenerator_sub}.

100
101
102
103
104
105
106
107

108
109
110

111
112
113
114
103
104
105
106
107
108
109

110
111
112

113
114
115
116
117







-
+


-
+




Creating MotorGenerator_def.r
Creating MotorGenerator_struc.txt
...
INFORMATION: Component MotorGenerator connects ports with units volt and volt
INFORMATION: Component MotorGenerator connects ports with units amp and amp
...
INFORMATION: Component MotorGenerator connects ports with units N*m and N*m
INFORMATION: Component MotorGenerator connects ports with units rad/s and rad/s
INFORMATION: Component MotorGenerator connects ports with units radians/s and radians/s
...
INFORMATION: Component MotorGenerator connects ports with units N*m and N*m
INFORMATION: Component MotorGenerator connects ports with units rad/s and rad/s
INFORMATION: Component MotorGenerator connects ports with units radians/s and radians/s
Creating MotorGenerator_aliased.txt
Copying MotorGenerator_ese.r

\end{verbatim}
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
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









+
+
+







-
-
+
+







%% Label file for system Shaft (Shaft_lbl.txt)
%SUMMARY Shaft
%DESCRIPTION 

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.1  2000/12/28 17:43:16  peterg
% %% To RCS
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% Port aliases


% Unit definitions
%UNITS in  rotational N*m rad/s
%UNITS out rotational N*m rad/s
%UNITS in  rotational N*m radians/s
%UNITS out rotational N*m radians/s

% Argument aliases
%ALIAS	$1	c_s

%% Each line should be of one of the following forms:
%	     a comment (ie starting with %)
%	     component-name	cr_name	arg1,arg2,..argn

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