Page 318 - Dynamics and Control of Nuclear Reactors
P. 318

APPENDIX G Matlab and Simulink: A brief tutorial  321







                                              12
                                             s+0.02


                    Step
                                           Transfer Fcn


                                                                           Scope




                                                                      level


                                                                  To Workspace
                  FIG. G.1
                  Example Simulink model block diagram.



                                      Example simulation for TF = 12/(s+0.02)
                        600


                        500


                        400

                       Level  300



                        200


                        100



                          0
                           0    50  100  150   200  250  300  350  400  450  500
                                                  Time (s)
                  FIG. G.2
                  Plot of the variable, level, as obtained from the Simulink simulation block.
   313   314   315   316   317   318   319   320   321   322   323