-
Notifications
You must be signed in to change notification settings - Fork 10
/
ORNL-TM-1189.txt
1579 lines (796 loc) · 27.5 KB
/
ORNL-TM-1189.txt
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
AL RESEARCH LIBRARY
DOCUMENT COLLECTION
OAK RIDGE NATIONAL LABORATORY
operated by
UNION CARBIDE CORPORATION m
for the
U.S5. ATOMIC ENERGY COMMISSION
OAK RIDGS NATIONAL LABORATORY L ORNL- TM- 1189
NN ERRENN s 37
3 4456 D54909k 5 DATE - June 24, 1965
A TECHNIQUE FOR CAICULATING FREQUENCY RESPONSE AND
ITS SENSITIVITY TO PARAMETER CHANGES FOR
MULTI-VARIABLE SYSTEMS
T. W. Kerlin and J. L. Lucius*
ABSTRACT
A general method for calculating the frequency response
of a dynamic system and the sensitivity of this frequency
response to changes in system parameters is described. The
development is carried out using the matrix differential
equation (or state variable) approach. SFR-1, a computer
code prepared to carry out the computations, is described.
Two sample problems serve to illustrate the method and the
use of the code.
CENTRAL RESEARCH LIBRARY
DOCUMENT COLLECTION
LIBRARY LOAN COPY
DO NOT TRANSFER TO ANOTHER PERSON
If you wish someone else to see this
document, send in name with document
and ‘the ‘library will arrange a loan.
*
Oak Ridge Gaseous Diffusion Plant.
NOTICE This document contains information of a preliminary nature
and waos prepared primarily for internal use ot the Ook Ridge MNational
Loboratory. It is subject to revision or correction and therefore does
not represent o final report.
LEGAL NOTICE
This report was prepared as on account of Government sponsored work, Meither the United States,
nor the Commission, nor any person acting on behalf of the Commission:
A, Mockes any warranty or representation, expressed or implied, with respect to the accurocy,
completeness, or usefulness of the information contained in this repeort, or that the use of
any information, apporotus, methed, er process disclesed in this report may net infringe
privately owned rights; or
B. Assumes any liabilities with respect to the use of, or for damages resulting frem the use of
any information, epparatus, method, or process disclosed in this report.
As used in the obove, "“person acting on behalf of the Commission" includes any employee or
contractor of the Commission, or employee of such contractor, 1o the extent thot such employes
or contracter of the Cemmission, or employee of such contractor prepares, disseminates, or
provides access to, eny informotion pursuent to his employment or contract with the Commissien,
or his employment with such contractor.
Contenfs.
Page
INtroduction sve.iieeeereenennses Cerbeeaees Ceeerraaraas e 5
Frequency RESPONSE cueeseeseaees ceeean ceeeenn .;;...;.. ....... 5
Freguency Response Senéitivity‘ :.....; ..... Weesesanans ceeens 9
The Computer Program ..eeccescesesssseasss Chececenccaranenas 19
Input ..eeeecocrrececesnssosnnccns ceecos ceessrssenesens 13
Output seiveevencnacnas ...........;...}..a... ...... voee 17
‘Sample Problems ...... ceeeneen Ceeeseatenssecenannneeos . 18
PLOBLEM L erenrenieieninnaninnnn e et 18
Problem.Q .......;...;...;;.........,.... ........... 19
Conclusions seeevesos. ceseecisens ,.‘............;.;... ...... 23
References ..... .............f........}j..;...;..f.......... 30
‘ AL LABORATORY LIBRARIES
il
|
' 3 445k 054909k &
I
'
L
Intfodnetion“
Techniques for determining the frequency response of multi-variable
dynamic¢ systems are well knewfi; and'seVefél COmputef.COdes-have been
prepared which are useful for ealeu1atiné nucleaf'pofier reactor frequency
:res'pcbnse;lt"2 The frequency .reésponse is usnaily determined for the system
at the design condition and at several of f-désign conditions to determine
the sensitivity of the results to &henéés ih'syétefi pafemeters: This
sensitivity 1nformat10n can be useful 1n re- de51gn of dynamlcally unsatls-
factory systems and in determlnatlon of necessary tolerances in des1gn
specifications to 1nsure sultable dynamlc behav1or at lowest cost
Sensitivity 1nformatlon can also prev1de a -deéper understanding of system
dynamic characteristiCS to the system anaiyst and can help in matching
This report presents a technlque for determlnlng the frequency
response of multi-yariable systens., In addition; the sensitivities to
system parameters can be‘determined directly. A domputer code for
carrying out the calculation is described and numerical results are
shown for sample problems.: o | |
‘Frequency Response
The system equation for a linear; autonomous, lumped parameter
system may be written:
dz . . - |
— I 7 Bl .
W
where
7z = the response vector,
t = time,
A = the system matrix (the elements are the- usual coefficients in
the differential equatlons),: | |
- f = the disturbance vector
kq. (l) is usually called the state varlable representatlon of the system.
In Eq. (1), it is assumed that - the dependent varlables are wrltten as
perturbatlons_around an equlllbrlum point. This implies that all the
initial conditions are zero when the'equation’is‘Laplace transformed.
The Laplace transform of (l) is then given by the following equation:
A-sI]Z=-T , | f (2)
where T o
I = unit diagonal matrix, |
s = Laplace transform'fiéfameter,-
Z = Laplace transform of Zz, ”
f = Leplace transform of f.
Cramer's rule can be used to write the formal solution of (2):
B
_ P : : .
z, = (3)
|A - sI] K
where |
Ei = ith éomponent‘of E,
Bi'=,determinant of [A - sI] with the ith column replaced by -f.
In general, a transfer function expresses the relationship between
an independent variable and some dependent variable., The independent
variable appegrs as a factor in the disturbance vector, f, on the right
hand side of the system equation. Thus, T may be written as follows:
f = pg ‘ ‘ (L)
fihere
o = Laplace transform of the selected independent variable - a scalar,
g = a vector of coefficients. |
Use Eq. (4) with (3) to give
Z C
G == = L (5)
. P |A - sI| '
where |
G = transfer function between the independent variable, p, and the
dependent variable, z,, , i
C, = determinant of [A - sI] with the 1™ o6lumn repiaced by -g.
Q
For nuclear reactor applications, the selected independent variable is
most often reactivity, and the selected dependent variable is most often
the neutron flux or a temperature at some point in the system.u
The transfer function in Eq. (5) may be used to give the frequency
response. For this, the Laplace transform variable, s, is replaced by
Jjw, where Jj =\/:T“ and- w = the frequency of the perturbation. Thus, the
transfer function becomes a complex quantity:
G=a+ jB . ‘ | (6)
The appearance of G in the complex plane is shown in Fig. 1. It is common
to characterize G by a magnitude, M, and a phase angle, 8. These are given
by: o :
M =" + 52 s (7)
o = ten™ £ (8)
The variation of M and @ as a function of. the frequency, w, is called the
frequency response of the system. |
A number of approaches are possible for solving Eq. (5). The most
obvious is to form the numerator and denominator determinants and to
numerically evaluate these determinants in complex arithmetic. Another
approach is to transform the determinants into polynomials in s.l’2 This
has the advantage that evaluation for numerous frequencies (w = — js)
does not require re-evaluation of the determinants. The choice, then, is
whether to perform the bulk of the computation in finding the polynomial
or in evaluating the determinants. The preference seems to have been for
the polynomial method in most previous calculations. This was done because
the polynomial methods were sufficiently faster than direct determinant
solutions to offset twé difficulties characteristic of polynomial methods:
the accurate calculation of the coefficients of the polynomial is a dif-
ficult numerical problem, and the complex relation between the basic system
parameters and the coefficients of the polynomials complicates calculation
of the effect of changes in the parameters.
ORNL DWG. 65-7607
Im(G)
Re(G)
Fig. 1. Appearance of G in the Complex Plane
Ca
c
o
[i]
7
In this study the desire to determine the effect of changes in
system parameters on the fregquency response dictated the use of direct .
calculation of the determinants. In cofitrast'to the polynomial methods,
it is easy to keep track of the system parameters and to determine their
effect on the frequency response. It was also found thét direct calculation
of the determinants for calcuiating the frequency response alone is
inexpensive on large digital computers unless the matrix;is'quite large.
5
The running time for a FORTRAN IV Gaussian elimination scheme” on the
IBM 7090 has been'found to be given by:
T = 0,028 nl'9 ,
Where
T = running time (seconds/ffequehcy calculated),
n = order of the matrix. | |
If it is assumed that about 25 pointé are needed to define the
frequency response, then the running time is given approximately in
Table 1.
Table 1. Approximate IBM 7090 Running Time for
Direct Frequency Response Calculation
Ordef of : | Running Time
‘Matrix - o . (min)-
20 ’ 3.4
50 Te3
Lo | ‘10,5
50 | ' : 19.5
60 . L : 27.9.
Frequency Response Sensitivity
It is frequently valuable to know what changes in the frequency
response will occur if certain of the system paraméters should change.
It would be desirable to get this information without recalculating.the
10
whole frequency response repeatedly. A technique for accomplishing this
is given in this section. |
First, rewrite Eq. (5) as shown below:
N N : . :
G=Tr =] C (9)
Now differentiate BEq. (9) with respect to an element, aij’ of the.system
matrix, A,
aD
e . (10)
iy 1J . 1J
il
ol
1
o=
Equation (10) gives the sensitivity of the frequency response to changes
in the elements of the system matrix. The derivatives on the right sidé
of Eq. (10) are easily calculated. It can be-shownLL that the derivative
of a determinant of a matrix with respect to one of its elements is the
cofactor of that element in the matrix. Thus we get:
{
oG 1
e =D My m @y5) (11)
ig
where
nij = cofactor of aij"in the numerator matrix, N,
7ij = cofactor of aij in the denominator matrix, D.
It is alsoc necessary tc convert the G sensitivity into magnitude
sensitivity and phase sensitivity. PFirst, since a, is real, we can write:
oG _ ou . 0B
da.. oa,. Pa_. - (12)
1J 1J 1d
Thus the real and imaginary parts of the'solufiion given by Eq. (11) are
actually ao/aaij and as/aaij. From the definitions of M and 6, it is
clear that the following relations exist:
,d o +B§g_
oM oa. . Bai.
9a. = _ 'lJ_ q. P | - (13)
L Jao + B ’ '
{4
11
o g@ - oo
a, ., oa. . .
- 08 _ ij ij : (14)
‘fa., ., - 2 .2 ’
13 a” + B
Equations (11) through (1) are adequate for finding the sensitivities
to matrix element changes. However, these matrix elements are made up
of algebraic combinations of basic éystem.parameters. The same system
parameters frequently occur in several matrix elements. It is desirable
to find the sensitivities to system parameter changes as well as the sensi-
tivities to matrix element changeé. This can easily be done using Egs. (15)
and (16):
' ' oa. . .
oM _ oM ij
ox - 23 oa. ox (15)
L iJ. ij b
T ‘aa » ,
06 o 06 ij ,
e S L BT s o (16)
£ ij ij £
where
th '
xz = the /4 system parameter.
The quantities 8a /ax are known since the algebraic relations between
matrix elements and system parameters must be known from the analytlcal
description of the system.
A special feature of the numerator determinant, N, should be noted.
The column whose elements consist of the disturbance vector, g, clearly
do not depend on the matrix elements, aij' Thus 6N/aaij does not contain
a contribution from the column replaced by g. . However, g can depend on
the system parameters. Thus 8N/9dx, may have a non-zero contribution from
£
the column of the matrix whose components are the components of g. Thus
the complete equations are:
. da 0
M\ oM 1j M G
=) e m L (17)
g i3 Piy 9% K 98 9%
12 .
96 90 9%i; 90 98
Ll B motl B (18)
g i3 Ty T k T8 9%y
The procedures for finding BM/ng and ae/agk are similar to those for
finding BM/Baij and BQ/aij. Slnce = a?pears only in N,
oG 1 ON :
ng D g, ’ o (19)
where
_ gg— = negative of the cofactor of the-element in.N containing g
k
From the definitions of M and 8, it is clear that
M By .. 98 (20)
ral :
“k Vo2 + g2
0
96 S K (21)
g, - '
| &y V& + 52
where
gg; = real part of 8G/8gk,'
8
g%— = imaginary part of-BG/agk.' o
k .
The Computer Program
A computer program called SFR-1 (Sensitivity of the Frequency
Response) was prepared for the IBM 7090. The cbmputer code is provided
with the system matrix, A (59 x 59 or-smaller), and the disturbance
vector, g. For specified values of w, the code calculates the frequency
response using Eq. (5) and s = jw. Equations (7) and (8) are used to
|L'.
135
give the magnitude afid phase. The determinarits in Eq. (5) are calculated
in complex arithmetic using a Gaussian elimination scheme with partial
pivofiing3 (obtained from:R. E._Funderlic of Oak Ridge Gaéeous Diffusion
Plant). The code also can calculate the sensitivities to matrix element
changes using Egs. (11), (13), and (14). The sensitivities to the system
parameters are calculated using Egs. (17) and (18). The method for
providihg the algebraic‘relationships between the matrix elements and
the system parameters are given below -in the section on input.
Input
The input to SFR-1 is short and simple. The only section requiring
extensive explanation is the algebra table. The algebra table serves ‘to
establish the relationship between matrix elements and system parameters
and . the relationship between elements of the disturbance vector and
system parameters; In-general, each matrix element or disturbance vector
element is made up of a sum of terms, each of which 1is an algebraic -
combination of various system parameters:
a = 7 x%'jb £%1+Z x%';% x%i+
ij -1 "1 T2 """ Tm 271 Tp "t Tp
-OXr.
I
_ am - _
oy = ) 7 gz x (22)
where
N
1
a constant,
qu = exponenfi of the qth factor in the mth term,
= the number of the term,
= index on the systém parameter,
the number of terms,
H =2 o B
i
= the number ofifactors in term m. -
1k -
For instance if
_ 2 ..8 -1 -2 3 1.8
38,9 =2x % X"+ L2 X % XF.
we could express a8 9 in tabular form as:
2
Coefficient of
i J m zZ_ 1 2 3 L
8 9 1 . 2.0 2.0 0.8 -1.0
8 9 2 .2 - | -2.0 3.0 1.8
A table of this type appears in the SFR infiut. The information in tfiis
table is also used by SFR-1 to calculate the derivatives shown in Egs.
(15-18). The general rule for differentiating terms of this type leads
to
M I qu
BaiJ 23 II %4 q
= Z P b (23)
axfl 2om Zm g=1 X, Z
where
83‘= 1if X, appears in the mth term
O if_xfl does not appear in the n*? term
The detailed description of the input is given below:
Type 1: ‘
Title card.
Type 2:
Column 1-5 6-10 11-15 16-20 21-25 26-30
Format 15 15 15 15 15 15 -
Input N NOW NCTS NOXI KIPD NOFV
where
N = order of the system matrix,
NOW = number of frequencies to be calculated,'
NCTS = number of different columns to be replaced by the disturbance
vector,
NOXI = number of system parameters being considered,
KIPD = derivative option. If KIPD is positive, SFR calculates the
frequency response - only. If KIPD is zero or negative, SFR
calculates the frequency response and the sensitivities,
NOFV = row number of the last non-zero entry in the disturbance
vector if the disturbance vector is specified in Type 3% input.
If the disturbance vector is specified in the algebra table
(Type 5 input), NOFV is omitted.
Type 3:
Column 1-10
Format TELO. 4 Repeat, 7.per card
Input Ci
where
Ci = components of
the disturbance vector
Note: Type % cards are omitted if all components of the disturbance
vector are calculated from the algebra table (Type 5 input).
Type k4:
Column 1-10
Format TE10.4
Input xfl
Repeat, 7 per card
16
where @
X, = value of the system parameter, values are listed sequentially
starting with Xq -
Note: Omit Type 4 cards if NOXI = O.
Type 5:
Column| 1-2|3-4|5-6]7-16 17-25!2&430 31-37138-44] 45-51] 52-58(59-65| 66 -72
Format || I2 | I2| I2{El0.5 8F7.2
Input I J m |2 P
where
I = row number of matrix element if I = 59. If I = 60, a component
of the disturbance vector .is being specified,
J = column number of matrix element if I £ 59, .If I = 60, J is
the row of the component of the disturbance vector being
specified,
m = number of the term,
Z = constant multiplier 6f this term,
P = eprnent of the system parameter. »
Note: ZEnd Type 5 cards with a blank card. Omit Type 5 cards if NOXT = O.
No blank card is used to end Type 5 input if NOXI = O.
Type 6:
g
Column 1-2 |
| Format ’ I2 Repeat
Tnput | CR
where
CR = column number to be replaced by the disturbance vector, NCTS
entries should be made.
17
Type 7T:
Column 1-5 6-10 | 11-20 |
- Format I5: I5. F10.4 Repeat, three per card
Input I J a. .
1J
where
= rOW number,
J = column number
a = value of element, aij’ cf the system matrix,
1j .
Note: End Type 7 cards with a blank card.
If a matrix element is specified on a Type 7 card and also is
calculated from the algebra table, the value from the algebra
table will be used. '
Type 8:
Column 1-10
Format 7E10.4 | Repeat, seven per card
Input W
where f
w = fregquency for calculation. ©Specify NOW values.
The FORTRAN listing of the SFR code is available from J. L. Lucius.
Output
The output of SFR is clearly labeled in notation consistent with
the notation in previcus sections of this report. The first page is a
review of input data. It consists of a print-out of the following:
1. Title
Input system parameters (x)
Algebra table
Order of matrix
N W o
Number of frequencies (w's)
18 .
Columns to be replaced
Frequencies to be calculated
System matrix non-zero elements