next up previous contents index
Next: Subsystems Up: CSW Previous: Units declarations:   Contents   Index

The label file: CSW_lbl.txt

%SUMMARY CSW: Switched C component
%DESCRIPTION CSW acts as an C component except when the -s -c option is used.
%DESCRIPTION When the -s -c option is used:
%DESCRIPTION   The component label is used as a variable name (eg Name)
%DESCRIPTION   In the ode simulation:
%DESCRIPTION     Name = 1 implies normal C (closed switch)
%DESCRIPTION     Name = 0 implies state=0 (open switch)
%DESCRIPTION     Name = -1 implies state>0 (Diode)

%ALIAS out	in
%ALIAS $1	lin
%ALIAS $1	effort,c_s

%% Label file for system CSW (CSW_lbl.txt)

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id: CSW_lbl.txt,v 1.3 1998/07/26 13:30:33 peterg Exp $
% %% $Log: CSW_lbl.txt,v $
% %% Revision 1.3  1998/07/26 13:30:33  peterg
% %% Added aliases
% %%
% %% Revision 1.2  1997/09/11 09:00:52  peterg
% %% More documentation.
% %%
% %% Revision 1.1  1997/06/16  10:55:20  peterg
% %% Initial revision
% %%
% %% Revision 1.1  1997/06/03 15:26:09  peterg
% %% Initial revision
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

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



% Component type C
	MTT_SWITCH		lin	effort,c_s

% Component type SS
	[in]			SS	external,external


http://mtt.sourceforge.net