11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright (c) P.J.Gawthrop, 1998.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3 1998/11/18 10:47:39 peterg
## Added transfer function rep
##
## Revision 1.2 1998/11/10 09:16:41 peterg
## Added structure rep
##
## Revision 1.1 1998/07/22 09:14:42 peterg
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (c) P.J.Gawthrop, 1998.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.4 1999/03/02 22:02:16 peterg
## Octave-mode style
##
## Revision 1.3 1998/11/18 10:47:39 peterg
## Added transfer function rep
##
## Revision 1.2 1998/11/10 09:16:41 peterg
## Added structure rep
##
## Revision 1.1 1998/07/22 09:14:42 peterg
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
EOF
cat $MTTPATH/trans/rcs_header.sh >> $1_rep.txt
cat <<EOF >> $1_rep.txt
mtt $1 abg tex # The system description
mtt $1 cbg ps # The causal bond graph
## Uncomment the following lines or add others
## mtt $1 struc tex # The system structure
## mtt $1 dae tex # The system dae
## mtt $1 ode tex # The system ode
## mtt $1 sspar tex # Steady-state parameters
## mtt $1 ss tex # Steady state
## mtt $1 dm tex # Descriptor matrices (of linearised system)
## mtt $1 sm tex # State matrices (of linearised system)
## mtt $1 tf tex # Transfer function (of linearised system)
## mtt $1 lmfr ps # log modulus of frequency response (of linearised system)
## mtt $1 simpar tex # Simulation parameters
## mtt $1 numpar tex # Numerical simulation parameters
## mtt $1 input tex # Simulation input
## mtt $1 odeso ps # Simulation output
EOF
|
>
>
<
>
>
>
|
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
|
EOF
cat $MTTPATH/trans/rcs_header.sh >> $1_rep.txt
cat <<EOF >> $1_rep.txt
mtt $1 abg tex # The system description
mtt $1 cbg ps # The causal bond graph
mtt $1 struc tex # The system structure
mtt $1 sympar tex # The system parameters
## Uncomment the following lines or add others
## mtt $1 dae tex # The system dae
## mtt $1 ode tex # The system ode
## mtt $1 sspar tex # Steady-state parameters
## mtt $1 ss tex # Steady state
## mtt $1 dm tex # Descriptor matrices (of linearised system)
## mtt $1 sm tex # State matrices (of linearised system)
## mtt $1 tf tex # Transfer function (of linearised system)
## mtt $1 lmfr ps # log modulus of frequency response (of linearised system)
## mtt $1 simpar tex # Simulation parameters
## mtt $1 numpar tex # Numerical simulation parameters
## mtt $1 input tex # Simulation input
## mtt $1 logic tex # Logic control
## mtt $1 odeso ps # Simulation output
## mtt $1 rep txt # This file
EOF
|