Home

DYNAST manual - Web-Based and On

image

Contents

1. 4 0 0 5 0 0 0 5 1 0 15 2 0 E 1 1 G A electrical current M 2 1 G A electrical current W 3 1 G A electrical current Example Let us set R 0 in the above given electrical circuit This allows us to compute the family of three static characteristics ig ig vg of the nonlinear conductor G The static anal ysis computed with E swept through the interval 1 lt E lt 2 V is repeated for three different values of the parameter k 1 0 5 and 0 1 uS The first two analyses should be submitted with the HOLD results box checked 12 10 CHAPTER 12 NONLINEAR ANALYSIS 6 Family of characteristics 1 0 0 5 0 0 0 5 1 0 15 2 0 E 1 1 G A electrical current W 2 1 G A electrical current MI 3 1 G A electrical current 12 3 Fourier analysis DYNAST allows you to determine the frequency spectrum of periodic steady state responses If f t is a steady state periodic response with the period T DYNAST can approximate f t by the first n members of the Fourier series as fue y Aj cos 2TTk T ox k 0 where Ax is the amplitude and y is the phase of the k th harmonic in the frequency spectrum of the response For the Fourier analysis 1 In the section Fourier analysis of the Nonlinear Analysis dialog check Fourier 2 In the Period text box specify the period T of the analyzed responses by a numeric constant 3 In the Harmonics text box you may set the num
2. 1 0 0 5 0 0 0 5 10 15 20 V G V electrical voltage 12 2 6 Initial conditions of transient analysis The initial conditions x to in 12 1 are assumed to be zero by default in DYNAST Nonzero initial conditions can be specified in several different ways To do this open the tab Initial Values in the Nonlinear Analysis dialog Numerical Nonlinear Analysis 2 lx Analysis Desired Variables Initial Values Computation Control Variable Description Solved variables V1 v 2 l Setting ria across initial Element through variables conditions LE for LA nonlinear analysis Cancel Help If you want to submit initial condition values of your own choice select Clear last solution and enter your values in the tab Note that the initial condition values are specified exclusively for the solved variables in 12 1 If you are analyzing responses of a system model in the form of a diagram specify the initial values of e across variables associated with physical elements of C type 1 e capacitors and inertors e through variables related to physical elements of L type i e inductors and springs 12 2 SUBMITTING NONLINEAR ANALYSIS 12 7 e output variables of integrator blocks BI DYNAST will determine initial values of the other variables accordingly Example If using the dialog the initial capacitor voltage in the above given electrical circuit is specified as vc 2 V the response
3. e The PRB file must specify the numerical transient analysis of the plant model it must be the first analysis if several analyses are specified there e The analysis time interval must be as long as the time interval specified for the simulation in Simulink at least e At the end after the END command the PRB file must include the following statement in the form of a comment placed in a single line MATLAB interface spec input input output output 17 3 CONTROLLING MODEL IN DYNAST BY SIMULINK 17 3 input is the identifier of the parameter of an E or J source independent BS block or of an equation parameter output is the identifier of the desired variable of the analyzed model Example In the case of the inverted pendulum problem this statement should be of the form MATLAB interface spec F phi omega x v 17 3 2 Required setup of MATLAB Konfiguraci MATLABu pro soubnou simulaci DYNASTu se Simulinkem si provete v nsledu jcch krocch 1 Activate program MATLAB 2 Apply the command Set path from the File menu Choose Add Folder Pb o Nalistujte sloku uvedenou ne Nn Click the Save button for saving the setup 6 Click the Close button to close the window Nalistovan sloka m podobu folder mat lab toolbox DYNAST folder is the name of the folder in which DYNAST and its environment is stored on your computer usually C Program Files DYNAST toolbox is the character
4. TR TR 0 1 PRINT V 3 I RC1 R1 I RC2 R1 RUN END Note the references to the internal variables 1 RC1 R1 and 1 RC2 R1 in the command PRINT 11 12 CHAPTER 11 PROBLEMS IN TEXTUAL FORM 11 5 Catalogue of component parameters External parameters of submodels can be read in from catalogues of real components in the form of text files with the extension CAT These files should be arranged in the following way part parameter value parameter value part parameter value parameter value part is the name commercial of a real component parameter is the name of a submodel parameter value is a numeric constant or an expression giving a numeric constant Note There is no fixed relation between submodels and catalogues A catalogue is a set of parameter values applicable to an arbitrary submodel If two different submodels share similar parameters a common catalogue can be used for both of them If a catalogue contains the value for a parameter not relevant for the submodel the value is ignored Reference to a catalogue In the Parameters tab of the Insert Submodel dialog pro submitting submodels in a textual form enter to the Parameters from a catalog box the following text catalogue part catalogue is the name of a CAT file with the catalogue data the file name should be entered without the its path and the CAT extension part is the name of an component in the catalogue In this case the statement pro
5. If the submitted real polynomial has a pair of complex conjugate roots xp Rex jIMmx xx Rex Imxz it is sufficient if you submit only one of them Roots Composed Trimmed Periodic TE 16 klt ja js Cat js a ance Identifier F Multiplicative constant fi Hel y Root real part Root imaginary part Insert e Inserting Delete polynomial functions in terms of 40 402 40 106 10 10 106 10 102 a Expression roots Statement F i ROOT 1 3 0 0 0 2 0 2 Examples The dialog screenshots show inserting the polynomial y 5x9 20x 5x x 2j x 2j 4 6 CHAPTER 4 USER DEFINED FUNCTIONS both in terms of its coefficients and roots After submitting this function denoted by the identifier FC by means of the former way the following statement will be formed FC FPOLY 0 20 0 5 where the coefficients are arranged according to their order starting from the zeroth one In the latter case the statement for the function denoted by the identifier FR takes the form FR ROOT 5 0 0 2 Note that the statement begins with the multiplicative factor The pair of complex conjugate roots is represented there by their real and imaginary part in square brackets The sign of the imaginary part is arbitrary Each of these user functions can be then used with arbitrary arguments For example the equation q1 5v3 20v1 can be written as q1 FC v1 and the eq
6. Installation process is very simple execute the downloaded installation file and follow step by step the installation instructions Execute DYNAST Shell by clicking the icon Menus and the toolbar in the DYNAST Shell main window change according to the task you wish to accomplish and which working window you made active You will thus not be unnecessarily distracted by tools which you do not need at the moment The easiest way of getting acquainted with the DYNAST Shell basic options is exploring solved examples stored in its Help system To do this choose Examples amp Submodels in the Help menu Choose an example by consecutive clicking the icons in the Contents tab If you choose for example Mechanical and then the Rectilinear domain you will open the Weight on spring example E N pov da BAX H e g E Skr t Zp t Tisk Mo nosti Start Animation Obsah Vyhled vat Car An y m O Rectilinear 2 Composition of rectilinear motions 2 Static equilibrium of forces 12 Body driven by given velocity 12 Body driven by given force 2 Vertical throw of a ball 2 Body driven by a frequency wariable 2 Viscous friction experiment 2 Body sliding on incline 2 Rectilinear collision of bodies 2 Weight on spring 2 Two mass model of car 121 Jumpina ball 1 Ui 1 4 CHAPTER 1 EXAMINE DYNAST Browse through the solution section Let us assume that the point A in the ab
7. RUN Transients for V C 0 2 DC RUN Steady state solution MODIFY R 0 DC E I 2 UN Characteristics of G UN HOLD ODIFY k 5u UN HOLD ODIFY k 1u UN Family of characteristics MODIFY R 1me b 5 k 100m DCTR 0 2 PRINT 1001 I G V G G RUN Large signal analysis FOUR T RUN Fourier analysis ectrical current ectrical voltage ectrical conductance lectrical voltage lt OOO 0 Example The algebraic equation x 3x 1 0 is satisfied for three different values of the solved variable x x 0 3473 2x 1 879 and x 1 532 These values can be found by solving the equation repeatedly for three different initial estimates of the solution for example 1 0 0 2x 3 and 3x 3 see Chapter 12 SYSTEM SYSVAR x 0 x 3 3 x 1 TR DC PRINT XALL RUN INIT x 3 RUN INIT x 3 RUN END Chapter 13 Numerical frequency analysis Chapter overview The numerical frequency analysis can be applied diagrams with frequency dependent parameters typical for models with distributed parameters This is in contrast to the frequency analysis resulting from the DYNAST semisymbolic analysis which is restricted to models with rational transfer functions with constant parameters 13 1 Excitation for numerical frequency analysis When linear or linearized systems are in a steady state and excited by sources of harmonic si nusoidal
8. RUN END Chapter 15 Plotting of results Chapter overview Your computation results from different analyses saved by DYNAST into an O file in a tabular form can be plotted in various graphical forms DYNAST allows also for additional rearranging of the resulting plots for printing and exporting them in different formats as well as for comparing them with data from external sources like digital measuring instruments for example 15 1 Forms of plotting 15 1 1 Selection of variables If you wish to plot analysis results immediately after their computation from the Run menu choose Run Analysis amp Plot or click the corresponding icon in the toolbar of the main window In case you want to plot variable waveforms computed and saved in an O file earlier open first the window with the O file containing the analysis results in the textual form Instead you may open either the diagram or textual window with the specification of the analyzed system Then choose Result plot from the View menu In all cases a window with the plotted waveform of the first desired variable from the first analysis these results are saved in the related O file will open To plot waveforms of other analyzed variables choose Set variables from the Plot menu or right click the plotted graph The following dialog opens afterwards 15 1 15 2 CHAPTER 15 PLOTTING OF RESULTS E xI Hot Select firriules Result table Independent variable tim
9. SYSTEM E 0 12 element representing lst loop remaining elements of the lst loop R1 E 1 L1 E 10m L2 E 15m L3 0 30m element representing 2nd loop remaining element of the 2nd loop R2 L3 15 induktive couplings M12 L1 12 2 k23 L2 L3 98 TR TR O 1 PRINT I E 1 13 V L3 RUN END 11 3 Submitting texts of basic blocks The variety of basic blocks is described in Chapter 9 You can insert the block statements in the problem text file using the Insert Basic Block dialog that you can open from the System menu Insert Basic Block Type explicit block v Name B1 Cancel Output node u Help Parameter a p mtn A sin omega timej Submitt 8 text of 15 12 9 6 an3 3 6 9 12 A a a 0240 Be 0 02 2 T Expression basic block Statement B1 gt BS u A sin omega time 1 Choose the type of the submitted block from the type list in agreement with Chapter 9 2 Type the name of the block in the Name box 3 Specify the name of the node to which the block output should be connected in the Output node box 4 Type the numeric constant or symbolic expression characterizing the block in the Parameter box 5 Click the Insert button and if asked enter the required data 11 8 CHAPTER 11 PROBLEMS IN TEXTUAL FORM The statement for submitting basic blocks with the exception of the transfer block name gt type node parameter name is the user defined name
10. both forms concurrently Also those using DYNAST to solve equations submit their problems in the textual form Such users can learn from this chapter how they can work with the textual data and how DYNAST supports this approach to problem submitting 11 1 Diagrams and their textual files 11 1 1 Synchronization of diagrams with problem text files While graphical form diagrams are stored in DIA files their interpretation in the textual form DYNAST stores in PRB files If you want to see the PRB file related to the diagram active on your screen choose Problem or Submodel text from the View menu To see the PRB file when the related diagram is not active choose List of Problems from the View menu or Open from the File menu A Note that a diagram cannot be restored from the related PRB text file as this file contains in formation about properties and interconnections of diagram parts but not about their geometric coordinates in the diagram Once you open a PRB file you can edit its text If you are an advanced user you may wish to exploit the option of editing a problem both in the graphical and textual forms in turns If this 1s the case you will need both files synchronized with respect to each other after every change Remember that none of the files should contain a syntax error before the synchronization DYNAST provides the synchronization automatically If you change a diagram and then open the related problem text file DYNAST will
11. connection shown above va t vp t as vap 0 Similarly according to 7 2 the relation ig t ip t 0 can be written for through variables ig and ip 7 6 CHAPTER 7 PHYSICAL DIAGRAMS In nonmechanical domains the ideal connections represent ideal electrical conductors ideal pipes with fluid etc In mechanical domains an ideal connection can be imagined as a massless rigid rod of a fixed lengths The rod transfers force from one end to the other without any change and both ends of the rod have the same absolute velocity The lengths of the rod however is not defined 7 3 2 Constitutive relations of component models As we mentioned already the multipole way of modeling allows to separate specification of mutual energy interactions of system components from the specification of the behavior of individual components It is assumed that each multipole model of a component can be char acterized mathematically by constitutive relations between across and through variables of its poles While DYNAST is able to derive the relations and automatically for the physical diagram of a system the choice of specific constitutive relations for the individual multipoles is up to the users Fortunately DY NAST component libraries contain large number of component multipole models called submodels with their constitutive relations specified already 7 3 AUTOMATED FORMULATION OF EQUATIONS 7 7 To choose an appropriate model for a compon
12. f x describing the curvature of the road surface The third block the dif ferentiator acts here as a source of vertical velocity dy dt required to excite the suspension model k Del f x a b vx time Example Fig b gives the length controlled model of a linear spring where k is the spring stiffness and is the spring length in the relaxed state The spring model is formed by the source of force F k D controlled by the spring prolongation D Ly evaluated by the integrator block Chapter 10 Diagrams in graphical form Chapter overview Using the DYNAST schematic editor you can easily create or edit diagrams in a graphical form The diagrams are set up in a kit like way from physical elements basic blocks and submodel symbols They can be also combined with equations 10 1 Creating diagrams 10 1 1 Environment for creating diagrams Table 10 1 Commands for graphical editing of diagrams CTI MM E 10 1 10 2 CHAPTER 10 DIAGRAMS IN GRAPHICAL FORM Diagrams can be created in a graphical form in the diagram window using the DYNAST schematic editor To open the window for creating a new diagram 1 From the File menu choose New 2 In the New File dialog select Diagram in the File type drop down list 3 Specify the File name and diagram Title 4 Click the OK button Once the diagram window opens diagram related menus and a toolbar will appear at the top of the DYNAST main win
13. if Vx 0 or the ideal open connection if Ig 0 The element K can be then replaced by an ideal indicator of through or across variable I 1 I I lt i gt lt lt gt 40 SYSTEM i Ve dS SYSTEM E A a b When evaluating Yo s DYNAST considers the following initial values e across variables of C type elements e through variables of C type elements e output variables of BI type integrators Table 14 1 Transfer functions of physical diagrams I V admittance Tels impedance Vi s Ve 5 Ds I V transfer admittance gls transfer impedance Vets Ve S I INS V I across variable transfer Vk s through variable transfer Ix s Ve S I IS Table 14 1 gives a survey of transfer functions of physical diagrams expressed in terms of across and through variables The denominator of each function represents there the indepen dent variable of the related excitation source When computing the individual components Y s of the response transform Y s using the transfer functions A s DYNAST considers all other e independent E type sources as short circuited e independent J type sources as disconnected e independent BS type blocks as sources of zero signal 14 2 SUBMITTING SEMIS YMBOLIC ANALYSIS 14 3 14 1 3 Responses in semisymbolic form In the case of linear models with constant coefficients the Laplace transform of responses are rational functions of the general form F s K s z
14. 11 1 11 1 1 Synchronization of diagrams with problem text files 11 1 11 1 2 Submitting diagrams in textualform 11 2 11 2 Submitting texts of physicalelementg 11 3 11 2 1 Physical elements between nodes 11 3 11 2 2 Physical elements in series 000 eee eee 11 5 11 2 3 Inductive coupling 2 0 2 0 0 0 00 00000084 11 5 11 3 Submitting texts of basic blocks 11 7 11 4 Submitting texts for submodel insertion 11 10 11 5 Catalogue of component parameters 2 e 11 12 12 Nonlinear analysi 12 1 12 1 Modes of nonlinear analysis 12 1 12 2 Submitting nonlinear analysis 2 ee 12 2 12 2 1 Transient analysij 0 0 00 ee ee ee ee 12 2 12 2 2 Desired variables of nonlinear analysif 12 3 12 2 3 Occurrence of desired variable points 12 4 12 2 4 Static or steady state analysis 2 00008 12 4 12 2 5 Sweeping parameter amalysiS 12 5 12 2 6 Initial conditions of transient analysis 02 12 6 12 2 7 Initial solution estimate a eee ee 12 7 12 2 8 Large signal analysis e 12 7 12 2 9 Changing or adding nonlinear analysig 00 12 8 12 2 10 Family of responses or
15. LF 0 H field circuit inductance RF 0 1 ohm field circuit resistance Jm 0 kg m 2 armature moment of inertia Bm D N m s rad armature to housing damping factor 40 402 409 406 408 10 108 40 10 m Expression DRE i 10 4 CHAPTER 10 DIAGRAMS IN GRAPHICAL FORM Placing text notes To place a text note in a diagram 1 From the Place menu choose Text note 2 Move the Note symbol over the diagram to the desired location and click the location 3 Right click the mouse to stop placing notes 4 Double click the Note symbol to open its dialog and type in the text then click OK 10 1 3 Interconnecting parts Parts have pins corresponding to signal or energy interactions of the components they represent Multipins affiliate several pins Pins have their names and they are either generic or energy domain specific electrical magnetic thermal fluid and mechanical translational or rotational To see the name of a pin position the mouse pointer over it for a while Interconnecting pins To interconnect some pins of part instances placed in the diagram 1 From the Place menu choose Link 2 Click in turn the tips of the pins to be interconnected by the same link you may also click locations between the pins to deflect the link from a straight line 3 Right click the mouse to discontinue the link 4 Go to the second step if you want to interconnect other some other pins 5 Double right click the mouse if you d
16. PHYSICAL DIAGRAMS 7 1 2 Power and energy variables Some through and across variables forming pairs of power variables are shown in Table The through and across variables differ in the way in which they can be directly measured To measure the through variable entering an energy entry the entry must be disconnected from the rest of the system and then re connected back via a measuring instrument Measurement of an across variable does not require any such disconnection The measuring instrument is connected between distinct energy entries of the system Table shows also examples of energy variable pairs i e the variables which can be eval uated by integration of power variables over time The empty window in the table corresponds to the variable the existence of which has not been observed 7 2 Multipole models of dynamic systems 7 2 1 Physical diagrams In the multipole models of dynamic systems based on the above assumptions the individual subsystems are modeled by multipoles Each energy entry of the modeled subsystem is rep resented in its multipole by a pole In the physical diagram representing schematically a multipole model of a system multipoles are denoted by graphical symbols with poles pictured by short line segments sticking out of the symbols The sites of energy interaction between component energy entries are represented in the multipole diagram by its nodes To indicate which energy entries are adjacent in a site
17. TEXTS OF BASIC BLOCKS 11 9 Insert Basic Block Type transfer block x Name Fo Output node Wyo Input node A y Help Submitting Factor K text of 108 10 10 106 10 10 10 10 10 T transfer Cancel block Numerator M y Denominator N Statement F gt BT Y K MIN X B5 u B6 x sin time 5 VD x c x 2 u c x 2 a b Examples Both block diagrams represent the differential equation d AH sint 5 Text of the diagram in Fig a SYSTEM c 1m Bl gt BS u sin time 5 B2 gt BS xDOT u v B3 gt BI x xDOT B4 gt BS v c x 2 TR TR 0 200 PRINT x u RUN END Text of the diagram in Fig b SYSTEM c 1m B5 gt BS u sin time 5 B6 gt BO x VD x c x 2 u TR TR 0 200 PRINT x u RUN END 11 10 CHAPTER 11 PROBLEMS IN TEXTUAL FORM 11 4 Submitting texts for submodel insertion The respective dialog opens after choosing Insert Submodel from the System menu Insert Submodel Properties Interface Parameters Name T1 3 Type Folder Submodels electrical A Title electro mechan MOSFET revised electronic N channel MOSFET bit gt N channel depletion M diode N channel enhancemen JFET Simple N channel MOS MOSFET P channel MOSFET lt gt simple transistor example Statement T13 gt Omosnel 1 6 0 out L 200u W 200u P channel depletion MO opamp P channel enhancemen
18. The dynPlantL block represents the dynamic model shown in Fig a above Model vozku s kyvadlem implemenentovan v DYNASTu je v blokovm schmatu reprezentovn blokem S Function
19. View 15 3 Arrangement of displayed plots 15 3 1 Graph grid and variable waveform marks There are the following commands in the Plot menu and main window toolbar icons for the plot arrangement plotShowGrid0 eps Display or removal of the graph grid Differentiation of displayed variable waveforms by marks The marks are useful especially when the plotted waveforms are printed in the black and white form The mark density can be controlled at the right end of the main window toolbar 15 3 2 Notes in graphs The displayed variable waveforms may be commented by textual notes To do so use the dialog Text properties opened by choosing Text from the Plot menu Annotating text Popisek k ivky sin x Fant Properties Font face Font size Font of textual Arial 2 gt Blr ulx x notes in graphs Text Alignment Text Reference Align to variable Delete le K ov as q my y Close gt r e Help 15 4 CHAPTER 15 PLOTTING OF RESULTS The note text should be typed in the Annotating text field You can choose for the selected note text specific fonts bold italic underline subscript superscript If you want the text to follow a variable waveform when its graph is transformed utilize the Text Alignment field 1 Select one of the variables in the Align to variable roll down menu 2 Drag the reference point displayed together with the text to an appropriate place on the v
20. an electronic source of electrical current In the fluid system a pump driven by a motor forces a constant flow of water from a reservoir into the open tank Water is returned back to the reservoir through a long pipe with a restriction at its end The rectilinear mechanical system is powered by the weight of a body suspended on a cable connected to a hydraulic damper by a helical spring via a pulley The pulley friction is assumed negligible The rotational mechanical system consists of a flywheel linked to a ventilator propeller and to an engine by a long shaft torsionally flexible The drawings of systems shown in the left column can be readily converted into physical diagrams shown in the right column of the table The energy interactions in the examples are assumed to take place at the subsystem interconnections denoted by the characters M and N These interaction places are represented in the diagrams by their nodes Each of the examples consist of four subsystems The subsystem No 1 modeled by a source is considered as the system surroundings Each of the system subsystem numbered 2 3 and 4 is modeled by a physical element representing its dominant dynamic effect More realistic models could be set up for each subsystem by combining several physical elements 8 2 3 Nonlinear time variable and controlled elements The parameter p of ideal elements is constant The constitutive relations of physical elements submitted to DYNAST need not be con
21. argument values should be submitted in the ascending order so that x lt x 1 for each i A function discontinuity y _ y at x should be specified by two value couples x y and x y y y Y Yj ae io An Yje EEE X Xz X Xj This figure illustrates the way in which DYNAST evaluates tabular functions between their submitted discrete points DYNAST interpolates the function y f x at any point x between neighboring arguments x and x 1 where xj lt x lt xi 1 by a line segment such that Yi 1 Yi U RA Xi Xi Outside the interval lt x x gt defined by the table the function y is extrapolated linearly For any x lt xj the function y is extrapolated by a line passing through the first two table points at x and x2 Similarly for any x gt x the function y extrapolates a line passing through the last two points at x and xn b 4 4 CHAPTER 4 USER DEFINED FUNCTIONS Examples Parameters of the function given in Fig a are shown specified in the dialog screen shot Their submitting will result in the statement DIOL TAB 1k 10 0 0 30 1k The saw tooth impulse function shown in Fig b can be specified by as GAP TAB 0 0 d 0 2 d A 2 d 0 3 d 0 These functions can be utilized for example in equations i DIO1 v Z GAP time 4 3 2 Importing tabular functions You may also import tabular user defined functions via ASCII files Thi
22. characteristics 12 8 12 3 Fourier analysis 12 10 12 4 Text of nonlinear analysis 0 000 eee eee ee 12 11 13 Numerical frequency analysis 13 1 13 1 Excitation for numerical frequency analysis 13 1 13 2 Submitting numerical frequency analysig 13 2 13 3 Text of numerical frequency analysig 00004 13 4 14 Semisymbolic analysi 14 1 14 1 Options of semisymbolicanalysig 0 0 0 0000 ee eee 14 1 14 1 1 Responses of block diagrams 14 1 14 1 2 Responses of sical diagrama 14 2 14 1 3 Responses in semisymbolic form 00 14 3 eas ok ek de Ba 14 3 e at a ane 14 7 4 CONTENTS 14 3 Text of semisymbolic analysis e 14 12 14 3 1 Text of transform functions oo o 14 12 ee eats oy a a 15 1 esd Gos ence meen ec ee dh ech et 15 1 Md be eee oe Bae eo eee eee 15 2 15 2 1 Automatic setting of scales 15 2 152 2 Setting scales by the use 15 3 ee ee Gee eee ee eee 15 3 a Ga le He ee ee 15 3 ee eee eee ree re re 15 4 fis aa ee ee ds e 15 4 a gan oa la oon oe ew 15 4 er ee re 15 5 ii 6 4 utes gale 2 oe amp belo 4 acon 15 6 ede Buns Baa Boe A se 15 7 16 Creating and editing submodels 16 1 ee ee ere 16 1 16 2 Creating submodel
23. composition According to the postulate of continuity Vi 0 7 2 k where iz k 1 2 are through variables entering a multipole Obviously this postulate is valid also for through variables entering a node of the multipole model According to the postulate of compatibility Vik Vi Wk 7 3 where v and vx are absolute across variables of two poles of a multipole and v z is the relative across variable between these poles In general the postulates may not apply to the complete set of poles of a multipole In any case however the poles of each multipole can be separated into disjoint subsets such that both postulates are valid for poles within each subset a b d c e Example In the case of the multipole modeling the three phase induction motor shown below the postulates do not apply to the complete set of the poles as their variable come from different energy domains However they apply separately to the subset of electrical poles a b and c and separately to the subset of mechanical poles d and e We can thus specify the postulate of continuity in this case as la ip ic O and ig ie 0 According to the postulate of compatibility for example Vha Vp Va OF Ved Ve Va but not Vda Vd Va ig ety a Postulates of continuity and compatibility apply also to ideal connections Thus in agree ment with 7 3 we can write for absolute across variables v and vp at the ends a and b of the
24. event If the identifier event is set to STOP the DY NAST run is terminated at the moment of the event occurrence expression is a logical expression which defines the particular event The event is assumed to occurs when expression becomes true order is a positive integer n indicating the event order e If the value of the order n gt 1 the event variable changes its value from 10 to the value of the TIME variable when its expression becomes true for the n th time only and then it keeps this value constant up to the end of the analysis e In case order is set to 0 the corresponding event variable changes its value to a new TIME variable value each time its expression becomes true again The default values of the event order is 1 Bx 1 07 0 57 0 07 0 57 1 07 E A s event 107 5 0 E B s event 107 5 o T T T T T 1 0 2 4 6 8 10 12 Example The figure shows waveforms of a variable x t and of associated event variables the initial values 10 of which are out of the figure range The events are specified as x sin 1pi time EVENT A 0 x lt 0 EVENT B 3 x lt 0 EVENT STOP time gt 10 Event A occurs each time when x t passes from positive to negative values Event B occurs once only when x t passes from positive to negative values for the third time The occurrence of event STOP results in termination of the analysis Chapter 6 Nonlinear equ
25. file name of your library model without path and extension e g diode Sometimes you will need to connect your library to a DYNAST built in construct i e phys ical element or block Then enter the name of the construct to the Type field e g R or BI 16 3 Organization of submodels In DYNAST information about submodels is split into two types of files One mod file de scribes dynamic behavior of single submodel One 1br file describes graphical symbol of several related submodels The structure of mod files and 1br files is independent i e there is no requirement where should be a particular mod file with respect to a particular 1br file By convention mod files are placed in a folder which is on the same level as the corresponding lbr file see example below electrical diodes diodeA mod diodeB mod diodes lbr A lbr file references mod files by file name the value of the type field of symbol de scription A mod file may reference an entry in the 1br file by the SYMBOL documentation statement 16 6 CHAPTER 16 CREATING AND EDITING SUBMODELS All mod and 1br files are always referenced by short file name not by full path DY NAST then searches certain folders to find file with given name The files are searched in the following order 1 The folder of the referencing file i e a prb or mod file and its subfolders in alphabet ical order 2 The DYNAST m
26. from the ambiguous decision which procedure to choose Both the step size and order of the numerical procedure are continuously optimized during the solution process to minimize the computation time while respecting the permitted accuracy tolerance To increase the computation efficiency further symbolic differentiation to evaluate equation jacobians and sparse matrix techniques are utilized Even if the user specified initial conditions of the solution are inconsistent DYNAST is able to find their nearest consistent values Fast Fourier transform is used to compute frequency spectra of steady state responses 2 2 DYNAST Shell DYNAST Shell provides a user friendly access to DYNAST Solver It has been designed to suit well both to newcomers and advanced users All operations are intuitive and supported by a context sensitive help system Simultaneous pressing of the Shift and F1 keys opens a help message related to the tool you are currently using A built in syntax analyzer is continuously checking the submitted data and gives an error message in case of its occurrence The system of menus placed at the top of the main window as well as the variety of icons at the toolbar below it do not remain unchanged during the DYNAST Shell exploitation The menus and toolbar change depending on which of the working windows is currently active This simplifies considerably users orientation in the tools and options available for different operations The g
27. in the dialogs The values of the function parameters A B C D E can be specified by numeric constants or symbolic expressions Their default values are A D 0 andB C E 1 Insert Function Composed Transformation Trimming Periodicity hoe f A Bg Ce D DES FL Cancel A 2 B 3 E El Help e f o ooo Bee Specification of function f transformation 908 402 10 106 10 10 106 10 10 m Expression Statement FL LIN 4 2 B 3 Example A function representing the linear relation f e 3 e 2 denoted by the identifier FL can be formed by transforming the linear function LIN identity with parameters A 2 and B 3 The other parameter values remain default DYNAST then generates the statement FL LIN A 2 B 3 The equations v 3t 2 and Q 3p 2 for example can be submitted as v FL time Q FL p 5 3 TRIMMED FUNCTIONS 5 3 Example The function f e Jo e 1 denoted as D1 can be formed by transforming the standard function exp e with the parameters A Jp B Ip C theta This would result in the statement D1 EXP A 10 B 10 C theta This function can be then used for example in the equations i1 Dl v1 i2 Dl v2 Example The equation q 4 3 2p 1 5 2p 1 can be submitted as F POLY 0 1 0 5 A 4 B 3 C 2 D 1 E 2 q F p where the first statement was generated by DYNAST for a transformed user defined polyno
28. inserting a link to the submodel is of the form component submodel interface amp katalog part parameter value parameter value The submodel link is inserted in a regular way except that the list of parameters begins with the statement amp katalog part Some of the parameter values specified in the catalogue can be replaced by values specified behind this statement Example The statement T1 Onpnl b e c PARAMS N1n20 Re 10 Rc 2 refers to data from the catalogue of the component N1n20 stored in the file PARAMS CAT Values of parameters Re and Re will be replaced however by values Re 10 and Re 2 Chapter 12 Nonlinear analysis Chapter overview Nonlinear analysis allows you to compute transient and steady state re sponses of dynamic systems It also provides location of a quiescent operating point of a non linear system the system linearization and both small and large signal analyses at this point In addition you can acquire frequency spectra of periodic steady state responses of nonlinear systems The nonlinear analysis can be applied to algebro differential equations in the textual form as well as to physical or block diagrams in the graphical form 12 1 Modes of nonlinear analysis Transient analysis is executed in DYNAST by solving the system of algebro differential equa tions f x t x t t 0 12 1 in the interval ty lt lt ty for initial conditions x fo In general f is a nonlin
29. m for example choose Edit system parameters from the System menu to open the dialog System Parameters Description OK Nim spring stiffness kg body mass Cancel N s m damping m s 2 gravity accerelation New s Final time Click now the amp icon in the main window toolbar to see the response for the modified parameter 1 3 DYNAST availability You can choose different versions of DYNAST Solver which provides number crunching for DYNAST Shell The function of all the available solvers is the same they differ only in the maximum number of equations the can solve and in some solving procedures To select a suitable solver choose Options in the Preferences menu in DYNAST Shell and then choose the solver in the Solver tab e Solver online allows solving problems across the Internet on our server in Prague without any limitation of problem size e Firewall immune Solver online is similar to the previous solver but it was designed for users with a limiting access to the Internet due to a fire wall e Lite Solver offline can be used without an Internet access but for problems of a rather limited size only e Student Solver offline allows solving larger problems then Lite Solver but requires a soft key obtainable after user s registration at www virtual cvut cz cgi bin Register e Professional Solver offline allows solving problems offline without any limitations to users who asked for a hardkey at dynO virtua
30. of a mass Pure inductors and springs model accumulation of energy by the virtue of a through variable The energy accumulated in pure capacitors inertors inductors and springs can be retrieved back at any time In the case of the elements with an asymmetric symbol even the sign is omitted for simplicity It is always assumed that the pin shown in Table in the upper position is associated with the sign regardless if this sign is explicitly shown in the symbol or not Symbols for fluid or acoustic capacitors as well as rectilinear or rotational inertors have one pin only To simplify the notation the pins corresponding to the poles are omitted as they must be always associated with the system model reference 8 4 CHAPTER 8 PHYSICAL ELEMENTS 8 2 2 Sources of energy and related elements Table 8 1 Sources of energy and ideal indicators wa J through across Generic variable variable source source Mechanical source source of translational of force velocity source source of of angular torque velocity Mechanical rotational Constitutive relation Table 8 2 Ideal indicators and sensors TYPE IIS E across through Generic variable variable indicator indicator Constitutive relation Table 8 3 Ideal switches and operational amplifiers we D gt 7 ideal operational Generic switch amplifier Besides the energy storing and dissipating elements we need also pure physical elements model ing
31. of the block type is a two character string denoting the block type in agreement with Table If the first two characters of the name coincide with the block type the string gt type can be omitted node is a user defined name of the node to which the block output is connected parameter is a numeric constant or a symbolic expression defining the block output variable If the parameter value is 1 the string 1 can be omitted Example The block submitted in the dialog shown above is the explicit block B1 acting as an autonomous source of signal u A sin t It will be specified by the statement Bl gt BS u A sin omega time The parameter of a transfer block with the transfer function F s K M s N s is of the following form factor numerator denominator input factor is a numeric constant or symbolic expression giving the value of the factor K of F s The symbolic expression should be enclosed in parentheses If the value of K is 1 it can be omitted numerator is the name of the polynomial M s i e the numerator of F s If its value is 1 the string 1 can be omitted denominator is the name of the polynomial M s i e the denominator of F s If its value is 1 the string 1 can be omitted input is the user defined name of the node to which the block output is connected The specifications of the polynomials M s and N s must precede the specification of the transfer block 11 3 SUBMITTING
32. of transform functions Transform functions should be specified in the PZ section of the PRB file The section begins with the PZ string The section must be preceded by the SYSTEM section with a diagram specification TRAN function function where function is of the form identifier response excitation COEF identifier is a user specified identifier of the required transform function response can represent e V node which is the node across variable of a node e V element which is the across variable of an element of E R L type e I element the through variable of an element of J G C type excitation comma separated from response by the character may represent e the name of a source J or E or of an autonomous block BS assuming that function is a transfer function This can be e the string INIT if function is the transform of the zero input response to an initial state COEF is the string indicating the requirement to compute also polynomial coefficients besides the polynomial roots When the string INIT is specified the initial state is submitted by the separate statement INIT variable value variable value variable can represent e V element which is the across variable of a C type element e I element which is the through variable of an L type element value is a numerical constant Transform function responses is specified in the TRA section of the PRB file The sect
33. power Simple P channel MOS fluid power mM MOSFET semi empirica mosne1 Cancel Help 1 When dialog opens Submitting text for inserting submodels e either locate in Folder the folder in which the submodel is stored and then click the submodel title in Submodels e or specify the type of the submitted submodel in the type box 2 Type the name of the modeled component in the box Name 3 Open the tab Interface and associate the individual submodel poles with the diagram nodes 4 Open the tab Parameters and update values of the submodel parameters 5 Click the Insert button The statement for inserting a submodel is of the form name gt type node node parameter value parameter value name is the user name of the component modeled by the submodel type is the submodel type contiguous to the character node is the name of the node to which the pole is connected even if this is the reference node identifier 0 Names of the nodes are separated by dashes or commas 11 4 SUBMITTING TEXTS FOR SUBMODEL INSERTION 11 11 parameter is the name of an external parameter of the submodel The list of the external parameters is separated from the list of nodes by the character value is the numerical constant or symbolic expression giving the value of the external param eter If the value of an external parameter is missing the parameter will take o
34. related to the flow of energy and matter between the system and its surroundings as well as between the subsystems of the system Energy and matter may change their forms inside the subsystems or they can be accumulated there and released later Energy can be also dissipated in the subsystems in the form of heat To investigate the flow of energy in or out of a subsystem rigorously we should enclose the subsystem into an imaginary closed surface a subsystem interaction boundary and to integrate infinitesimal flows of energy all over the boundary area In most of practical measurements or calculations of energy flows between subsystems we resort tacitly to the following approximations e The flow of energy to or from each subsystem takes place in a limited number of energy entries formed by cross sections of electrical terminals fluid inlets mechanical contacts or shafts etc e The adjacent energy entries of different subsystems form sites of energy interaction e Flow of energy E through an energy entry i e the power power consumption P t of the entry is dE ae P t i t v t where i t and v t is the average value of a through variable and an across variable over the entry cross section area respectfully ln this text we will consider the energy flow only as the flow of matter ri dm dt is usually converted into the volume fluid flow Q m p where p is the specific mass of the passing matter 7 1 7 2 CHAPTER 7
35. submitted analysis select it in the list and click the OK button As a result the Nonlinear analysis dialog opens and allows you to make the changes 12 2 10 Family of responses or characteristics DYNAST allows you also to store results from several transient analyses or swept static analyses in a common result O file The easiest way in which you can have a family of transient response stored for a set of parameter values in a common result O file is as follows 12 2 SUBMITTING NONLINEAR ANALYSIS 12 9 1 Specify the desired transient analysis using again the Numerical Nonlinear Analysis dia log However before clicking the OK button check the Hold results box 2 In each next analysis specification apply the required parameter modification in the System Parameters tab of the Nonlinear analysis dialog Do not forget to specify initial conditions even if they are zero At the same time check the HOLD results box 3 When submitting the last analysis leave the HOLD results box unchecked Numerical Nonlinear Analysis 2x Analysis Desired Variables Initial Values System Parameters Computation Control Variable Value Description Evaluated variables v s AA Element parameters Modification of system 4 24 electrical conductance parameter A similar approach can be applied to computation of a family of static characteristics using the swept static analysis this time 6 Family of characteristics
36. their ranges as well as by the number and distribution of their computed points 15 5 2 Plotting data from external sources The data plotted simultaneously from different O files do not need to be generated by DY NAST exclusively They can come from other sources like digital measuring instruments for example This option allows for comparing the computed and measured variables Correct plotting of data requires their conversion into the DYNAST O file format 1 2 3 is Row beginning with the character followed by the table title Empty row Row with the independent variable description in the form X variable name Rows with descriptions of dependent variables each in the form i variable name where i is the serial number of the variable Empty row List of numerical values of the variables in the form mantissaleexponent where mantissa must include the decimal point Row beginning with the character If the total number of variables is n and the waveform of each variable is given by r num bers the total number of variable values in the table should be r x n If it is not so values forming the last incomplete row are ignored 15 6 CHAPTER 15 PLOTTING OF RESULTS Example An O file with waveforms of four interdependent variables may be arranged in the following way Title X variable_1 lee variable 2 2 variable_3 Iyi variable_4 0 000000e 000 000000e 000 0 000000e 000 000000e 000
37. you want to submit still another response click New Response You will find the resulting semisymbolic form time domain responses in the same window as the roots an coefficients of the transform functions To see a symbolic form response of a transform function click the function in the window Semisymbolic Results a 2 x Series Series RLC circuit Close i G Y CJE Yin 1 E E Export to i WCO 1 E INIT MATLAB Copy to Clipboard EE i CO YCO 1 E INIT Time characteristics y t 6 250000e 000 expf 3 000000e 000 t cosi 4 000000e 000 t 1 570796e 000 14 2 SUBMITTING SEMIS YMBOLIC ANALYSIS 14 9 Example The required time domain responses of the series RLC circuit as they were com puted and plotted by DYNAST Impulse characteristic of transfer function G g t 6 250e cos 4t 1 571 Step response of transfer function G gsrep t 1 1 250e7 cos 4t 2 498 Response to initial state vc 0 1 V iL 0 1 A vco t 1 118e7 cos 4t 0 4636 Series RLC circuit 2 57 2 04 1 54 1 0 0 54 0 0 0 57 T T T T T T T T T 1 oo o1 02 o3 O04 05 06 O7 08 09 10 TIME x G G V C E A STEP G G V C E Series RLC circuit 1 07 0 8 0 6 0 4 0 2 0 04 0 27 T T T en n 1 oo 01 o2 03 o4 05 06 07 08 09 10 TIME E VCO VCO I E INIT DYNAST allows also for computi
38. 1 s 22 _ potas tags s p1 s p2 bo bi s b2s DYNAST is able to express the response transforms F s in a semisymbolic form with the Laplace transform variable represented by the symbol s The multiplicative factor k the polynomial roots z1 Z2 91 P2 1 e transform function zeros and poles respectively and the polynomial coefficients ag a1 az bo b1 b2 are given there by numbers For the semisymbolic form of rational functions DYNAST can compute the following re sponses using the symbolic inverse Laplace transformation e impulse characteristic of transfer functions H s as yyi t L7H H s e step responses of transfer functions A s as y t H s s e responses to initial state as yo t L7 H Yo s Besides these characteristics DYNAST can also compute time domain responses y t to excitations e t the Laplace transform L u t of which are of the rational form Some of these functions are given in Table 14 2 The BT type transfer block can be used as a source of such excitations Also responses to such excitations and at the same time to nonzero initial conditions are computed by DYNAST All these time domain responses can be expressed by DYNAST in the general semisym bolic form y t Y ke cos wjt Qi O lt tK lt tf where as well as the exponential and cosine functions are expressed by symbols whereas k Qi 0 and are given by numeric constants Th
39. 3 2 Logical operators The variety of logical operators available in DYNAST is given in Table 3 4 If a logical expres sion is true its numerical value is 1 if it is false its value is O If an arithmetic expression of a numerical value n gt 0 5 is inserted into a logical expression it is considered as true otherwise it is taken as false Table 3 4 Logical operators logical AND logical OR logical NOT less than greater than less or equal greater or equal not equal equality 1 1 6 2 2 2 2 2 2 Examples You can submit the logical expression X A OR B AND C OR D as X A B amp C D Using logical expressions you can also submit branched expressions For instance the expression 10 for z lt 2 y l 3z 4 z gt 2 can be submitted as 3 3 ARITHMETIC AND LOGICAL OPERATORS 3 5 Y 10 Z lt 2 3 Z 4 Z gt 2 4 42 45 0 5 0 5 s t t t The figure illustrates DYNAST interpretation of the following expressions sl 0 51 time gt tl amp time lt t2 s2 sl s3 sl lt gt 0 v b Fig a gives an example of a piece wise nonlinear characteristic submitted as F k x x lt xl k x1 x gt x1 FO The characteristic shown in Fig b exhibits hysteresis so that the values of v are controlled not only by values of u but also by the sign of their changes Using logical operators v can be expressed by as v vl u gt ul u gt 0 am
40. 30 C 2pi L 1 2 U 1 2 b FA a Example Fig c shows the characteristic i J e 1 linearized outside 0 lt v lt vg in such a way that its derivatives di dv at both ends of this interval remain continuous i e that mv for v lt 0 i Ip e 1 0O lt v lt vo n v vo io v gt Vv where m 198 n Ip8eP and io Ip ev 1 This characteristic can be submitted as both transformed and trimmed exponential function D3 EXP A 10 B 10 C theta L 0 U v0 i D3 v 5 4 Periodic functions Using the Periodicity tag a function g e can be converted by DYNAST into the periodic func tion f e such that fle g e pro O lt e lt P a fletk P f e where k is an integer and P is the period of the function f e a 10 5 5 TEXT OF ALTERED FUNCTIONS 5 5 Example The plotted periodic function a t can be formed by the simultaneous transforma tion and trimming of a sinusoid as halfsin SIN B 10 C 2pi L 0 U 5 SL 0 SU 0 P 2 a halfsin time Example A periodic impulse function can be easily formed from the impulse user defined function for example as Fimp PULSE TD 2 TR 1 TT 2 TF 1 P 5 v Fimp time However the same periodic impulse function can be easily obtained by the following alteration of a tabular user defined function Fimp TAB 0 1 1 1 2 0 3 0 4 1 5 1 P 5 v Fimp time 5 5 Text of altered functions An altered func
41. 44 UPDATED Submodels E reference absolute frame electrical electronic magnetic electro mechanical rectilinear damper submodels Selection n translating mass of part planar fluid power E from symbol heat transfer librar y multi domain translatory spring blocks A a source of velocity The ends of pins of the placed part will get snapped to the grid underlying the diagram window When you place a part in a diagram you actually create an instance of the part Each part instance should be given a specific name If two part instances in a diagram have identical names an error is indicated by enclosing both part instances into yellow boxes Specification of parts To specify properties of a part instance placed in the diagram 1 Double click the part instance to open the part dialog 2 Type in the instance Name and its Parameter value s 3 If you want to hide either the part name or parameter s in the diagram clear the respective box in the part dialog For a detailed submodel description click the icon A or E in the bottom right corner Submodel Properties ax Separately excited DC machine Cancel Y Name Type Help MOTOR shuntmot mod IV Submodel parameters Parameters from a catalog Specification Parameter Value Description Kem 1 W sfrad machine electro mechanical constant of p art La 0 H armature circuit inductance instance Ra 0 1 ohm armature circuit resistance
42. 866773e 000 1 133227e 003 354418e 000 033002e 000 9 033002e 003 666610e 000 6 531626e 001 1 019687e 000 Dwo fF ooo Plotting data in an O file can be done in two steps 1 Choose Open from the File menu select DYNAST Result Text Files O file from the Files of type roll down menu and specify the path to the target O file to open window with the file in its textual form 2 Choose Result Plot from the View menu to open window for plotting the O file content 15 5 3 Printing and exporting plots For printing a plot by the printer choose Print or Print Preview from the File menu By default plots are printed in the full page size with the portrait orientation To change this choose Print Scaling from the File menu Plots can be exported for their processing by others programs in the following ways Saving to clipboard for MS Paint or MS Word for example choose Copy from the Edit menu The plot size corresponds to the size of the plot window Export to BMP format Bitmap choose Export to Bitmap from the File menu The plot size corresponds to the size of the plot window Export to EPS format Encapsulated Postscript choose Export to PostScript from the File menu The plot size curve thickness and color as well as other features can be set in a dialog Saving to clipboard in a textual form pro further processing in MS Excel for example choose Copy as Text from the Edit menu 15 5 IMPO
43. DYN Nad Lesikem 27 CZ 160 00 Prague 6 Czech Republic Easy computer assisted modeling of dynamic systems User s manual for simulation system DYNAST Herman Mann Michal Sevcenko Prague October 4 2009 Contents 1 Examine DYNAS 1 1 1 1 What DYNAST can do fot ya 1 1 12 _ Try out DYNASTI aa a 1 2 1 2 1 Try DYNAST on the Intermel 1 2 12 2 Try DYNAST on yourcomputey 00 4 1 3 13 DYNAST availability 2 en 1 5 2 1 2 1 DYNAST Solve oi me ee ee ee eee a a eo 2 1 22 DYNAST Shell se a eee ea aa e aa Ga e d daoi itina iiri 2 3 italy eee aie erase E 2 4 Saget a ed od oad Ce es 2 5 241 Filetype se as oe ee a ee Re ee ee a n 2 5 TESNE ee II 2 6 ee ee ee eee ee 2 7 ge aven ees e dee beeen 2 8 3 1 3 1 Function expression ooo e e e a 3 1 AA he eae feed dua duets ue hoe 3 1 3 2 1 Numerical constants 0 e 3 1 eee eS ee ore ree 49 pie Bias Bias Oa a he oe ee os 33 3 3 1 Arithmetic operators ooe e e e e a 3 3 3 3 2 Logical operators ee goa ee 3 4 3 4 Standard and random functions 20 2 2 2 2 2 00004 3 6 3 4 1 Standard functions 0 0 2 020020 08 8 3 6 342 Random functions 02 0000 2 ee eee 3 6 4 User defined functions 4 1 os 4 1 4 2 Impulse functiana 0 00000 a a 4 1 A Sele os Hah Ba A Beek Benge 4D eee eee Serr ee err 4 2 Spas be ho be
44. EDIT SELECT from the Edit menu You may use the mouse to select move and copy the objects in the symbol body in the same way as in the diagram editor Moreover if you select a single object you may modify its shape by dragging its manipulation points small color boxes If nothing is selected you may change the size of the bounding box by dragging its manipulation point in its lower right corner Properties of pins and texts may be changed by double clicking them with the mouse All editing operations can be undone by ID EDIT UNDO from the Edit menu but be sure that the right pane of the symbol editor is selected otherwise operations done in the left pane will be undone Editing properties of the symbol You may edit the properties of the symbol using the Symbol Properties from the Edit menu or by double clicking the editor window The IDD LIBRARY PROPERTIES appears Here you specify following properties of the symbol e the name e the shortcut i e the default name of parts created from the symbol e the DYNAST statement i e type of DYNAST statement to which the symbol should be converted usually a model e the description displayed in the library browser of the diagram editor Library of symbols are used in the diagram editor to represent models Most often you will need to connect your library symbols to library models specified in separate mod files To do this type model to the Type field of the dialog where model is the
45. NAST options Editor Plot Diagram 2 Tools LA Folders Solver Problem folder Text amp Diagram files D C Program Files Dynast data l Submodel folders Text amp Diagram amp Symbol Library ee files mx As sociation C Program Files Dynast submodels of working C awork Examples 00 Next S ubmodels electrical folders C awork Examples 00 Next Examples electro mechanical Stormo N pov da Files with problem specification can be created in any folder of your computer However to exploit all the user comfort DYNAST Shell offers you should properly associate folders you use for your work with the program The dialog for folder association opens if you choose Options from the Preferences menu Open then the Folders tab and set your working folder in the Problem folder box DYNAST Shell will store in this folder all DIA files with diagram schematics all problem text PRB files all the related result O files and also all the layout LAY files 2 4 DYNAST FILES 2 7 At the same time you can set in the Submodel folders box several folders for storing sub model MOD text files The first of the folders is fixed however as it stores the standard sub models coming from the DYNAST installation For safety reasons you should not store your own submodels in this folder Avoid namely any modifications of the standard submodels as your modifications might be lost after upgrading your DYNAST instal
46. NLINEAR EQUATIONS where g is a known function and is the independent variable TIME Numerical values of variables or parameters z1 1 z2 t and of their derivatives Z1 Z2 must be submitted evaluated or solved by DYNAST during its current execution before y t is evaluated by 6 3 To submit an explicit form equation to DYNAST follow these steps 1 From the File menu choose New and open a Problem text file 2 From the System menu choose Insert Equation to open the related dialogue 3 Select Type Explicit 4 Enter an identifier for the evaluated variable into the Left hand side box 5 Enter the rest of the equation into the Right hand side box To do this you can use the Expressions dialog as well as the suffix buttons Chapter The explicit equation is automatically copied into the bottom frame in the dialog so that you can easily check it 6 Click Insert Insert Equation Type Explicit y Left hand side pal Right hand side explicit b 2 SQRT b 2 2 c equations Submitting S a a oo a oe oe Statement x1 b 2 SORT b 2 2 c Example The dialog screenshot illustrates submitting the formula for x Note how ever that DYNAST cannot evaluate unless the numerical values of the parameters b and c are known It is thus necessary to submit first two explicit form equations specifying the parameters for example b 3 and c 4 One equation needs to be evalu
47. Note that if the values of the element across and through variables are both positive or both negative the power is consumed in the element If it is not so the element delivers power to the rest of the system model We can thus refer to this assumption as the consumed energy convention Variables of non mechanical elements a T b Fig a shows a real subsystem the energy interactions of which via its two energy inlets A and B are of electrical magnetic or fluid nature The subsystem is supposed to be modeled by the physical element shown in Fig b Orientation of the element with respect to the subsystem happens to be chosen in such a way that its pole represents the subsystem inlet B and the pole the inlet A This interrelationship implies unambiguously that the element across variable v corresponds to the subsystem across variable vga i e the across variable measured at the inlet B with respect to the inlet A It is obvious at the same time that the element through variable i corresponds to the flow of the related medium from the B inlet towards the inlet A Variables of mechanical elements DA Xy A B A x x U EJ XBA ITTTI ITTTI xX a b Fig a illustrates a subsystem the energy inlets mechanical contacts A and B of which are in a translational rectilinear motion with respect to the x axis Once the direction of the reference axis is chosen itis advantageous to orient the corresponding physical e
48. OD file Then you can convert some of the internal submodel parameters into the external ones and to specify their implicit values using the text editor as described in the next paragraph 5 To allow DYNAST the automatic creating of a dialog box for the submodel following the next paragraph add to the submodel text the comments starting with You may want first to develop test and debug the diagram of a whole system and only after this to encapsulate a part of the diagram into a submodel If this is the case copy the diagram part into the clipboard and paste it into the opened schematic window in Step 2 of the above procedure Once the symbol of a submodel is placed into the diagram of a system you can edit the submodel diagram if you select the symbol right click it to open its Edit properties of part dialog box and choose Edit diagram of submodel 16 2 Creating submodels using text editor Each submodel is stored in an individual text file model MOD of the following structure 16 1 16 2 CHAPTER 16 CREATING AND EDITING SUBMODELS model model description pole pole description pole pole description parameter value unit parameter description parameter value unit parameter description parameter value unit parameter description submodel specification EOQ model is a user defined name of the submodel pole is a user defined name of the submodel pole associated with o
49. Properties of blocks and their symbols Block relation is defined inside DYNAST Block relation is defined in an external file Block symbol has just one output pin Block symbol has one output pin at least Block symbol has no input pins with the exception of the transfer block Blocks OL CA Mave Severe DOR priS Each block instance is accompanied by Only values of block parameters are the block relation in a textual form added to an instance of a block symbol Example The the figures a and b show a basic and submodel block respectively Both block however represent subtracting integrators characterized by the identical relation t y ax bx2 dt y0 to Despite the fact that most of basic blocks have no input pin the number of their input vari ables is not limited whatsoever Any variable in the system model even variables not associated with a node can act as an input variable of a basic block This feature provides an exceptional flexibility of block diagram configurations Variety of basic blocks with their relations is given in Table As the submodel blocks are specified in external files their variety can be much larger than that of basic blocks The DYNAST environment allows for easy extension of their variety including the graphical design of their symbols Chapter The number of input variables however is restricted by the number of block pins and each input variable must be associated with a system mode
50. RT EXPORT AND PRINTING OF GRAPHS 15 7 15 5 4 Saving plot layouts The chosen arrangement of plots and other windows can be saved before their closing in an LAY file To do so choose Save Screen Layout from the File menu Besides the overall arrangement of open windows in the main window chosen variables including their scales and text notes will be saved in the file The window alignment during their arrangement is easier if the Ctrl and Shift keys are pressed simultaneously A saved window layout including all the plot arrangements can be restored any time on the screen by choosing Load Screen Layout in the File menu 15 8 CHAPTER 15 PLOTTING OF RESULTS Chapter 16 Creating and editing submodels 16 1 Creating submodels using schematic editor 1 From File menu open New File dialog specify the File Name and submodel Title the select the Submodel box and click OK 2 In the opened schematic window setup diagram of the submodel internal configuration You may use physical elements basic blocks submodels and equations 3 From Place menu choose Pole label to denote those nodes of the submodel diagram that should be associated with the submodel poles and specify the pole names the first char acter must be a letter The reference nodes make an exception they need not be associ ated with any pole nodes and the name of each of them should be zero 4 From the View menu choose Problem or Submodel Text to create the resulting M
51. S O through variable EVALUATED variable or parameter defined by explicit equation across variable of elements R L E S O through variable of elements G C J element parameter event variable 3 3 Arithmetic and logical operators 3 3 1 Arithmetic operators The DYNAST variety of arithmetic operators is shown in TableB 3 The operator for symbolic differentiation is of the lowest priority It must be placed as the last operator in an expression If only a part of an expression should be differentiated the part must be placed between paren theses Table 3 3 Arithmetic operators OPERATOR PRIORITY OPERATION power multiplication division addition subtraction symbolic differentiation Note the following differences between symbolic and numerical differentiation e statement TIME denotes symbolic differentiation with respect to the independent variable t in the symbolic expression preceding this statement e the statement VD variable stands for the variable differentiated with respect to t numeri cally by DYNAST 3 4 CHAPTER 3 FUNCTION EXPRESSIONS Examples The following examples show arithmetic relations and their expressions in the DYNAST language ny b2 r x k a 2 b 2 1 2 2 a time 1 time 3 time gt IA y time ime time E 05 p x 3 2 x x dx TEAN x 2 x 1 x s x s x x x 1 x x dx x 1 32 2 2 Z D Z x 2 y 2 x x y dx dy x 3
52. able drop down list select a variable 4 Check the Polynomial coefficients box if you wish DYNAST to produce coefficients of the function in addition to its roots 5 Click the New function button in case you want to submit another transfer function then rewrite the copy of the previous function Otherwise click the OK button To submit the specification of a transform function representing some response to initial state in the second step of the procedure do the following 14 2 SUBMITTING SEMIS YMBOLIC ANALYSIS 14 5 Select Initial state click the Open button and specify the initial values in the Initial State dialog Initial State x Variable Value Description Element across variables vC 1 Element through variables Specification LL 1 of initial state for semisymbolic analysis Cancel After specification of all the required transform functions execute their analysis by choosing Run Analysis from the Run menu To see the resulting transform functions do this 1 From the View menu choose Result Text 2 From the View menu again choose Semisymbolic Analysis Results to open the Semisymbolic Results window 3 Select an transform function 4 Choose either Roots or Coefficients to see the related values computed for the selected function In the case of a pair of complex conjugate roots Rer j Imr DYNAST computes also the related natural frequency r and damping factor Re r beside
53. according to PRB make a little change in DIA and return it back then synchronize with PRB If message out of date but no difference visible copy whole PRB to clipboard and paste it back Chapter 17 Modeling toolbox for MATLAB 17 1 DYNAST MATLAB in control design DYNAST can be easily used as a modeling toolbox for MATLAB While MATLAB is well suited to control design DYNAST is capable of automated equation formulation even for very realistic models of real systems You can combine these two programs to exploit advantages of both Notably you can implement and analyze a nonlinear model of the plant to be controlled in DYNAST Then for example you may ask DYNAST to linearize the model compute transfer function poles and zeros of the plant model and export them for the plant control synthesis to MATLAB Finally to verify the complete controlled system you can use DYNAST again after augmenting the plant model by the resulting control configuration During this design phase you may use DYNAST to consider also plant nonlinearities as well as the non ideal features of the controllers and sensors in various operation regimes of the control system If the designed control is digital you may verify it by interconnecting DYNAST with Simulink so that these two packages can communicate with each other at each time step How to do it both in the case of analog and digital control is described in this chapter Even the DYNAST sitting o
54. ain submodel directory whichis DYNAST installation directory models and its subfolders in alphabetical order Note that if you have multiple installations of DY NAST the path to this folder depends on which installation is invoked 3 Custom submodel folders as configured in DYNAST configuration The folders and their subfolders in alphabetical order are searched in the order they appear in DY NAST folders configuration Note that these paths do not depend in which DYNAST installation is invoked as configuration information is shared between installations The structure of the 1br files is displayed in the library browser invoked using Place Symbol command of the Diagram editor By default the browser displays the folder and library file names as they appear on the disk with the lbr extension omitted in alphabetical order You may however change the names and or the order displayed in the library browser by creating file named index in an appropriate folder The index file should be put in the folder in which it should control the names and order of library files and subfolders For example the following index file fluid lbr basic fluid elements pumps motors lbr pumps amp motors accums lbr accumulators other ensures that the content of the folder will appear in the specified order and renames the first three displayed items to more user friendly names Refresh line in View Problems F5 To update submodel parameters in DIA
55. al conditions TRA Frequency characteristics of semisymbolic transfer functions Numerical frequency analysis of frequency dependent diagrams 2 2 DYNAST SHELL 2 3 The problems submitted by users either in a graphical or textual form are converted in DYNAST Shell to textual data These data are read in by the SYSTEM section of DYNAST Solver and used for preprocessing equations underlying the submitted problems The linear problems can be directly analyzed numerically in the frequency domain in the AC section or characterized by Laplace transforms in the PZ section The former analysis requires numerical solution of systems of complex coefficient equations The latter operation exploits the double eigenvalue problem solution The resulting rational functions of the Laplace transform variable s can be inverted in the TRA section to obtain semisymbolic or numerical form time domain responses The transform functions can be also converted into their frequency characteristics in the FRE section Systems of nonlinear equations submitted by the user or derived automatically by DYNAST for a submitted diagrams are solved simultaneously in the implicit form in the TR section They are solved by the same algorithm regardless whether they are differential algebraic or an algebro differential mixture There is only one numerical equation solving procedure available in DYNAST but it is very efficient and computationally robust This relieves DYNAST users
56. ariable waveform 3 Select one of the radio buttons in the Text Reference field to determine the note position with respect to the reference point After inserting all notes click the Close button The note position can be modified by mouse even after closing the dialog By clicking a note you can open the dialog again to correct the note or to remove it by the Delete button 15 4 Reading waveform coordinates Coordinates of the displayed variable waveforms can be read in the following way 1 Choose Curve Tracing from the Plot menu to open the Cursor window 2 Point the waveform the coordinates of which you want to read by moving the cursor to it without clicking The coordinates will appear in the Cursor window When you move the mouse along the horizontal axis the cursor will follow the chosen waveform Precision of the coordinate reeding increases if the Shift key is pressed 3 To select another waveform right click the mouse and then click the new waveform 4 The displayed coordinates are related to the origin defined by the plot scales If you wish to choose another coordinate origin choose Reference Cursor from the Plot menu and click the new position of the origin in the graph 5 If there are more variables with different scales plotted in the graph in the window rim select the name of the variable the scale of which should by considered or click the vertical axis of the variable 6 The cross of axes as well as the referenc
57. ated only of course if it is submitted with all parameter values set numerically x 3 2 4 3 2 4 You have is still another option for specifying parameter values before submitting an equa tion in its symbolic form It gives you the dialog opened from the System menu by selecting Edit System Parameters This option is especially useful for later modifications of parameter values 6 3 SUBMITTING IMPLICIT EQUATIONS 6 3 If a user trying to evaluate clicks the Insert button in the above dialog without specify ing b and c first DY NAST opens the Unknown Identifier dialog It asks the user if b is a solved or evaluated variable When the user selects the latter option another Insert Equation dialog opens for specifying a numerical value of b In a similar way the user is forced to specify c Then only inserting of in its symbolic form into the problem text file is enabled Unknown Identifier Identifier b has not been defined Sorting Itis a solved variable Cancel unspecified click OK to declare it variables or parameters It is some other variable i specify it by explicit equation After submitting to nonlinear static analysis Chapter 12 to solve it for x and x2 the following problem text file will be automatically generated by DYNAST SYSTEM b 3 c 4 xl b 2 SORT b 2 2 c x2 b 2 SORT b 2 2 c TR DC PRINT xl x2 RUN END 6 3 Submitting implicit equatio
58. ation of pole through variables in Fig b and of absolute pole across variables in Fig c The total power input of an n pole is defined as P t E Ov 7 1 j where i is the through variable and v is the absolute across variable of the j th pole Therefore we assume that the multipole power input is positive when energy is consumed i e dissipated or accumulated in it If energy is supplied from a multipole into the system the power input of the multipole is negative 7 3 Automated formulation of equations 7 3 1 Postulate of continuity and compatibility The automated formulation of equations in DYNAST for a given physical diagram is based on the postulates of continuity and compatibility Interpretation of these postulates in the form of 7 3 AUTOMATED FORMULATION OF EQUATIONS 7 5 specific physical laws as they are known from some energetic domains are given in Table 7 2 The postulates cannot be proven but no contradicting phenomena were encountered in the field of the classic non relativistic physics used for solving most of the engineering problem Table 7 2 Postulates of continuity and compatibility DOMAIN POSTULATE OF CONTINUITY POSTULATE OF COMPATIBILITY electrical Kirchhoff s current law Kirchhoff s voltage law magnetic continuity of magnetic flux Ampere s circuital law fluid principle of mass conservation principle of pressure composition mechanical dynamic equilibrium of forces principle of motion
59. ations Chapter overview You will learn here how to submit systems of nonlinear algebraic diffe rential or algebro differential equations to DYNAST The equations can be then evaluated or solved using the nonlinear analysis Chapter 12 Linear algebro differential equations can be solved also in a semisymbolic form Chapter 6 1 Equations and their variables When you are to compute the numerical value of a variable you may encounter two different situations e the variable value can be obtained simply by evaluating a given expression e the variable value can be obtained by solving an equation or a system of equations We shall thus differentiate between evaluated variables and solved variables Expressions for the evaluated variables are submitted to DYNAST in the form of explicit equations whereas equations to be solved are submitted in an implicit form Example If you want to obtain the unknown variables x specified by the quadratic equation xX bx c 0 6 1 with the parameters b and c given you must solve this implicit form equation If you however recollect the formula x12 b 2 b 2 c 6 2 you can obtain x and x2 just by evaluating it using this explicit form equation 6 2 Submitting explicit equations In general a nonlinear explicit form equation submitted to DYNAST to obtain the evaluated variable y t is assumed to be in the form y t 8 21 Z2 Zn 1 2 t 6 3 6 1 6 2 CHAPTER 6 NO
60. ber n of the harmonics you want to compute n 10 by default 4 The text box Samples allows you to change the number of samples 128 by default DYNAST takes into account in one period of the analyzed response DYNAST computes first automatically the analyzed response in the interval tg lt t lt tf T starting from the last solution vector x tf from the preceding transient analysis This wave form can be used for checking weather the periodicity condition vg t T va tf has been satisfied sufficiently Example Let us apply the Fourier analysis to the large signal response vg with the T 0 2 s from the previous example The first plot shows the one period segment of the response used for the Fourier analysis The next two plots show the amplitude and phase components of the first ten harmonics of the spectrum The spectrum lines are emphasized by marks Fourier analysis 0 9 0 8 0 7 0 6 0 5 0 00 0 02 0 04 0 06 0 08 1 E V G V electrical voltage 12 4 TEXT OF NONLINEAR ANALYSIS 12 11 Fourier analysis of V G 4 x Amplitude Phase 12 4 Text of nonlinear analysis Data for nonlinear analysis are placed in the DYNAST problem text PRB file within the TR section beginning with the TR statement This section must be preceded by the SYSTEM section with the specification of the analyzed problem described by a set of equations Chapter 6 b
61. block diagrams with very versatile blocks including implicit ones and any algebraic loops e combinations of physical diagrams blocks or equations For system models submitted in such as way DYNAST is able to compute e transient responses to external excitations and initial conditions e static or steady state responses and their dependence on parameter variations e responses to small or large signals in the vicinity of a quiescent operational point 1 1 1 2 CHAPTER 1 EXAMINE DYNAST e Fourier analysis of steady state periodic responses e linearized models in the vicinity of an operation point For your linearized system models DYNAST can compute e Laplace transforms of responses to external excitation and initial conditions in a semisym bolic form e time domain characteristics in a semisymbolic form e coefficients or poles and zeros of transfer functions e frequency characteristics of transfer functions with frequency dependent coefficients DYNAST is very useful also for control design as it allows for e exporting transfer function coefficients to the MATLAB environment e co simulation of digitally controlled systems with Simulink e real time control via Simulink DYNAST exploits very efficient and robust algorithms in all these computation procedures 1 2 Try out DYNAST 1 2 1 Try DYNAST on the Internet If you will go to http virtual cvut cz dyn examples you will find there e numerous examples of re solvable problems spe
62. c gt L Ay 0 3m m N spring compliance FJ gt FJ Ay 15 0 N excitation force AC FREQ 5E 1 1E1 PRINT MOD Ay DEG Ay RE Ay IM Ay RUN END Ay m s machine velocity Example Small signal numerical frequency analysis of a nonlinear electrical circuit Circuit with quadratic conductor SYSTEM k us A V E 1 1 2 V FE 2 1 10m 1pi 2 V R 2 3 lme ohm G 3 k v G 2 sfs C 3 lu 2 E x TRS DC RUN AC FREQ 1E 2 1E1 PRINT RE V G IM V G RUN END Chapter 14 Semisymbolic analysis Chapter overview Semisymbolic analysis can be applied to linearized time invariant lumped parameter diagrams DYNAST provides for the diagrams transfer functions and Laplace trans forms of responses to initial conditions in a semisymbolic rational form Using the inversion of the transforms DYNAST can then compute semisymbolic form time domain responses These responses and transfer function frequency characteristics can be also evaluated numerically 14 1 Options of semisymbolic analysis 14 1 1 Responses of block diagrams u SYSTEM yi The figure shows the block diagram of a dynamic system excited by a the source of signal u t Assuming that the system is linear with constant parameters the Laplace transform of its output variable is Y s Yo s Y s Yo s is the transform of the system response to its initial state x tp while u t 0 and Y s is the tra
63. cified in terms of diagrams or equations e submodels i e models of various dynamic system components e samples of interactive virtual experiments driven by DYNAST across the Internet You can find examples or submodels of your interest by consecutive clicking the icon in the left frame of the webpage Each example is presented on two webpages The first one shows a problem assignment and the second one its solution The problems can be re solved by clicking the Submit to DYNAST button on the second page The re solving takes place on the Czech Technical University server in Prague Before clicking the button you may try to modify some of the problem parameters Some of the problem assignments are augmented with animated system models The ani mations are driven by simulation results from the previous DYNAST execution Note that if you re submit a modified problem you can observe either modified plots of systems responses or a modified system animation At http virtual cvut cz dyn examples you can also try the DYNAST working environment DYNCAD in the form of an applet that allows for schematic editing diagrams and plotting results without downloading any software 1 2 TRY OUT DYNAST 1 3 1 2 2 Try DYNAST on your computer Free download of DYNAST is available at http virtual cvut cz dyn examples Installation requirements include a PC computer with MS Windows 2000 NT XP Vista and about 50 Mbyte of free space on the hard disc
64. d reused with modified parameters any time later e this job can be done independently by specialists from different disciplines e constitutive relations can be represented in a submodel by the diagram of the component internal configuration by a set of equations or by measured data for example e the model refinement or component replacement e g replacement of electrical motor for a hydraulic one can done without interfering with the rest of the system model 7 8 CHAPTER 7 PHYSICAL DIAGRAMS 7 4 Multipole modeling step by step Modeling should start with the specification of its objective 1 e of the system behavior to be investigated and of the system variables characterizing this behavior Then it should proceed in the following steps Step 1 Sketch the system Sketch the configuration of the real system with its surroundings and indicating there the geometric features like dimensions distances and positions rel evant for the system dynamics Movable system parts should be drawn displaced arbi trarily from their reference positions in the positive directions with respect to the chosen coordinate system Step 2 Define the system Denote by arrows the reference polarities of the variables of inter est in the sketch Step 3 Decompose the system into subsystems Identify energy boundaries of subsystems se parating them from each other The subsystems may represent actual components from which the real system is assembled aggr
65. dow and will stay there as long as the diagram window is active The DYNAST commands for creating diagrams are available in the Place menu Instead of these commands you may use the toolbar buttons given in Table 10 1 Zooming diagrams To zoom in or zoom out a diagram together with the underlying grid choose Zoom In or Zoom Out from the View menu Undoing or redoing actions To undo or redo the most recent action you performed in a diagram choose Undo or if you do not like the result choose Redo from the Edit menu 10 1 2 Placing parts To place a part i e the graphical symbol of a physical element basic block or submodel into the diagram 1 From the Place menu choose Part to open the Place Part dialog 2 Select a part library and browse through the parts in it 3 When you click the selected part and RELEASE the mouse button the part symbol will become attached to the mouse pointer 4 Move the part to the desired location in the diagram and click the location to place the part there 5 You can repeat the last operation to place the part to several different locations in the diagram 6 Right click the mouse to terminate placing the selected part During the placement operation when the part is attached to your mouse pointer you can e rotate it by pressing the R key e mirror it horizontally by pressing the X key e mirror it vertically by pressing the Y key 10 1 CREATING DIAGRAMS 10 3 Place Part D 4
66. e s l OK Dependent variables Selection of variables for plotting Cancel C time s S Help V C1 LL K K K A eet Import 1 In the Result table list select one of the tables saved in the resulting O file 2 In the Independent variable list select the variable to be considered as the independent variable associated with the horizontal axis of the plot it can be different from the inde pendent variable of the analysis 3 In the Dependent variables list select the variables you want to have displayed as depen dent variables along the vertical axis 15 1 2 Plots in several windows You may display in several windows plots of results from one or several analyses saved in the common O file If you have displayed a plot in a window choose New Window in the Window menu or right click the plotted graph As a result a new window opens with a copy of the previous plot Then select the independent and dependent variables for the plot in the new window following the procedure you used for the plot in the first window 15 2 Scales of plots 15 2 1 Automatic setting of scales If you select several dependent variables they will be plotted by default with a common scale along the horizontal axis and most often with different scales along the vertical axis DYNAST adjusts automatically the vertical axis scales for each variable in a way exploiting the graph area as best as possible If such an arrangement does n
67. e block diagram with 2 differentiation blocks Transfer block Transfer blocks are characterized by a rational form transfer function F s the argument of which is the Laplace transform variable s Thus where M s s am_is 4a9 a Mo ba1s bo K is a multiplicative constant 9 3 BLOCK DIAGRAMS AND PHYSICAL MODELS 9 5 Example Transfer blocks with transfer functions 1 1 GRITA GAIA and W s are represented by symbols Xx p Z vV Ww 5 P Q 1 P a b assuming that the exploited polynomials have been submitted as Z s P poly 1 0 1 Q root 1 1 1 9 3 Block diagrams and physical models 9 3 1 Block diagrams of physical models Unlike physical diagrams block diagrams do not represent configurations of real dynamic sys tems but systems of equations Block symbols are interconnected by lines denoting a unidirec tional propagation of a single mathematical variable or signal not a bidirectional energy flow The interconnections respect simple algebraic rules but no physical laws The next example illustrates the paper and pencil procedure required before a block diagram representing dynamic of a physical system can be submitted to the computer Example To set up a block diagram for analysis of the simple systems given in Table using basic blocks we must first formulate the necessary equations following the next steps 1 Constitutive relations for individual system components in t
68. e coordinate system can be removed by a right click Another right click cancels the regime of coordinate reeding completely 15 5 Import export and printing of graphs 15 5 1 Common plotting of different graphs To import a variable waveform from another table in the same or different O file into the current graph follow these steps 1 Choose Set Variables from the Plot menu and click the Import button 15 3 6 IMPORT EXPORT AND PRINTING OF GRAPHS 15 5 Select the O file from which the required variable should be imported Then click the Open button In the dialog Plot Select Plot to Import select the imported table in Result tables list In the Independent variable list select the variable with respect to which the other vari ables should be plotted Then click OK to confirm the selections Choose Set Variables from the Plot menu to open the dialog Plot Select the Variables The imported variables will appear there in the bottom of the Dependent variables list The independent variable chosen above can be changed here by rightclicking another variable and by choosing Independent The imported variables can be removed by rightclicking any of them in the list and choos ing Remove Plot Scales of the variable axes in the resulting graph are adjusted automatically in such a way that the waveforms of all variables are displayed in their full range It is so even 1f the wave forms in the two tables differ by
69. e fact that PI is a scaling factor This means that it must be always preceded by a number without any space Note also that the string 1_FARAD is interpreted as the numerical constant 1 0 while the string 1FARAD is understood by DYNAST as 10715 i e as 1 femto 3 2 2 Variable and parameter identifiers Tablel3 2 lists the types of variables and parameters which can be used in DYNAST expressions Values of variables TIME and FREO are controlled by DYNAST automatically within the user specified range The character string V preceding a node identifier can be omitted if the first character in the node identifier is a letter not a number Further details about the variables and parameters are given in chapters on submitting equa tions Chapter 6 blocks Chapter 9 physical elements Chapter 8 and submodels Chapter 22 3 3 ARITHMETIC AND LOGICAL OPERATORS variable VD variable V node VD node I element ID element variable V element I element parameter event Table 3 2 Variables and parameters FORMAT VARIABLE OR PARAMETER BY DEFAULT INDEPENDENT global variable of transient analysis global variable of frequency analysis global parameter SOLVED variable of an implicit equation numerical derivative of an implicit equation variable node across variable numerical derivative of node across variable through variable of elements R L E S O numerical derivative of element R L E
70. e frequency characteristic of the system transfer function H s is expressed simply by substituting s j into H s To display this complex function H j in a plane it must be decomposed into two complementary components like the amplitude and phase characteristics or the real and imaginary parts of this function Besides the semisymbolic form DYNAST also evaluates the time and frequency responses numerically It stores the waveforms in the result O files so that they can be plotted in different forms Chapter 15 14 2 Submitting semisymbolic analysis 14 2 1 Submitting transforms of responses To specify response transforms you want to compute for the following diagram in the active window open the dialog Semisymbolic Linear from the Analysis menu 14 4 CHAPTER 14 SEMISYMBOLIC ANALYSIS Semisymbolic Analysis Response Transforms Time Domain Responses Frequency Characteristics Transform indentifier YEO Response variable LE Transform of response to C unit impulse from source Specification Y Add polynomial coefficients of response transforms List of transforms Identifier Response Excitation VC LE New transform Remove Cancel Help To submit a transfer function follow these steps 1 In the Function identifier text box type a name for the function 2 Choose Input excitation and in the drop down list select a source of excitation for the transfer function definition 3 In the Output vari
71. e hidden Fig b shows the same block diagram only lines representing variable paths from nodes to block inputs were added here for a better lucidity Implicit block The implicit block represents one of the algebro differential implicit equations from 6 4 The output variable of this block can be a function of not only other block output variables but also of its own output variable An input of this block can be thus interconnected with its output which is forbidden in the case of the other blocks This feature allows for a wide applicability of implicit blocks 9 4 CHAPTER 9 BLOCK DIAGRAMS Example The feedback quadratic system from the previous example can be implemented by a single implicit block as oV de y y k v y 2 Example The Van der Pol equation 6 5 can be submitted to DYNAST in the form of the block diagram el Dx VD x VD Dx x e 1 Dx 2 Dx Integrator The output variable of an integrator represents an explicit linear integral function of its input variables The initial state of this variable is specified not in the diagram but in the analysis section of the DYNAST input data Chapters 2 and Example The Van der Pol equation can be also submitted as the block diagram with integrators Differentiation block A differentiation block represents an explicit first order differential equation for its output vari able Example Another way of submitting the Van der Pol equation shows th
72. ear vector function x t is the solution vector representing the system transient responses and x t is the vector x t differentiated with respect to the independent variable The objective of the steady state analysis is to compute the values of transient responses x cc i e x t for gt after all transient components die out DYNAST can determine the steady state responses if they are constant If however they are periodic DYNAST can provide Fourier analysis for computing their frequency spectrum To execute the steady state analysis of the submitted algebro differential equations 12 1 DYNAST sets automatically x 0 to convert into algebraic equations If the diagram submitted to this analysis represents the dynamic model of a system DYNAST automatically provides its conversion into the static model 12 1 12 2 CHAPTER 12 NONLINEAR ANALYSIS To do this DYNAST e ignores all C type physical elements e replaces all L type physical elements by ideal connections e sets the Laplace transform variable s in the transfer blocks BT to zero e sets the output variables of all differentiating blocks BD to zero e ignores all integrators BI Static analysis i e the analysis of static systems is applied either to nonlinear algebraic equations or to a static system model Therefore both the static and steady state analysis is executed by solving the set of equations in which x 0 It is assumed that the solution vectors x resul
73. ecifying the source amplitude phase is a numeric constant or symbolic expression specifying the source phase in radians If q 0 the string 0 can be omitted Frequency analysis FREQ LIN min max or FREQ fi Persio i min and max are numeric constants determining the lower and upper limits of the frequency interval fi f2 are numeric constants specifying individual frequency points LIN or just is the string setting the linear frequency scale If this string is omitted the scale is logarithmic If the statement FREQ is missing DYNAST assumes the default frequency range from 107 to 10 Required variables PRINT points component variable component variable points is an integer setting the number of frequencies at which the frequency characteristics should be evaluated 501 by default variable is the identifier of the required variable component is the component identifier in agreement with Table Execution of the numerical frequency analysis is activated by the RUN command Results are stored in an O file Example The statement PRINT 60 MOD I R1 MOD A results in a table giving modules of variables 1 R1 and A at 60 points 13 6 CHAPTER 13 NUMERICAL FREQUENCY ANALYSIS Example Problem text file for the numerical frequency analysis of a flexibly imbedded ma chine Machine vibration SYSTEM m gt C Ay 18 kg machine mass d gt G Ay 0 2k N s m damping
74. ed Variables Initial Values Computation Control Time derivatives Variable Description Solved variables a Selecting O desired Ele variables E for M electrical voltage across C nonlinear a analysis Ele Y 4 electrical current through G Cancel Help Click the tab Desired Variables in the dialog opens the list of identifiers of all variables and parameters DYNAST is able to compute for the given systems The survey of identifiers is shown in Table B 2 During the analysis computation DYNAST will store response values 12 4 CHAPTER 12 NONLINEAR ANALYSIS of the checked variables and parameters in the related result O file in a tabular form The responses can be plotted from this file in different forms Chapter 15 After checking the box Differentiated variables you will be able to select also some of the differentiated variables of the system After submitting the desired variables click OK and execute the computation To do this from the menu Run choose Run Analysis or Run Analysis amp Plot Example Let us consider the electrical circuit with the nonlinear conductor of conductance G va S Parameters of the other circuit elements are E 1 V R 1 MQ and C 1 uF T I The two above dialogs specify transient analysis of this circuit for O lt t lt 2 s with the electrical current ig voltage vg and conductance G as desired variables The resulting responses of the last two
75. egates of such components or just individual dynamic phenomena taking place within the real components or between the components and the system surroundings Step 4 Indicate the subsystem energy interactions Indicate the energy inlets in the subsys tem boundaries Associate each of the inlets with a pair of power variables Step 5 Assign a multipole model to each subsystem Look for a suitable submodel in the DYNAST libraries If you cannot find one create a new submodel Chapter Step 6 Form a physical diagram for the complete system Using the DYNAST schematic ed itor place submodel symbols in the diagram window Interconnect the submodel pins with diagram nodes in conformity with the interactions of subsystem inlets Denote the reference nodes Specify the submodel external parameters You will find more detailed instructions in the following chapters Chapter 8 Physical elements Chapter overview Physical elements are very useful elementary twopoles Each of them models a two inlet component not necessarily linear it can be nonlinear time variable or controlled by external variables or parameters The physical elements form a multipurpose kit very useful for constructing submodels of complex components They can be combined there with blocks and equations 8 1 Variables of physical elements 8 1 1 Orientation of physical element variables Physical elements are two pole dynamic models of energy accumulation or dissipat
76. ent you should take into consideration which of the component features you are interested in e required accuracy of modeling e magnitude of variable changes see Table 7 3 e time rate of variable changes see Table 7 4 e component parameter changes over the modeling interval Table 7 3 Models according to the magnitude of variable changes CHANGES Monets EQUATIONS small linear with constant coefficients large nonlinear with variable dependent coefficients small and large parametric with variable and time dependent coefficients A component model development can be based for example on e a hypothesis about the physical principles underlying the component behavior e approximation of measured characteristics of the real component e analysis of the model of internal configuration of the component e reduction of an unnecessarily complex model of the component In engineering practice some of these approaches are usually combined For example the model based on a physical hypothesis is refined with respect to measured data Table 7 4 Models according to the time rate of variable changes slow static algebraic fast dynamic with lumped parameters ordinary differential very fast dynamic with distributed parameters partial differential DYNAST supports development of new component models in the following ways e a multipole model can be developed for each group of similar components just once stored in a library an
77. ent will be underlined in red color there When you place the mouse cursor over the underlining a clarifying error message will appear at the state row of the DYNAST Shell window OK message in the Diagram column indicates that there is a DIA file in the working folder corresponding exactly to the related PRB file No message means that there is no related DIA file in the folder The out of date message indicates that the DIA file is present but it is not fully compatible with the PRB file If you click the out of date message the diagram from the DIA file will open in DYNAST Shell After correcting it select its row in the List of Problems and press the F5 key to initiate the DIA file verification If the result is positive the OK message appears If you select a row in List of Problems and press the Del key the PRB file and all files associated with it will be deleted from the working folder You can open a similar list of all submodel MOD files stored in the associated folders and their subfolders Just choose List of Submodels from the View menu 2 8 CHAPTER 2 DYNAST SOFTWARE SYSTEM 2 4 4 DYNAST textual language DYNAST was designed primarily to provide graphical communication with its users with a textual language underlining only the graphical communication Yet in some cases using directly the DYNAST textual language may be helpful In any case this language is strongly problem oriented very versatile and simple to use DYNAST text
78. ft pane of the symbol editor window You may add new symbols using ID EDIT NEW SYMBOL from the Edit menu create a duplicate of the selected symbol using ID EDIT DUPLICATE SYMBOL or delete the selected symbol using ID EDIT DELETE You may also change the order of symbols in the library by dragging a symbol with the mouse or duplicate symbols by dragging a symbol while pressing the Ctrl key All operations on the symbol level can be undone by ID EDIT UNDO from the Edit menu but be sure that the left pane of the symbol editor is selected otherwise operations done in the right pane will be undone It is also possible to edit properties of a symbol by double clicking its thumbnail in the left pane Editing a symbol To create a valid symbol you should define its e size Bounding Box e appearance by placing graphical elements e pins e properties name comment shortcut and DYNAST statement Adding new graphical elements You may use the Place menu to add new graphical elements to a symbol you may add lines rectangles polygons circles arcs and pins To place a line polygon or filled polygon use ID PLACE POLYLINE ID PLACE POLYGON or ID PLACE FILLED POLYGON respectively Click for each endpoint of the line or poly gon To start a new line or polygon press the right mouse button To place a rectangle or a filled rectangle use ID PLACE RECTANGLE or ID PLACE FILLED RECTANGLE respectively Define the positions of the rectangle corner
79. he following data illustrate the typical arrangement of a PRB text file without analysis specification At the same time the example demonstrates different ways of exploiting comments without analysis DC motor start SYSTEM Kem 05 V s rad motor constant L 1 5m H armature inductance R 0 5 ohm armature resistance J 25m kg m 2 moment of inertia d 1 N m s rad bearing resistance Electrical part Vin gt E in 12_V supply voltage La in 1 L armature inductance Ra 1 2 R armature resistance Emf 2 Kem v S induced voltage Mechanical part Tm gt J S Kem i Emf motor torque Db gt GS d bearing resistance JL gt CS Jd moment of inertia END iI ba A motor electrical current Tm N m internal motor torque Svcs rad s shaft angular velocity 11 2 Submitting texts of physical elements 11 2 1 Physical elements between nodes For a survey of physical elements see Chapter 8 If you choose Insert Element in the System menu the following dialog opens 11 4 CHAPTER 11 PROBLEMS IN TEXTUAL FORM A i Insert Element Type R resistor Name Rout E cem Node OUT Y Help o EEZ Submitting Node 0 y texts of hysical value Pa phy elements 908 492 405 106 10 10 10 10 10 q Expression Statement Rout OUT 5_kohm 1 From the Type list choose the type of the submitted element in conformity with Chapter 8 2 Type t
80. he form of integral equations Physical element Constitutive relation source of throug variable vee 1 L f v3 dt G v4 capacitor or inertor inductor or spring conductor or damper 2 Algebraic equations for the postulates of continuity and compatibility Postulate of 7 2 Postulate of compatibility 7 3 11 21 13 i4 Va v 3 Rearranged non singular explicit equations one for each variable h J v v D 11 13 v2 1 Cfi2 dt iz 1 Lfv3 dt v3 V4 V2 la 13 v4 1 G i4 9 6 CHAPTER 9 BLOCK DIAGRAMS 4 Construction of the block diagram Interconnections between diagram nodes and basic block inputs are drawn here just for a bet ter lucidity 9 3 2 Blocks in physical diagrams In problems submitted to DYNAST blocks can be combined with multipoles and equations Block behave as controlled sources of across variables the pole of which is fixed to the system model reference Both the block input admittances and output impedances are zero Therefore block inputs do not draw any energy from the system model whereas block outputs can de liver into the model any required amount of energy Example The three physical elements shown in Fig a form a simple model of a car wheel suspension with the tyre following the curvy surface of a road pavement The leftmost block acts as a source of the wheel position in the horizontal direction x t The next block evaluates the function y
81. he name of the element in the Name text box 3 Specify the name of the node to which the element pole should be connected using the Node box 4 In the Node box specify the name of the node to which the element pole should be connected 5 In the Parameter box type the element parameter value as a numeric constant or symbolic expression 6 Click the Insert button and add the required data if a dialog opens The following statement for physical element specification will be inserted to the location in the PRB file denoted by the cursor name gt type node node parameter Notes e If name was chosen in such a way that its first one or two characters correspond to the element type identifier the string gt type can be omitted e If node is O i e if it is a reference node the string 0 can be omitted e If the parameter value is 1 the string 1 can be omitted Example All the elements in the previous example were specified as connected between nodes 11 2 SUBMITTING TEXTS OF PHYSICAL ELEMENTS 11 5 11 2 2 Physical elements in series If a group of physical elements of type R L E or S forms a series configuration the group can be submitted in a simplified way This saves memory and speeds up the computation as series configurations are characterized in DYNAST by one equation only It is not possible however to evaluate across variables of the individual elements in the series configuration To submi
82. in two steps 1 From the Nonlinear Analysis dialog choose Transient and enter limits of the transient analysis interval 2 Open the Initial Values tab and choose Quiescent operating point 12 8 CHAPTER 12 NONLINEAR ANALYSIS Example Let us set for this example E 1 2 sin10z V in the above given circuit Then the large signal response vg of the circuit in the vicinity of its quiescent operating point is Large signal analysis 1 37 1 25 1 14 1 0 0 9 0 85 0 7 T T T T T T T 00 o2 o4 06 08 10 12 14 16 18 20 1 time s E V G V electrical voltage Note that the response starts from the operating point identical with the point located earlier by the steady state analysis 12 2 9 Changing or adding nonlinear analysis Let us assume that you have submitted some nonlinear analysis of a system already and now you want to change it If you choose Nonlinear analysis from the Analysis menu the following dialog opens List of Analyses ax Select analysis by doubleclick to modify it Type Description TR Transients for c 0 Cancel Changing Transients For V C 2 or adding Steady state solution Help nonlinear TR Characteristics of G TR Small signal analysis analysis TR Analysis 6 TR Fourier analysis TR Analysis 8 Add new TR Analysis 9 y If you want to add another analysis for the same system click the button New analysis To change the
83. ines in the related result file Steady state solution ee I G Lem V G Seats G 1 2 3 3 176703e 007 6 823264e 001 4 655694e 007 Thus the resulting variables are ig 0 3177 mA vg 0 6823 V and 0 4657 mS Compare the variable values with the values to which the circuit transient responses converge for t oo 12 2 5 Sweeping parameter analysis You can see how the results of the static or steady state analysis vary with a parameter of the system To sweep the parameter through an interval check the Sweeping box in the Nonlinear Analysis dialog Select then the parameter to be swept and specify the lower and upper limits of its sweeping in the from and to text boxes respectively Numerical Nonlinear Analysis 2 x Analysis Desired Variables Initial Values Computation Control Analysis mode C Transient Static steady state Submitting IV parametric parameter Parameter E y swept from 1 to 2 sweeping nonlinear C Fourier analysis Desired results Hold results dt Cancel Help Example Let us set R 0 in our circuit If we submit sweeping of E through the interval 0 lt E lt 2 V as shown in the dialog we will receive the following Ig f Vg and G f Va characteristics of the conductor G 12 6 CHAPTER 12 NONLINEAR ANALYSIS Characteristics of G 10 E G A electrical current 10 E G A V electrical conductance
84. ion The following figure shows the diagrammatic symbol of a generic domain independent physical element To simplify the polarity determination of variables associated with the elements we are introducing the physical element orientation For this reason the sign is placed in the figure by one of the element poles which is the element pole The other pole is the element pole though the sign is not shown for the symbol simplicity The assumed power consumption of a physical element is given by for n 2 i e P t i t valt i_ 0 9 0 8 1 where i and i_ are the pole through variables and v and v_ are the pole across variables of the element la gt i Let us define the following element variables V Vy V_ i i i_ where v t is the element across variable and i t is the element through variable Using these definitions we can rewrite 8 1 in the form P t v t i t 8 2 8 2 CHAPTER 8 PHYSICAL ELEMENTS Also the element across and through variables form pairs of power variables given in Table Arrows in the figure indicate the assumed positive orientation of the element across variable v and the element through variable 7 with respect to the orientation of the element If the actual polarity of a variable is opposite with respect to its reference arrow it value becomes negative Thanks to these conventions however we do not need to use any arrows for the physical element variables at all
85. ion begins with the TRA string The section must be preceded by the PZ section with the specification of transform functions SYMB expression expression where expression is of the form excitation transfer state orjust state 14 3 TEXT OF SEMISYMBOLIC ANALYSIS 14 13 excitation specified as STEP indicates excitation by the step function it is the Dirac function by default transfer is the identifier of a transfer function from the PZ section state is the identifier of a transform an initial state response from the PZ section To evaluate numerically the time responses at specific time points the points can be submit ted either by the statement TIME min max or by the statement TIME f to min and max are numeric values of the time interval limits tj f2 are numeric values of the time points If this statement is missing DYNAST determines the time interval automatically Transfer function frequency characteristics is specified in the FRE section of the PRB file The section begins with the FRE string The section must be preceded by the PZ section with the specification of transfer functions Computation of frequency characteristics of the semisymbolic transfer functions acquired in the PZ section can be specified in the FRE section Frequency is specified either as FREQ LIN min max oras FREQ fi f min and max are numerical limits of the frequency interval fis fay are nume
86. l cvut cz 1 6 CHAPTER 1 EXAMINE DYNAST DYNAST options Editor ES Plot EF Diagram C Tools C Folders Ha Solver m Solver type C Solver online Address Firewall immune Solver Online Use this option if you have restricted Internet connection Lite Solver offline Version 3 9 22 July 14 2008 Solver selection Student Solver offline Insert software key Not available SW key is not present Professional Solver offline Not available dongle is not installed Refresh OK Stomo N pov da Users with a large number of clients like schools for example can install DYNAST Solver on their own server with MS Windows DYNAST will be then accessible to their clients via the local network Chapter 2 DYNAST software system Chapter sections os dada od oa 2 1 2 2 DYNAST Shell o oooooooooo 23 O Sea eee a ne 2 4 jhe bach ee ew ee ee 00 dde 2 5 Chapter overview This is a description of the main parts of the DYNAST software system and their mutual communication It gives a survey of DYNAST major functions and of the file types necessary for implementing these functions 2 1 DYNAST Solver DYNAST Solver makes the core of the DYNAST software system It does all the necessary equation formulation and solution required by the submitted problems and it performs their simulation or analysis DYNAST users however do not communicate with DYNAST Solver direct
87. l node Table 9 2 Variety of basic blocks explicit block DO P Mi 1 2 t zo implica DEAN 9 2 BASIC BLOCKS 9 3 9 2 Basic blocks In the relations characterizing different basic blocks in Table 9 2 the input variables are denoted as u t i 1 2 while the output variables as y t Explicit block The output variable of an explicit block is defined by the explicit equation 6 3 The variables on the right hand side of this equation represent input variables of the explicit block If there is no such variable there with the exception of time such an independent explicit block acts as an autonomous source of its output variable RAMP BS2 fun3 time halfsin time a exp b v VD q a b c Examples The figure shows block symbols with their names placed above the symbols and the block relations below the symbols The block in Fig a can be used as the source of the ramp function u t t The block in Fig b acts a source of periodic half sinusoids w t if halfsin is the altered function defined in Chapter 5 Assuming that q t is a solved variable of the submitted problem the block in Fig c provides the relation y1 t ae dq dt Example The block diagram in Fig a represents a simple static system with a quadratic feedback characterized by nonlinear algebraic equations The system excited at t 0 by the step function of amplitude 2 consists from three explicit blocks their names ar
88. lation The order of the associated folders determines the way in which the submodel files are searched for this is important in case of different files with the same name DY NAST searches through the associated folders in the following order 1 Folder with the PRB file calling the submodel and its subfolders 2 Folder with the standard submodels and its subfolders 3 The other folders and their subfolders 2 4 3 Lists of problem and submodel files If you want to see which problems are stored in the associated working folder and what is their status choose Problem List from the View menu E DYNAST Shell List of Problems JOE T File View Run Preferences Window Help X D g Be C jaworklExa Tet agan himen Te SA Notes eqs Yes Equation of mathem 378 O4 Fallbar Out of date Yes Falling bar 1 1018 04 Fourbar Out of date Four bar mechanism 3 817 04 with masses X fourbar2 OK Fourbar mechanism2 1105 04 xf HAUG2 OK Impact of a long spring 1077 10 hawking Out of date Hawking s experiment 267 04 inslicrank Out of date Inverted slider cram 399 04 hd lt The green OK characters in the first column inform you that there are no syntactic errors in the related problem files The red cross indicates syntactic errors either in the PRB file or in some of the associated MOD files The PRB file opens in DYNAST Shell if you click it in the list and the error statem
89. lement in such a way that the element across variable v is positive if the subsystem elongates and negative if it contracts Therefore the element orientation was chosen in such a way in the illustrated case that its pole represents the x motion of the subsystem inlet A while the pole represents the x motion of the inlet B The element across variable v then corresponds to the inlet relative velocity g4 The figure also illustrates the unambiguous interrelationship between the element through variable i and forces acting on the subsystem inlets if the element orientation is chosen in the recommended way The element through variable i then corresponds to the subsystem reaction force counterbalancing the external force acting in the reference axis direction on the subsystem inlet represented by the element pole In the figure the element through variable i corresponds 8 2 VARIETY OF PHYSICAL ELEMENTS 8 3 thus to the subsystem force Fg If the subsystem is stretched the element through variable is positive if the subsystem is compressed the variable becomes negative A similar reasoning can be applied to modeling of subsystems with two energy inlets in a rotational motion about a fixed point shown in the next figure In this case the physical element modeling the subsystem should be oriented in such a way that its across variable v is positive if the angular displacement between the subsystem inlets increases Then the element pole and p
90. lick the OK button to open the empty almost PRB file Textual specification of a diagrams is entered into the SYSTEM section of the PRB file The configuration of the PRB files is as follows note problem title SYSTEM parameter constant physical unit parameter description parameter constant physical unit parameter description physical elements basic blocks submodels equations analysis specification RUN title of analysis results END variable physical unit variable description variable physical unit variable description A very useful role is played in the PRB text files by commentary statements All texts placed in a single line right of the semicolon character are considered as comments The semicolon character can be also used for deactivating some statements during the problem debugging Comments beginning with play specific roles 11 2 SUBMITTING TEXTS OF PHYSICAL ELEMENTS 11 3 e When placed in the first line of a PRB file they introduce the text that will be displayed as a note in the List of Problems opened from the View menu e In the SYSTEM data section they are used to clarify system parameters e Placed right of the RUN statement they are used as titles of tabular and plotted analysis results e Behind the statement END they are used to clarify meaning of the computed variables in tables and plots M De JL J Kem i Emf Example T
91. ly For submitting their problems to DYNAST and for interpretation of results they use DYNAST Shell the software working environment SYSTEM linear equations or diagram AC reading in numerical textual data frequency analysis nelinear equations FRE or semisymbolic diagram frequency analysis TR PZ TRA formulation and semisymbolic semisymbolic solving equations transform analysis Laplace time analysis transforms linearized diagram 2 1 2 2 CHAPTER 2 DYNAST SOFTWARE SYSTEM The blocks in the above figure represent the fundamental sections of the DYNAST Solver and the arrows between the blocks indicate the data flow through DYNAST Solver Table 2 1 gives a survey of functions of the individual sections Table 2 1 Overview of DYNAST sections SECTION PURPOSE Reading in models in the form of e systems of algebro differential equations SYSTEM e physical diagrams e block diagrams e combinations of these Transient analysis and its special cases like e static analysis steady state analysis parameter swept analysis detection of event occurrence determination of quiescent operation point linearization of analyzed systems Fourier analysis of periodic steady state Semisymbolic analysis of Laplace transforms e of transfer functions e of responses to initial conditions Semisymbolic and numerical analysis of time domain e transfer functions characteristics e system responses to initi
92. merical form yes yes Specification yes of time domain responses New Response Remove m Numerical evaluation Evaluation at 501 equidistant points within the time interval determined by DYNAST user defined from to s C Evaluation at individual points comma separated I Stormo N pov da 14 8 CHAPTER 14 SEMISYMBOLIC ANALYSIS 1 Open the tab Time Domain Responses in the Semisymbolic Analysis menu e To compute responses to initial state check Transform of response to initial state and select the required function in the drop down list e For transfer function response check Response of transfer function and select the required function in the drop down list Then choose either unit impulse or unit step for the excitation e To compute a complete response submit response to initial state and then response to the unit impulse or step e If you would like to have a response evaluated also numerically for its plotting check Numerical form of results 2 If you have required a response also in the numerical form you can refine your require ment in the Numerical evaluation field e If you do not want to allow DYNAST to determine the time interval of the response automatically based on the computed roots you can specify it here as well as the number of points of the response e Alternatively you may specify the sequence of individual time points of the re sponse 3 Click OK In case
93. mial function specified by its coefficients 5 3 Trimmed functions Insert Function Slope below sepa Specification Upper limit U of function trimming Slope above the limit 908 402 10 49 408 10 106 10 10 m Expression Statement D2 LIN L 0 5L 10 1k U 0 5U 1k 30 Using the Trimming tab in the dialogs a function g e can be trimmed to form the function f e linearly extrapolated outside the interval L lt x lt U in such a way that g L Si e L e lt L g U Sy e U for e gt U While L and U are limits of the trimming interval Sz and Sy are slopes of the linear extra polations outside this interval Values of parameters L U Sz and Sy can be specified as numeric constants or symbolic expressions The default values of L and U are L and U If the values for L and U are specified but the values of slopes Sz and Sy are not specified DYNAST chooses Sz and Sy in such a way that the function f e is continuous at points L and e U i e 7 7 7 de de 5u de 5 4 CHAPTER 5 ALTERED FUNCTIONS AND EVENTS b Example Using trimming the piece wise linear characteristic shown in Fig a can be speci fied as D2 LIN L 0 U 0 SL 10 1k SU 1k 30 i D2 v Example Fig b presents the exponential function b 30 sin 27a trimmed within the interval 0 5 lt a lt 0 5 and transformed simultaneously as specified by the statement FA SIN B
94. mponents shown in Table 13 2 Activate either the problem window or the diagram window in which the system to be analyzed is specified From the Analysis menu choose Numerical frequency analysis to open the dialog After filling in its text fields execute the analysis In the next step open the Desired Variables tab in the Numerical Frequency Analysis dialog Here you can choose the variables you want to analyze At the same time specify the variable components you are interest in Then click OK and execute the analysis Example Frequency characteristics of the vertical velocity of the modeled machine the anal ysis of which was specified in the dialogs shown above Machine vibration E MOD Ay 10 Machine vibration 0 087 407 0 067 ag 0 04 aa 0 024 104 0 007 10 Ml DEG Ay 0 0 307 107 0 254 0 207 207 0 154 30 oa Se ee 510 110 2 10 5 10 1 10 LP A Oo freq Hz 1 RE Ay H M Ay FE 10m 1pi 2 Wl Example This figure shows the diagram used in Chapter 12 for small signal transient analysis of a nonlinear electrical circuit For small signal numerical frequency analysis a source of harmonic voltage was added to the DC voltage source To provide small signal frequency analysis of the nonlinear circuit we must proceed in two steps 1 Location of the quiescent operating point of the circui
95. n g e by transforming it by trimming it outside an interval of its argument or by repeating it periodically The symbol e stands for an arbitrary argument The dialog for forming Altered functions out of a standard function g e can be opened by selecting Insert Altered Function in the System menu The standard function alteration is done in the following steps 1 Choose an identifier for the formed altered function f e 2 Select the standard function g e to be altered 3 Select the way of alteration Transformation Trimming or Periodicity 4 Specify parameters for the alteration as explained in the next paragraphs You can repeat the Steps 3 and 4 to apply two or all three ways of alteration to the same function Consider the impact of the order of these alterations User defined functions can be altered using the tabs placed directly in the dialogs for insert ing each of these functions 5 1 5 2 Insert Function CHAPTER 5 ALTERED FUNCTIONS AND EVENTS Composed Transformation Trimming Periodicity Identifier FL Cancel Function to be COTGH hyperbolic cotangents augmented contangents Help Selecting decadic exponential standard exponential function integer part linear function to be altered natural logarithm decadic logarithm Statement FL LIN 5 2 Transformed functions A function g e can be transformed into the following function f e A Bg Ce D using the tab Transformation
96. n the mouse cursor for a while over a link to the node Labeling nodes To give a your name to a non reference node in the diagram 1 From the Place menu choose Node label 2 Move the label symbol over the diagram to such a location that the label pin touches the desired link and click the mouse 3 Repeat this operation or right click the mouse to terminate it 4 Double click each label to open its dialog and type in the node name If two different nodes are given the same name DYNAST indicates this as an error In each group of interconnected nodes one node at least must be the reference node Oth erwise the equations underlying the submitted diagram will be singular A node becomes the reference node if a reference symbol from Table 7 1 is attached to it 10 1 5 Using multilinks A multilink replaces several interconnecting links like a busbar To interconnect compatible multipins of part instances by multilinks proceed in the same way as in the case of links inter connecting single pins If you place the mouse pointer over a multilink its description displays in a short time To connect one link from a multilink to a single pin or node 1 From the Place menu choose Multilink entry 2 Click the mouse first over the multilink and then over the tip of the target single pin or node 3 Right click the mouse if you do not want to connect the multilink entry to another pin or node 4 Click the multilink entry to open the A
97. n our server or any other server can communicate with MATLAB or Simulink installed on your own computer across the Internet See the instructions and examples linked from http virtual cvut cz dyn 17 2 Exporting transfer functions to MATLAB Transfer function coefficients resulting from semisymbolic analysis in DYNAST can be easily transported to MATLAB or other programs To To export to MATLAB 1 Following instructions in Chapter open the window Semisymbolic Results with trans fer functions of the dynamic system 2 Choose the transfer function you want to export or if you wish to export all the functions choose their folder and click the Copy to Clipboard button 3 From the MATLAB menu Edit choose the command Paste 4 Verify the export by inserting the variable identifiers to the command line of MATLAB and press the Enter key 17 1 17 2 CHAPTER 17 MODELING TOOLBOX FOR MATLAB Example Let us assume that you want to design analog control of the carriage with inverse pendulum the model of which is shown in Fig a The carriage drive should be controlled in such a way that the pendulum remains in the prescribed position The carriage inertia and damping related to its horizontal motion is represented by the inertor m and damper d The action of the carriage drive is modeled by the source of force F The submodel ROD from the DYNAST library was exploited to model the pendulum motion in the vertical plane Evaluation of the car
98. ncel Inductor 1 La x 0 Submitting Inductor 2 Lb X text of mutual value 0 98 inductance 108 42 92 10 0 10 0 0 0 T Expression Statement Kab La Lb 0 98 In the System menu choose Insert Inductive Coupling 1 2 In the list type select either M for mutual inductance or K for coupling factor type the name of the inductive coupling beginning either with M or K in agreement with its type in the Name box in the Inductor 1 list select or type in the name of the first inductor participating in the coupling in the Inductor 2 list select or type in the name of the second inductor participating in the coupling In the Value box type the value of coupling parameter in the form of a numeric constant or a symbolic expression The resulting statement will be of the form name gt type inductor inductor value R1 L1 k23 E1 lt P R2 Example There are two inductive couplings in the circuit the first one is characterized by its mutual inductance and the second one by its coupling factor The following data demonstrate also the possibility to submit physical elements forming a closed loop as a series configuration There two such loops in the example Each of the elements representing a series configuration are connected by both poles to the same node reference one in this case 11 3 SUBMITTING TEXTS OF BASIC BLOCKS 11 7 Inductively coupled loop circuits
99. ne of its nodes any of the internal reference node 0 need not be listed here The pole names are separated either by or characters parameter is a user defined name of a submodel external parameter the value of which can be specified outside the submodel file The list of the submodel external parameters is separated from the list of the poles by a slash value is a numeric constant or symbolic expression specifying the default value of the related external parameter the parameter acquires this value if its value is not specified outside the library model file If the string value is missing the parameter default value is considered as zero by DYNAST model specification statements are identical with the statements for entering physical elements blocks or equations in a problem file From within a submodel description you can refer only to the global independent variables TIME TEMP and FREQ EOQ is the string terminating the submodel specification Once the symbol of a submodel is placed into a diagram you can edit its text when you select the symbol right click it to open its Edit properties dialog box and choose Edit text of submodel Creating submodel dialogs Examples A submodel CRCR of a double RC differentiating circuit CRCR IN OUT REF a 1k b 10 C1 IN INT b C2 INT OUT b 2 R1 INT REF a R2 OUT b 2 EOQ IN REF and OUT are interface nodes of the m
100. ng system responses to excitations the Laplace transform of which is a rational functions Some such functions are shown in Table A transfer block BT representing the required rational function can be then used as the source of excitation R IN L BS BT T C Example Let us consider again the series RLC circuit Referring to Table its excitation by the source of electrical voltage E 20sin50r can be emulated by the BT block with the transfer function 50 The required time domain response was computed and plotted with the following results ve t 0 2005 cos 50t 1 691 3 163e cos 4t 1 241 14 10 CHAPTER 14 SEMISYMBOLIC ANALYSIS Series RLC circuit 1 07 0 57 0 07 0 57 1 07 T T T T T l 1 54 oo o2 o4 o6 08 10 12 14 16 18 20 1 TIME E F VCO F V C BS IN VCO V C INIT Table 14 2 Obrazy Laplaceovy transformace elementrnch funkc Jednotkov impulz f t 6 t 1 Jednotkov skok f t 1 t gt 0 e7 1 a s 0 s Ss 01 0 t gu f s Exponencieln funkce f t t gt 0 s t 0 Tlumen sinusovka f t sinoat 1 gt 0 s 0 14 2 3 Submitting frequency characteristics 1 Open the Frequency Characteristics tab in the Semisymbolic Analysis dialog and select some of the transfer functions in the list Check one or more frequency characteristic components for each selected function Choose frequencies f
101. ns A system of n algebraic differential or algebro differential implicit form equations submitted to DYNAST for solving can be of the general implicit form e A e 2 Be O 0 e 0 6 4 0 Tal Mls X2 A Seg 0 where fi e f e fale are known functions x t x2 t Xn t are the solved vari ables and x t 2 t are their derivatives with respect to the independent variable t TIME In the case of algebraic equations these derivatives are zero The variables or parame ters z1 t z2 t are assumed to be evaluated by DYNAST earlier during its current execution before solving the discussed equations For submitting initial conditions see Chapter 12 6 4 CHAPTER 6 NONLINEAR EQUATIONS Insert Equation Type Implicit v Left hand side 0 Cancel Help Right hand side x 2 bx c Statement O x 2 b x c Submitting implicit equations The procedure for submitting implicit form equations differs from that for submitting explicit form equations in Step 4 In this case you should select Type Implicit in the Insert Equation dialog Characters 0 will show up in the Left hand side box and you will be supposed to fill in the Right hand side box Note that in DYNAST notation for implicit form equations their zero sides are always on the left Example To solve the quadratic equation fill in the dialog as shows its screenshot as suming that you have already specified values f
102. nsforms of the system response to the excitation u t when x to 0 The initial state x to of a block diagram is related to the initial states of its integrators If there are in the block diagram more sources than one then Y s Yo s Ya s Yu2 s Yun s where Y s is the transform of the system response to the i th excitation u t when all the other excitations as well as the initial state x t are zero Transforms of responses Y s to the individual excitations can be expressed as Yyi s Hi s U s where H s is the i th transfer function and U s is the transform of the excitation u t 14 1 14 2 CHAPTER 14 SEMISYMBOLIC ANALYSIS 14 1 2 Responses of physical diagrams The formulas for response transforms and their relations to transfer functions mentioned in the previous paragraph are valid for models of dynamic systems in the form of physical diagrams as well There is a difference in the physical nature of the formula variables however In general the physical diagrams are excited by independent sources of across or through variables DY NAST admits also excitation of these diagrams by independent blocks of BS type which behave as grounded sources of across variable The response y t is represented in physical diagrams by the across or through variable of a physical element In the examples shown in Fig a and b it is the element K which becomes in the extreme case either the ideal connection
103. nts that can be omitted The complete configuration of the PRB problem text files SYSTEM data pro section SYSTEM section data for next section section END Each section of the PRB file begins with the statement section where section is the iden tifier of the section The list of section identifiers is given in Table The statement END encloses the PRB file Chapter 3 Function expressions Chapter overview You will learn here in which formats to enter various variables or parame ters and arithmetic or logic expressions in a symbolic form into submitted equations physical elements or blocks For inserting more complex functions or events see Chapters Aland 3 1 Function expressions Expressions xl Variables Functions Operators Variable Description DYNAST Functions f addition Independent variables substraction For Num Nonlin Anal multiplication for Num Freq Analysis division Inserting ambient parameter power variables equal not equal operators less than and less or equal greater than greater or equal logical AND Close logical OR differentiation lt lt functions Function expressions can be easily entered using the Expressions dialog It can be opened either from the menu System by selecting Insert Expression or from dialogs for submitting equations blocks or physical elements The Expressions dialog lists operators and functions that you have at your di
104. o not want to interconnect any more pins When you connect a link to a pin DYNAST provides a visual confirmation of the connection by removing the unconnected pin box around the pin tip If incompatible pins are connected e g pins of different domains like electrical and mechanical or a single pin with a multiple pin an error is indicated by a yellow box in the diagram Note please e If you place parts so that their pins meet end to end the pins get connected e If you begin or end a link from the middle of another link the links get connected which is indicated by a thick dot e If two continuous links cross they do not connect automatically Link crossings To interconnect two crossed links in the diagram 1 From the Place menu choose Link junction 2 Click the mouse over the link crossing Adjacent pins as well as pins interconnected by a link form a node Each node in a diagram has a specific label DYNAST labels nodes automatically by numbers after submitting the diagram for analysis After placing the mouse pointer over the link connected to a node the node number and domain appears in a short time 10 1 CREATING DIAGRAMS 10 5 10 1 4 Diagram nodes Each group of interconnected pins as well as each unconnected pin form an independent dia gram node When an analysis is invoked for the first time for a new diagram DY NAST denotes each node in the diagram by a number You can see the number of a node when you positio
105. object A group of objects can be selected in two different ways e Hold the Ctrl key and click in turn each of the objects in the group e To select all objects in a rectangular area click the left mouse button over one corner of the area hold the button down and drag the mouse to the opposite corner then release the button All objects selected in the group will change its color To deselect the group of objects click the mouse over a place outside the group Rotating or mirroring objects A selected object or group of objects can be e rotated by pressing the R key e mirrored horizontally by pressing the X key e mirrored vertically by pressing the Y key Moving objects You can move a selected object or a group of objects to a new position in two different ways e Click the left button of the mouse over the selected object s hold the button and drag the mouse to the desired position then release the button e Hold down the spacebar while you press subsequently the arrow keys To move a link select 1t and drag it to a new location the link stretches to maintain its connectivity If you want to move an object without maintaining its connectivity hold down the Alt key when dragging the object Copying objects You can copy a selected object or a group of objects and to move it to a new position in two different ways similar to moving objects Just hold down the Ctrl key during the operation Remember that you should give ne
106. odel INT is its internal node a 10 and b 10 are external parameters and their default values Let us consider a ball moving freely along the vertical y axes The dynamics of its motion can be 16 2 CREATING SUBMODELS USING TEXT EDITOR 16 3 BODY A Y m 1 k 1 mass gt C A m gravity gt J A temp m air gt G A abs V A k BI y v A EOQ A primary variable specified by an implicit primary equation within the model description cannot be referred to from outside of the model This problem can be overcome however by replacing the primary equation by an operation block with the output node name identical to the name of the given variable Similarly replacing a secondary equation by an explicit block allows for referring to the corresponding secondary variable BODY A Y M 1 K 1 BO y VD y v A BO A VD A m sgn v A k v A 2 temp m EOQ The submodel TRAFOID is stored in the file TRAFOID MOD and represents an ideal trans former TRAFOID A B BR N 1 E BR V A V B N J A B T BR N EOQ A B are the interfacing node names and BR is the name of the interfacing branch The file model MOD of a submodel model can be created and included directly into the ap propriate directory using an ASCII editor But it is also possible to include the fail there auto matically assuming that the model description has been entered within the SYSTEM section of a problem file preceded by the DEFMAC command This o
107. of interaction the node corresponding to the site is in terconnected with poles representing the interacting energy entries by line segments The lines can be considered as ideal interconnections transferring energy or matter without changing or accumulating it 7 2 MULTIPOLE MODELS OF DYNAMIC SYSTEMS 7 3 Gear Hydraulic Hydraulic Output Load synchro Bus pressure line Electronic Compensating Input amplifier network synchro Demodulator Control a DAT e Hydraulic Tachometer pressure 2 motor 30 Q 2 S gt lof Electronic Lo i 2 o amplifier Lo Compensating a network Demodulator b Example Fig a shows an example of a real system exploiting physical phenomena from sev eral energy domains mechanical electrical and fluid The individual subsystems are separated there by interaction boundaries Small circles denote the sites of energy interactions Fig b presents a physical diagram of the system shown in Fig a The multipoles modeling individual subsystems are denoted there by closed curves Small circles denote there nodes of the diagram corresponding to the sites of energy interactions in Fig a At least one of the nodes in a physical diagram is always considered as a reference node Across variables of non reference nodes with respect to the reference node are node across
108. of vg will be of the following form Transients for V C 2 1 0 0 5 0 0 0 5 aifi 1 5 oo o2 04 06 08 10 12 14 16 18 20 1 time s E V G V electrical voltage In some cases you may need the submitted initial condition values identical with the last solution values acquired from the previous nonlinear analysis during the same DYNAST run If this is the case from the dialog Nonlinear Analysis open the tab Initial Values and select Leave last solution 12 2 7 Initial solution estimate The Initial Values tab allows you also to specify the initial solution estimate x for the static or steady state analysis This option can be utilized to speed up the iteration convergence or to single out the required solution from the other possible solutions in the case of multiple solution problems Example The algebraic equation x 3x 1 0 is satisfied for three different values of the solved variable x lx 0 3473 x 1 879 and 3x 1 532 These values can be determined by repeating the static analysis for three different initial estimates of the solution for example 1x 0 21 3 and 3x 3 12 2 8 Large signal analysis You might be interested in transient responses to a relatively large excitation in the vicinity of the system quiescent operating point After submitting the system as well as the excitation you can specify such a large signal analysis of the system
109. ole represent the rotational motion of the subsystem inlets A and B respectively as shown in Fig b b The element through variable i corresponds in this case to the reaction torque acting at the subsystem inlet B related to the element pole to counterbalance the external torque positive with respect to the angular reference 8 2 Variety of physical elements 8 2 1 Elements dissipating or accumulating energy Table gives graphical symbols used in DYNAST diagrams for physical elements modeling dissipation or accumulation of energy The entry for magnetic inductors is empty in the table as no related physical phenomenon is known The notion of a mechanical resistor is not commonly used by the engineering community The physical elements are considered as pure dynamic models in the sense that each of them represents a specific dynamic effect characterized by a specific constitutive relation as shown in Table The physical significance of the parameter p shown in the constitutive relations of different elements and their physical dimension are given in Table Pure conductors resistors and dampers model dissipation of energy i e the conversion of energy into heat This energy cannot be retrieved and returned back into the systems Pure ca pacitors and inertors model accumulation of energy by the virtue of an across variable Thus an inertor represents accumulation of inertial energy due to either rectilinear or rotational motion
110. onsidered As DYNAST solves all the equations underlying block diagrams simultaneously it is very robust and has no algebraic loops problem Blocks can be freely combined with multipoles and equations 9 1 Block diagram architecture Individual blocks are denoted in a block diagram by specific graphical symbols Each block symbol represents a specific mathematical relation between the input and output variables of the block Propagation of a variable from a block output to a block input is usually indicated by a line interconnecting the related output and input pins Pins are short line segments sticking out of the block symbols Specific rules that apply to block diagrams submitted to DYNAST e Each output pin of a block is connected to a node of the diagram The name of the output variable becomes identical with the name of the node e A node can be connected to any number of inputs the names of which become identical with the name of the node e An input pin should be connected just to one node with the exception of basic blocks e The input and output pins of the same block must not be connected to a common node with the exception of the basic implicit blocks There are two categories of blocks in the diagrams submitted to DY NAST basic blocks and submodel blocks Differences between these two categories outlines the following table x1 y A y a x1 b x2 a 2 b 3 a b 9 1 9 2 CHAPTER 9 BLOCK DIAGRAMS Table 9 1
111. or parameters b and c After clicking the Insert button the following dialog will show up Then just click OK Unknown Identifier Identifier x has not been defined Ttis a solved variable click OK to declare it C Itis some other variable specify it by explicit equation Cancel Confirmation of solved variable In this case DYNAST would generate automatically the problem text file SYSTEM b 3 c 4 SYSVAR x Q x 2 b x c TR DC PRINT x RUN END During the data execution only one of the solutions x and x will be located To find the other solution an appropriate initial solution estimate must be specified Chapter 12 6 3 SUBMITTING IMPLICIT EQUATIONS 6 5 The operator of numerical differentiation d dt of solved variables in the equations should be denoted by the characters VD Example After submitting the differential equation X 2x sin 27t for solving and invoking its transient numerical analysis DY NAST will generate the data SYSTEM SYSVAR x 0 VD x 2 x sin 2pixtime TR tr 0 4 PRINT x RUN END To solve a differential equation of the th order the equation should be converted into equations of the first order using substitutions for the higher order derivatives Example The second order Van der Pol nonlinear differential equation e 1 27 x 0 6 5 can be converted into two first order differential equations using the s
112. or the analysis e If you do not want to allow DYNAST to determine the frequency interval of the characteristics automatically based on the computed roots you can specify it here as well as the number of frequency points of the characteristics e Alternatively you may specify the sequence of individual frequency Click OK 14 2 SUBMITTING SEMIS YMBOLIC ANALYSIS 14 11 Semisymbolic Analysis f ax Response Transforms Time Domain Responses Frequency Characteristics Select a transfer function Components Magnitude Yin 7 Magnitude in dB Phase in radians Phase in degrees IV Real part Group delay l I Magnitude slope Numerical evaluation Specification of Evaluation at 501 equidistant points within the frequency range frequency characteristics determined by DYNAST user defined from fE to E1 Hz Frequency scale C lnea logarithmic C Evaluation at individual points comma separated fi Hz Stormo N pov da Example The following figure shows the frequency characteristic of the series RLC circuit The imaginary part of the transfer function G is plotted with respect to the real part of G in the interval from0 1 to 10 Hz with frequency logarithmic scale Frequency characteristics of G 6 Ml M G 0 2 0 4 0 6 0 8 1 0 14 12 CHAPTER 14 SEMISYMBOLIC ANALYSIS 14 3 Text of semisymbolic analysis 14 3 1 Text
113. ot suit to your needs you can choose other arrangements of the vertical axis scales to be provided automatically You may have even each dependent variable plotted in an independent graph but in the same window The different arrangements as well as the corresponding Axes menu commands and main window toolbar icons are shown in the next page Plotting of all selected variables with a common scale on the vertical axis plotZeroOffsetY0 eps Plotting of all selected variables with the common origin of the verti cal scale 15 3 ARRANGEMENT OF DISPLAYED PLOTS 15 3 Plotting each selected variable in an independent graph Plotting of all selected variables with the logarithmic scale on the horizontal axis Plotting the selected variables in the form of a histogram 15 2 2 Setting scales by the user By default the graph scales are chosen automatically in a way fully exploiting the area available for the graph A more detailed plotting of only a part of the graph you can achieve in either of two ways e Drag the mouse with its left button pressed across the required part of the graph diago nally This part selection can be canceled by choosing Undo zoom from the Axis menu You can return to the detailed plotting of selected graph part by choosing Redo zoom e Choose Custom Range from the Axes menu The dialog for individual setting of the scale ranges for the graph variables The ranges can be returned to their original state by choosing Full
114. ove picture represents the y motion of the weight Then the point A projects onto the node A in the physical diagram below The symbols linked to the node represent actions of the spring force mass inertia and gravitational force on the point A of the real system The fourth symbol in the diagram is a block integrating position ya of the point A from the node velocity Solution damping d Model spring 1k Ay yA mass Data Open in DYNAST Shell 5 Analyzed system 5 Analysis results Click the button 5 Analyzed system to display the diagram in the window of the DYNAST Shell schematic editor Execute analysis If you click the 5 Simulation Results button DYNAST will start the analysis computation in addition If your computer is connected to the Internet still another window opens shortly after with a plot of the analyzed system response aax Weight on spring damping d gravity mg 4 time s E yA m position of the body Modify the problem Double click any of the symbols to open its dialog and change the value of its parameter If you choose for example the force symbol the following dialog will open 1 3 DYNAST AVAILABILITY 1 5 Element or Block Properties source of force 2 V Name Cancel gravity Hel V Parameter Hp m g N force Expression Coe oe jo a e o If you would like to modify any parameter expressed symbolically like
115. p VD u lt 0 3 6 CHAPTER 3 FUNCTION EXPRESSIONS 3 4 Standard and random functions 3 4 1 Standard functions The complete list of DYNAST standard functions allowed in the functional expressions is given in Table Table 3 5 Standard functions Tyre Fonction Tve FUNCTION 7 absolute value natural logarithm exponential decadic logarithm sine square root cosine integer part tangents signum arcus tangents cotangens hyperbolic sine arcussinus hyperbolic cosine arcuscosinus hyperbolic tangents arcuscotangents decadic exponential hyperbolic cotangents Examples Mathematical relations and the corresponding expressions in the DYNAST lan guage x a sin b 3 X A SIN B 2 3 3 y Y 3 SQRT A 2 10 COS 5 A B 2 a2 10cos5 a b z Pe Z X 3 EXP TAN Y X Y Ox dy 3 4 2 Random functions The time dependent random function r t generated by DYNAST is of the normal or uniform distribution The random function specification is either normal mean value variation delta or uniform lower upper delta The random function is based on random numbers generated at equidistant points of the variable TIME separated from each other by the interval delta The random function values between these points are given by linear interpolation similarly as in the tabular function All parameters mean value variation lower upper delta should be numerical constants or constant exp
116. propose you updates of the text file to achieve synchronization with the diagram file You will be similarly prompted to update the active diagram file with respect to the changed text file If you accept the updates DYNAST will provide them If you will change your mind afterwards you will still be able to cancel the updates by choosing the Undo command The following table shows the updates of diagram files proposed by DYNAST for different changes made in the related problem text files For a changed diagram DYNAST is capable of proposing synchronization updates of the corresponding problem text file without any excep tions 11 2 CHAPTER 11 PROBLEMS IN TEXTUAL FORM title changed ignored with warning part parameter value changed parameter value updated part name or type changed part removed node name changed ignored equation added or changed ignored analysis added or changed ignored If you want to synchronize the related problem and diagram files regardless of the time when each of them was changed for last time you can do this manually From the Edit menu choose Synchronize Then select either Update diagram according to Text or Update text according to diagram 11 1 2 Submitting diagrams in textual form If you want to submit a problem in the textual form 1 From the File menu choose New to open the New File dialog 2 Select Problem text in the File type drop down list 3 Specify the File name and the diagram Title 4 C
117. ption is advantageous for debugging of new submodels as will be shown in the next section Example After processing the following input file by DYNAST the submodel files CRCR MOD and TRAFOID MOD are created and included into the directory reserved for this purpose automati cally SYSTEM DEFMAC CRCR IN REF OUT a 1k b 10 R1 INNER REF a R2 OUT REF b 2 Cl IN INNER b C2 INNER OUT b 2 EOQ DEFMAC TRAFOID A B BR N 1 E BR V A V B N J A B I BR N EO RUN END 16 2 1 Creating graphical symbols for submodels Editor of graphical symbols Then you should associate the submodel text file with a graphic symbol To associate it with a new symbol open an existing or new symbol library from the DYNSHELL File menu design the symbol using the symbol editor and add the symbol to the library The symbol editor allows you to design and edit libraries of graphical symbols that can be used in the diagram editor see chapter For each symbol you may edit its size appearance pins and other properties The window of the symbol editor is divided into two panes The left pane displays thumb nails of all symbols in the library and allows you to manipulate the library on the symbol level The right pane displays the selected symbol and allows you to edit its properties 16 4 CHAPTER 16 CREATING AND EDITING SUBMODELS Manipulating symbols in the library Manipulation with symbols can be done in the le
118. r submitting their problems specified by equations Diagram schematics are stored in DIA files They are set up from graphical symbols orga nized in symbol libraries which are stored in LBR files Symbols of submodels i e models of dynamic system components are accompanied by independent textual MOD files specifying the submodel dynamic behavior When the problem specified by a diagram is submitted for 2 6 CHAPTER 2 DYNAST SOFTWARE SYSTEM analysis DYNAST first converts the diagram into a textual FRB file Then for each submodel symbol found in the diagram DYNAST includes the related MOD file into the PRB file Analysis results are stored in tabular form in O files The graphs stored in tables can be plotted by DYNAST Shell in different forms Though the plots cannot be stored individually they can be stored as parts of the complete DYNAST Shell window layoutin LAY files The individual plots can be converted to different formats and printed or exported As shown in Table to open some of the mentioned files you can choose commands available in the View menu or you can click the corresponding icons in the toolbar The other menu commands and icons available in DYNAST Shell are commented in the next chapters Table 2 3 Tools for viewing files E diagram for active problem text PRB file result O file for active problem text or diagram Result plot result plots for active problem text or diagram 2 4 2 Folder association DY
119. ragraph of this chapter If xy corresponds to a steady state static solution i e if xy x co it can be considered as the quiescent operating point of the analyzed system for a subsequent small signal analysis of the nonlinear system in the vicinity of this point The frequency Chapter 13 or semisym bolic analysis Chapter can be then applied for this purpose The linearized model of the analyzed nonlinear system in the vicinity of x y is represented by the jacobians shown in 12 2 12 2 Submitting nonlinear analysis 12 2 1 Transient analysis Nonlinear analysis should be applied to the system submitted already in the currently active dia gram DIA or problem text file PRB To specify the transient mode of analysis from the Analysis 12 2 SUBMITTING NONLINEAR ANALYSIS 12 3 menu choose Numerical Nonlinear after which the following dialog opens As Analysis mode select Transient In the from and to text boxes specify the lower and upper limits fo and tr of the transient analysis independent variable t respectively Numerical Nonlinear Analysis Analysis Desired Variables Initial Values Computation Control Analysis mode Transient from fo to fi s IV parametric Submitting Parameter Vax x swept from 0 5 to E nonlinear analysis Fourier Period fi s Harmonics fic Points 128 12 2 2 Desired variables of nonlinear analysis Numerical Nonlinear Analysis 2 x Analysis Desir
120. raphical user interface of DYNAST Shell formed by dialog windows wizards allows for submitting problems and their solution without learning any special language The input data is directly interpreted without any compilation delay The preferred way of submitting problems to DYNAST Shell is the graphical one Users set up their physical or block diagrams from symbols representing physical phenomena real components or mathematical relations The symbols are stored in symbol libraries which are open in the sense that users may freely create and add submodels and symbols of their own Built in the program there is both a schematic editor for diagrams and a graphical editor for creating symbols A special dialog box for each new submodel symbol is formed in DYNAST Shell automatically 2 4 CHAPTER 2 DYNAST SOFTWARE SYSTEM Results of problems solved in DYNAST Solver are returned back to DYNAST Shell in a textual form Various responses and relations can be plotted with automatic scaling DY NAST Shell includes also a software tool for animation of analyzed systems that change their shape or color The software allows currently for display of 2D animations 3D animations should be displayed by a third part browser Both the problem specifications and their results can be documented using a built in docu mentation system using standard templates The systems extracts the relevant parts of the input data and captures diagrams as well as the resulting plot
121. re eee bees 4 4 4 4 _ Polynomial functiong 020 00 00 a 4 4 4 5 Text of user defined function 2 CONTENTS 5 Altered functions and event 5 1 5 1 Insertion of altered functions 5 1 5 2 Transformed funca 5 2 o 5 3 dead aie eh 5 4 sie ew eo ie ee ele ed Ged oak Baiee 5 5 oe Gad Rod oP e Ao bbb bod deka ae T 6 1 6 1 Equations and their variables 6 1 e ee rele be we a Beate wee E 6 1 oa os A ds gre dE al 6 3 A E Sts 6 6 7 1 7 1 Principles of multipole modeling 7 1 PI ghee debe acter ace Tel Las pies eek G arpa 7 2 eves a osos 12 A 72 ee er ere eee 7 3 7 3 Automated formulation of equations 7 3 1 Postulate of continuity and compatibility 7 3 2 Constitutive relations of component models 7 4 Multipole modeling by step 9 Block diagrams 9 1 Block diagram architecture 9 3 Block diagrams and sical models 9 5 9 3 1 Block diagrams of sical models 9 5 9 3 2 Blocks in physical diagrama 9 6 10 Diagrams in graphical for 10 1 AAN 10 1 a 10 2 CONTENTS 3 10 1 5 Using multilinks 0 00202 022 202 02020002000 2000084 10 5 10 1 6 Inserting equations in diagrams 2 004 ne and exporting diag 11 Problems in textual for 11 1 11 1 Diagrams and their textual files ee
122. ressions Example Random numbers of normal distribution with mean value equal to 15 and with variation equal to 0 8 generated at time points displaced by 10 ms can be submitted as A NORMAL 15 0 8 10m Chapter 4 User defined functions Chapter overview DYNAST allows you to define some useful non standard functions which can be used with arbitrary arguments Each function definition must precede the first expression in which it has been used Tabular functions can be user defined or imported from external files generated by measuring instruments for example 4 1 Inserting user defined functions Dialogs for inserting user defined functions can be opened from the System menu The function can be inserted in these steps 1 Choose an identifier for the submitted user defined function f e The symbol e repre sents an arbitrary argument 2 Specify values for the function parameters according to instructions given in the following paragraphs 3 The submitted function can be then transformed trimmed or made periodic using the dialog tags Chapter 5 4 2 Impulse functions To open the dialog for inserting an impulse functions choose Insert Impulse Function in the System menu 4 1 4 2 CHAPTER 4 USER DEFINED FUNCTIONS Insert Function Impulse Transformation Trimming Periodicity Identifier L2 Cancel TRAP 5 i Help kTDATReE TT TF Inserting impulse L1 2 v L2 10 Y TD 5u functions TR del
123. riage position x from its velocity v and the angular displacement q of the pendulum from its angular velocity is provided by integrators After exporting coefficients of the system transfer function H s p s F s to the MAT LAB environment you can design a PID control for the system for example Fig b shows the system model with the controller regulating the source of force F For more details see Tilbury and B Messner Control Tutorials for Matlab http www engin umich edu grouj V ppad nelinernch soustav kter maj bt zeny DYNAST podstatn usnaduje vyetovn jejich detailnho chovn bez zptn vazby Umouje nalzt jejich klidov pracovn bod pomoc nelinern statick analzy v tomto bod je linearizovat a urit jejich penosov funkce i odezvy na poten stav Po dokonen nvrhu zen DYNAST dovoluje dkladn oven cel zptnovazebn soustavy pi respektovn nelinearit a dalch neidelnch vlastnost jak zenho objektu tak 1 dech prvk 17 3 Controlling model in DYNAST by Simulink Using a controlling structure represented by a block diagram implemented in Simulink you can control a plant model implemented in DYNAST In the Simulink block diagram the DYNAST plant model is represented by a block called S function This block provides communication between Simulink and DYNAST 17 3 1 Preparing the plant model in DYNAST Required arrangement of PRB file DYNAST The DYNAST problem text PRB file with the plant model to be controlled should be arranged in the following way
124. ric values of individual frequency points LIN is setting a linear frequency scale it is logarithmic by defalt If the statement FREQ is missing DYNAST determines the frequency range automatically Table 14 3 Components of frequency characteristics IDENTIFIER COMPONENT IDENTIFIER COMPONENT modulus group delay modulus in dB modulus slope phase in radians real part phase in degrees imaginary part Tabular output for various components of the frequency characteristics is specified as PRINT points component function component function j The identifiers component are listed in Table l 14 14 CHAPTER 14 SEMISYMBOLIC ANALYSIS Example Data generated by DYNAST for computing transforms of the series RLC circuit and their time domain and frequency characteristics Series RLC circuit SYSTEM TRAN G V C E COEF Yin I E E COEF VCO 1 E INIT COEF INIT V C 1 I L 1 RUN TRA PRINT 5001 G STEP G VCO SYMB G STEP G VCO RUN FRE FREQ 1E 1 1 1 RUN END Example Data generated by DYNAST for computing time domain response in symbolic and numerical form of the series RLC circuit to an excitation and initial conditions Series RLC circuit SYSTEM BS IN 1 omega 50 denom POLY omega 2 0 1 numer POLY omega BT 3 20 numer denom IN TRAN F V C BS IN VCO V C INIT INIT V C 1 I L 1 RUN TRA TIME 0 2 PRINT F VCO SYMB F VCO
125. s and includes them into the documents These can be converted to PDF or HTML formats 2 3 DYNAST distributed system DYNAST Shell can communicate with DYNAST Solver not only off line but also online across the Internet or a local network This option is illustrated by the following figure Client Server Supervisor DYNAST DYNAST DYNAST Server Shell MATLAB DYNAST DYNAST a toolset 3 Solver Monitor Such a distributed system can be composed of many client computers the users of which have their tasks processed by a single DYNAST Solver implemented together with DYNAST Server on a common server computer In addition activities between clients and the server can be supervised from another remote computer The software tool called DYNAST Monitor allows for supervising the data submit ted to the server both in the textual and graphical forms The supervisor can not only monitor clients activities but also communicate with them by e mails to assist them in solving their problems and correct their errors if necessary The clients are supported by a large collection of re solvable examples and component sub models as well as by a course on physical modeling The DYNAST Manager allows for au tomated administration of such an amount of files for their conversion to the HTML and PDF formats and for uploading them to the server Clients with the MATLAB toolset installed can import to it semisymbolic form transfer functions from DYNAST e
126. s by a dou ble click To place a circle or a filled circle use the ID PLACE CIRCLE or ID PLACE FILLED CIRCLE respectively Use a double click to define position of the center of the circle and its radius To place an arc use ID PLACE ARC Use a mouse click to define the center and two endpoints of the arc Between the endpoints the arc will appear in a clockwise direction To place a text note use ID PLACE TEXT from the Place menu Use mouse clicks to place as many instances of the text as you need when finished press the right mouse button If you double click the text with the mouse you may change its properties in the IDD LIBRARY TEXT Adding new pins To place a pin use ID PLACE PIN from the Place menu Use mouse click to define the active endpoint of the pin the passive endpoint will be always at the bounding box of the symbol When you fix the position of the pin the IDD LIBRARY PIN appears Here you have to fill in name and type of the pin The pin can be either scalar then you should fill in only the type of the pin or vector then you should fill in a vector of pin names and corresponding types 16 3 ORGANIZATION OF SUBMODELS 16 5 Editing existing objects The symbol editor provides features for editing the symbol i e for moving copying and deleting objects and for changing properties of pins To edit a symbol the symbol editor must be in the select mode This mode can be enabled using ID
127. s may breach the modeling principles due to an over idealization of real sys tems Fig 8 1h shows a system model with three independent across variable sources forming a close loop If the across variables of the sources do not satisfy the postulate of compatibility the system equations have no solution If on the other hand this postulate is satisfied the system equations are singular unless one of the sources is removed from the loop removing the source will not influence the system variables Orel cy lt gt SYSTEM 3 sYS TEM P O a b Figure 8 1 a Loop of across variable sources and b cut set of through variable sources The three through variable sources shown in Fig form a cut set i e a set of sources which when removed from the system model decompose the model into separated parts If the through variables of the sources do not satisfy the postulate of continuity the system equations will have no solution To prevent the equation singularity in case the postulate is satisfied one of the sources must be removed Note that any physical element with the zero value of its parameter behaves as a source 8 8 CHAPTER 8 PHYSICAL ELEMENTS Chapter 9 Block diagrams Block diagrams are graphical representations of systems of equations This chapter will intro duce you to the very flexible way of block diagram implementation of equations in DYNAST Also equations for physical models of dynamic systems are c
128. s option enables reading in function relationships from digital measuring instruments for example The tabular function should be stored in the file file FTN where file stands for the file name The file should contain couples of point coordinates in the form of numeric constants separated by commas or spaces The statement for importing the point coordinates from the file should be in the form FILE file Example The tabular user defined function DIO1 stored in the file FD FTN in the form of data 1k 10 0 0 30 1k could be later imported using the statement DIO1 TAB FILE FD 4 4 Polynomial functions A real polynomial function f x a0 ata k x x1 x 2x2 can be submitted either in terms of its coefficients or roots You can open the dialogs for either of these options by selecting Insert Polynomial from the System menu 4 4 POLYNOMIAL FUNCTIONS 4 5 Insert Function F xl Coefficients Composed Trimmed Periodic A Identifier F Faa taxt a x ar ance Coeffitient Insert Help Inserting _Delete polynomial functions in terms of 10 1 10 406 10 10 108 10 10 m Expression coefficients Statement F POLY 0 4 0 1 Both coefficients and roots including the factor k can be specified in terms of numeric con stants or symbolic expressions The polynomial order is determined automatically by DYNAST based on the number of submitted coefficients or roots
129. s the real and imaginary parts 14 6 CHAPTER 14 SEMISYMBOLIC ANALYSIS Semisymbolic Results Series Series RLC circuit Close in 1 E E cO CHINIT Series RLC circuit Export to MATLAB dl Roots Coefficients Gain constant 25 Root real part Root imaginary part Natural frequency Damping Factor 5 0 6 Example To demonstrate the analysis of transform functions let us consider the series RLC circuit with these parameters E 20 sin 50t V R 6 Q L 1 H and C 0 04 F The above two dialogs show specification and results for the transform functions e voltage transfer G Vc E e input admittance Yin lg E e transform Vco of the response to the initial conditions Vc 0 1 V and Z 0 1 A 14 2 SUBMITTING SEMIS YMBOLIC ANALYSIS 14 7 The resulting transform functions can be rewritten as 1 7 1 25 25 s 3 j4 s 3 j4 s2 65 25 S Y eee gt SS s 3 4 s 3 j4 52465425 s 1 s 1 E RA AS E s 3 4 s 3 j4 s 6s 25 14 2 2 Submitting time domain responses Semisymbolic Analysis ax Response Transforms Time Domain Responses Frequency Characteristics Response variable LE z Response transforms MV Transform of response to initial state vco E INIT y Response of transfer function y to unitimpulse unit step V Numerical form of results List of time domain responses Response transform Semisymbolic form Nu
130. s using text editor 2 202 20222202 08080 a 16 1 16 2 1 Creating graphical symbols for submodelg 16 3 16 3 Organization of submodelj e 16 5 17 Modeling toolbox for MATLAB 17 1 17 1 DYNAST amp MATLAB in control desigdl 17 1 17 2 Exporting transfer functions to MATLAB 17 1 as Het bee eae 172 17 3 2 Required setup of MATLAB 04 17 3 Chapter 1 Examine DYNAST Chapter sections 1 1 What DYNAST can do for you 1 1 1 2 Tryout DYNASTI cualidad 1 2 1 3 DYNAST availability 1 5 Chapter overview Following this introductory chapter you can not only learn about DYNAST abilities but also how you can examine these abilities right away on your computer either online or offline At the same time you will find here DYNAST installation requirements and information about availability of its different versions 1 1 What DYNAST can do for you DYNAST is able to simulate or analyze real dynamic systems the nonlinear dynamic models of which are represented by e physical diagrams characterizing graphically the way in which the system is assembled from from real components without the need to formulate any equations as DYNAST will formulate them automatically e sets of nonlinear algebro differential equations in a textual form without constructing a block diagram e
131. signals of a certain frequency their responses are harmonic too While the frequency of each response is identical with that of the excitation the response amplitudes and phases are different in general DYNAST forms for each exciting frequency a new set of complex algebraic equations characterizing the system and solves it numerically Harmonic excitation should be applied to the analyzed diagram in the form of one or several special physical elements shown in Table 13 1 This is the source of harmonic through variable type FJ and the source of harmonic across variable type FE The source variable should be specified in the form p U 9 where U stands for the excitation amplitude and rad for the phase shift The default values are p 1 0 the characters 0 can be omitted Table 13 1 Sources of harmonic excitation w gt through across Generic variable variable source source Constitutive ae ae relation Only harmonic sources are taken into account during the numerical frequency analysis All the e through variable J type sources are ignored 13 1 13 2 CHAPTER 13 NUMERICAL FREQUENCY ANALYSIS e values of across variable E type sources are short circuited e outputs of explicit BS blocks output variables are set to zero Ay F 15 0 Example The figure shows the linear model set up for numerical frequency analysis of a flexibly imbedded machine The machine is acted on by
132. sources of energy Such elements are usually used to model external energy reservoirs large enough relative to the amount of energy they supply to the system or absorb from it without undergoing any change either in their across or through variable Two limiting cases are thus considered in which either an across variable or a through variable is specified independently of the amount of energy drawn from or delivered into the source a source of across variable and a source of through variable DYNAST symbols and constitutive relations of sources are given in Table 8 1 Parameter p of ideal sources of energy is a constant Sources the parameters p of which are functions of time only are called independent sources but not ideal 8 2 VARIETY OF PHYSICAL ELEMENTS 8 5 Note that a source of zero across variable behaves as an ideal closed connection while a source of zero through variable behaves as an ideal open connection Therefore a zero valued source of an across variable can be utilized as an ideal indicator of its through variable Simi larly the zero valued source of a through variable acts as an ideal indicator of its across variable DYNAST symbols for the ideal indicators that may be used for modeling real measuring in struments or sensors are shown also in Table 8 2 Examples Table shows in its left column examples of simple dynamic systems from different energy domains The first system an RLC circuit is supplied from
133. sposal It also shows the variable and parameter identifiers which you have used already in your current problem specification This list is automatically updated whenever you submit a new statement 3 2 Variables and parameters 3 2 1 Numerical constants Constant numerical values of variables or parameters can be specified either as fraction E exponent oras fraction suffix_unit 3 1 3 2 CHAPTER 3 FUNCTION EXPRESSIONS fraction is a fractional portion of the numerical constant The decimal point can be placed in any position in it If the value of the fractional portion is integer the decimal point may be omitted exponent specifies an integer number n such that 10 is within the range of the computer arith metics suffix can be a scale suffix the variety of which is given in Table 3 1 There must not be any space between the number fractional portion and its scale suffix unit can be a unit suffix i e an arbitrary string of alphanumerical characters which is sepa rated from the preceding scale suffix or fractional portion by the underscore character _ without any space The unit suffix is ignored by DYNAST Table 3 1 Scale suffixes Suma SCALE Factor VALUE tera giga mega kilo mili micro nano pico femto Ludolphian number T G ME K M U N P F FU H Examples The following numerical constants are all legal numbers 3 4 3 67 08E 10 6 3K 5N 1K_VOLT 100_OHM 1PI Pay attention to th
134. ssion is a symbolic expression specifying the relation set to zero by the implicit equation The specification of a system of implicit form equations must be preceded by a declaration list of all the system solved variables by the statement SYSVAR solved solved solved is a user defined identifier of a solved variable Notes e the independent variable is denoted in the expressions by the identifier TIME e A numerical value of any parameter or variable in each equation expression must be evaluated numerically before it used there as an argument The solved variables and the independent variable denoted as TIME make the only exceptions e The operator de dt of numerical differentiation is denoted in the expressions by the identifier VD e where e is related to a solved variable Chapter 7 Physical diagrams Chapter overview Whereas the block diagrams represent systems of equations physical di agrams portray configurations of real dynamic systems and energy interactions between the subsystems A physical diagram can be set up based on mere inspection of the modeled real sys tem without formulating any equations For physical diagram set up using its schematic editor DYNAST is able to formulate the necessary equations automatically This chapter outlines the principles utilized in DYNAST for this purpose 7 1 Principles of multipole modeling 7 1 1 Approximating assumptions Behavior of a real dynamic system is
135. stant however They can be nonlinear time variable or controlled by variables of some other elements blocks or equations in the system model They can be also controlled by an ambient parameter like temperature for example The parameter p of a physical element can be specified by a symbolic or tabular expression In general their constitutive relations can be of the form PERE 8 3 where z1 Z2 are variables or parameters of the system model and Z 22 are their time derivatives 8 6 CHAPTER 8 PHYSICAL ELEMENTS Table 8 4 Examples of simple dynamic systems and their multipole models REAL SYSTEMS electronic energy supply electrical condenser coil of wire electrical resistor pump driven by motor open tank long pipe fluid flow restriction weight of suspended body suspended body helical spring oil filled damper combustion engine flywheel long flexible shaft ventilator propeller SYSTEM MODELS source of electrical current electrical capacitor electrical inductor electrical conductor source of volume flow rate fluid capacitor fluid inductor fluid conductor source of gravitational force inertor spring damper source of torque rotational inertor torsional spring rotational damper 8 2 VARIETY OF PHYSICAL ELEMENTS 8 7 8 2 4 Forbidden element configurations Independent sources can be used in a very flexible way yet not without any restrictions Some of their configuration
136. string toolbox6 for MATLAB version 6 or toolbox7 for MATLAB version 7 17 3 3 Preparing the control diagram in Simulink In Simulink set up the block diagram of the control system with an S function block from the Simulink Nonlinear library representing the plant model Then specify the following parameters for the S function block V Simulinku je poteba vytvoit blokov schma dc struktury s blokem S Function pedstavujcm model zen soustavy implementovan v DYNASTu Uveden blok si zadte tmto postupem 1 Set up the block diagram of the complete control system 2 Choose the block of type S Function from the Nonlinear library or User Defined Functions 3 Type to the S function name box the string of characters dynPlantL 4 Type to the S function parameters box the path sampling 17 4 CHAPTER 17 MODELING TOOLBOX FOR MATLAB path is the complete path to the PRB file with the controlled plant model in the DYNAST environment You can use the string sDYNAST to denote the folder with DYNAST Shell sampling sets the time interval in seconds in which the data between DYNAST and Simulink will be exchanged during the common simulation As soon as simulation in Simulink is je automaticky sputn ei DYNASTu s modelem zen soustavy Simulink and DYNAST then souasn a spolen se podl na odvozen chovn cel soustavy Example The figure shows the block diagram for the digital state control of the inverted pendulum plant in the Simulink environment
137. t a series configuration you can use again the dialog shown above 1 Decide which of the series connected elements should become a representative element of the series configuration 2 Submit the representative element as if it is the only element between the end nodes of the series combination 3 When submitting each of the other elements of the series configuration check the In series box and type the name of the element representing the configuration in In series with box Statements for submitting an element of series configuration except the representative one should be of the form name gt type series expression where series is the name of the element representing the series configuration R6 L8 S1 E6 13 o A 10 0 2 V 13 gt 0 12 Example This series configuration of four elements between nodes N13 and N11 can be submitted as E6 13 12 R6 E6 10 L8 E6 2 S1 E6 V 13 gt 0 11 2 3 Inductive coupling Inductive coupling between inductors of self inductances La and Lp can be characterized either by means of their mutual inductance Map or in terms of the coupling factor Kab Map Lal Values of Map and Kap are positive if the poles of both inductors represent either the beginnings or ends of the modeled coils otherwise the values are negative CHAPTER 11 PROBLEMS IN TEXTUAL FORM _ AAA Md E AIMMMMMAAAA A AAN Insert Mutual Inductance Type K coupling Factor Name Kab Ca
138. t using the nonlinear analysis during which the source of harmonic voltage u 10cos t 10sin t 17 2 mV is ignored 13 4 CHAPTER 13 NUMERICAL FREQUENCY ANALYSIS 2 Imminent numerical frequency analysis of the circuit linearized during the previous anal ysis This time the source of DC voltage E 1 V is ignored The resulting frequency characteristic of the voltage vg can be displayed like this for example 103 Circuit with quadratic conductor 0 0 0 5 1 0 1 5 2 0 2 5 3 0 3 5 107 4 6 4 3 a 1 IM V G E RE V G 13 3 Text of numerical frequency analysis Specification of the numerical frequency analysis should be included in the AC section of the DYNAST problem text PRB file The section should start with the AC statement This section must be preceded by the SYSTEM section with the specification of a diagram that may be combined with equations Sources of harmonic excitation source gt type uzel uzel amplitude phase or source gt FE series amplitude e phase 13 3 TEXT OF NUMERICAL FREQUENCY ANALYSIS 13 5 source is the user defined identifier of the source type is the source type either FE or FJ node and node are identifiers of diagram nodes between which the source is placed series is an identifier of the series element configuration with the source amplitude is a numeric constant or symbolic expression sp
139. ta TI 4 delta TF Fdelta 40 4082 10 106 10 10 10 10 102 m Expression Statement TRAP PULSE L1 2_Y L2 10_Y TD 5u TR delta TT 4 delta TF 3 delta Example The impulse function plotted above denoted by the identifier TRAP can be entered as shown in the dialog screenshot This results in the automatically specified statement TRAP PULSE L1 2 Y L2 10_V ID 5u TR delta TT 4 delta TF 3 delta Note that the form of some parameter values is symbolic as they are specified as multiples of the variable delta Such function can be then used with different arguments as shown in the following equations vil TRAP time t0 y2 TRAP x1 2 4 3 Tabular functions 4 3 1 Inserting tabular functions via dialog DYNAST allows you also submitting a function y f x in the form of a sequence of points specified by couples of their coordinates x yj For this purpose you can use the dialog opened by selecting Insert Tabular Function from the System menu 4 3 TABULAR FUNCTIONS 4 3 Insert Function PR Tabular Transformation Trimming Periodicity Insert Identifier Diot 4 Cancel Points Function Help E pl Inserting tabular functions 908 402 49 106 108 10 30 10 002 m Expression Statement DIO1 TAB 1k 10 0 0 30 1k The values of arguments x and the corresponding functions y i 1 2 can be numeric constants or symbolic expressions The
140. the harmonic force F 15sintr N The machine mass is m 18 kg the bed compliance is c 0 3 mm N and the bed damping is d 200 N s m 13 2 Submitting numerical frequency analysis Numerical Frequency Analysis Operating Point Frequency Desired Results Computation Control HEN fr Equidistant results at 1501 points on linear scale Frequency specification C User defined frequency points in Hz comma separated m Cancel Help After submitting the diagram of your system model choose Numerical Frequency Analysis from the Analysis menu To specify frequencies involved in the analysis open the Frequency tab from the dialog Numerical Frequency Analysis Then you will have two options e If you choose Frequency range you will be able to specify the lower and upper limits of the frequency range as well as the number of frequency points equidistantly laid out along the logarithmic or linear scale e The other option allows you to specify individual frequency points submitted in a growing sequence and separated by commas 13 2 SUBMITTING NUMERICAL FREQUENCY ANALYSIS 13 3 Table 13 2 Components of frequency responses IDENTIFIER COMPONENT IDENTIFIER COMPONENT modulus modulus in dB phase in radians real part phase in degrees imaginary part As the frequency analysis responses are exponential functions they cannot be displayed in two dimensional plots unless they are decomposed into some of their co
141. timate INIT variable value variable value variable denotes e the user defined identifier of a solved variable e the user defined identifier of the across variable of a C type physical element e the user defined identifier of the through variable of an L type physical element e identifier of the output variable of an integrator block BI e XALL allows submitting identical value for all initial conditions e the command XALL if the initial conditions of all solved variables are to be set to the same value e the command XMAX to set the value estimate of the solution vector norm for the computational control e XMAX statement for computation control value is a numeric constant or symbolic expression During the first analysis it is zero by default During the next analyses DYNAST uses these values if they have not been erased by the RESET command Saving the last solution SAVE name INIT name is the name of the file for saving the last solution vector from the the nonlinear analysis Loading of initial conditions from file LOAD name INIT name is the name of the file into which a last solution vector was saved during the previous nonlinear analysis of the current system 12 4 TEXT OF NONLINEAR ANALYSIS 12 13 Statement canceling and solution erasing RESET Modification of system parameters MODIFY parameter value parameter value parameter is the identifier of a system parameter
142. ting from these analyses are constant In addition DYNAST can provide the parameter sweeping analysis of the steady state or static solution This allows you to compute static characteristics of systems with respect to their parameter swept through an interval You can even compute families of such characteristics If the variable is chosen as the swept parameter this procedure provides the quasi static analysis dynamic systems The constant steady state solution x cc represents the quiescent operating point of the analyzed dynamic system DYNAST can use this solution as the vector of initial conditions x to x cc for a subsequent large signal transient analysis in the vicinity of the system quiescent operating point The DYNAST procedure for solving the nonlinear algebro differential equations is based on the equation iterative linearization at discrete values of t in the solution interval fo lt t lt tf The last linearized equations formed during the solution process are in the form of of l E 5 Ax t ee Ax t f xy x ty 0 12 2 where xs x t is the last solution vector and x tf During its execution DYNAST temporarily stores the vector xf for its use in subsequent nonlinear analysis where it can be used as the vector of initial conditions x fo xf DY NAST allows also for storing the vector xy in a file that can be used for computations during its later executions see the commands SAVE and LOAD in the last pa
143. tion is specified by the statement function type list altlist function is a user defined identifier of the altered function type indicates the type of the function to be altered placed between slashes This can be a standard or a user defined function list is a sequence of parameters of the altered user defined function if this is the case altlist is the sequence of altered function parameters in arbitrary order separated by comas 5 6 Events Insert Event Elice Insert Order Cancel Expression time gt 10 eae Specification of events 108 ag 149 19 10 10 0 10 0 x Statement EVENT STOP time gt 10 5 6 CHAPTER 5 ALTERED FUNCTIONS AND EVENTS Events represent changes in equation of diagram variables The occurrence of a specific event is indicated by DYNAST during the numerical transient analysis by a change of the related event variable Until an event occurs its event variable value is 1 When the event occurs the event variable drops to the value of the TIME variable at the moment of the event occurrence The event order is the integer number indicating the number of times the expression must become true for the event to occur Several events can be specified by a single statement of the form 0300 EVENT event order expression event order expression event is a user defined identifier of an event as well as of the event variable associated with the
144. tion of submodel shuntmot in PDI Example View description of submodel shuntmot in HTML of menu Edit diagram of submodel shuntmot for editing Edit text of submodel shuntmot submodel I Edit symbol SHUNTMOT in symbol library electro mech After editing a submodel using the tools in the menu and saving the result apply the com mand Refresh Libraries from the Edit menu 10 2 2 Printing and exporting diagrams To print an active diagram choose Print or Print Preview from the File menu Exporting diagrams to postscript To export the active diagram to postscript choose Export to Postscript from the File menu 10 8 CHAPTER 10 DIAGRAMS IN GRAPHICAL FORM Exporting diagrams to clipboard To export the active diagram as a bitmap to clipboard choose Select All from the Edit menu then click Copy Text files of diagrams Diagrams are stored in ASCII text files with the extension DIA In formation necessary for the analysis of system models represented by diagrams is extracted by DYNAST from the diagram files and stored in problem files These are ASCII text files with the extension PRB Information is coded there in the DYNAST problem description language in the way specified in Chapter Chapter 11 Problems in textual form Chapter overview Before submitting a diagram for number crunching DYNAST converts it into a textual form Some users prefer the textual to the graphical one or they wish to work with
145. ttach Multilink Entry to Link dialog and type in the Link name If two continuous multilinks cross they are not connected To interconnect such multilinks proceed in the same way as in the case of single links If the multilinks are compatible their individual links will be interconnected properly Example Diagram of a suspended body in the x y plane with integrator evaluating y only 10 6 CHAPTER 10 DIAGRAMS IN GRAPHICAL FORM 10 1 6 Inserting equations in diagrams Equations can be inserted into a diagram using the Insert Equation from the System menu In a similar way you can insert functions events etc They will not project into the diagram however Read Chapter 11 to learn how to see input data in a textual form System parameters 1 e parameters in the form of explicit equations can be inserted to diagrams or edited using the command Edit System Parameters from the System menu 10 2 Editing printing and exporting diagrams Individual graphical objects like part instances and their descriptions links multilinks labels and text notes or groups of these objects placed in the diagram can be rotated copied moved to another position or deleted First you must select the objects targeted for any such operation Selecting objects To select a single object in a diagram position the mouse pointer over the object and click it The object will change its color To deselect the object click the mouse over a place outside the
146. ual language is composed of statements coded in ASCII characters Both upper and lower case letters may be used but DYNAST is case insensitive Each statement is terminated by the semicolon character A statement may continue on several lines and there may be several statements in one line The statements consist of keywords identifiers and user defined identifiers These items are separated by delimiters made by characters which are neither letters nor numbers i e by characters like and or by spaces The underscore character _ however is treated as a letter It is fully insignificant if only one or more subsequent spaces are used as a delimiter The user defined identifiers may not contain any non alphanumeric characters or spaces If there is a colon in a line the part of the line to the right of this character is considered as a comment and ignored as such by the program This feature may be used for deactivating some statements during the input data debugging When the colon is preceded by the asterisk the comment will be used by DYNAST as a problem title in all related files The notation used in statement definitions in some of the following chapters is given in Table 2 4 Table 2 4 Notation used in statement definitions NOTATION Meana 7 slanted style keywords or reserved identifiers typewriter style examples of input data italic style user specified identifiers statements between optional stateme
147. uation q2 5v3 20v2 as q2 FC v2 4 5 Text of user defined functions The statement for impulse tabular and polynomial functions has the form function type list function is a user defined identifier of the function type is one of the function type identifiers shown below and placed between slashes list is a list of parameters of the function separated by comas These parameters are defined for each of the functions in the preceding paragraphs impulse function function given by a table polynomial given by coefficients polynomial given by roots In function expressions the user defined function should be referred to by the statements function argument function is a user defined identifier of the function argument is a numeric constant or a symbolic expression enclosed in parentheses The function definition statement must precede the statement in which the function is used Note that a user defined function can be used in the same problem repeatedly with different arguments Chapter 5 Altered functions and events Chapter overview Altered functions can be formed by transforming trimming or repeating periodically standard functions Chapterl3 or user defined functions Chapterl4 Events allow controlling equations or diagrams during their nonlinear analysis Chapter 12 5 1 Insertion of altered functions DYNAST forms an altered function f e by modifying a standard or user defined functio
148. ubstitution x xp X Xp 0 ip x e l x5 xp 0 After submitting the explicit form equation 0 01 as well as the two implicit form equations and invoking nonlinear transient analysis DYNAST will generate the problem text file SYSTEM SYSVAR x XD eps 0 01 0 xD VD x 0 VD xD x eps 1 xD 2 xD TR TR 0 20 PRINT x xD INIT xD 1 RUN END Example Similarly the second order time dependent Bessel s differential equation ryttyt r kR y 0 6 6 can be converted into two first order equations yay 0 Pyp typ Pay 0 Then after submitting the equations for numerical transient analysis assuming that n 2 has been submitted as an explicit form equation DYNAST will generate the problem text file SYSTEM n 2 SYSVAR y yD 0 yD VD y 0 time 2 VD yD time yD time 2 n 2 y TR TR 0 10 INIT yD 5 PRINT y RUN 6 6 CHAPTER 6 NONLINEAR EQUATIONS 6 4 Text of nonlinear equations The data for submitting equations to be solved by DYNAST should be placed in the SYSTEM section of the problem text file Explicit form equations can be submitted to DYNAST using the statement evaluated expression evaluated is a user defined identifier of the evaluated variable or parameter expression is a numeric constant or symbolic expression Implicit form equations should be submitted using the statement 0 expression 0 is the string introducing the implicit equation statement expre
149. value is a numeric constant or symbolic expression Fourier analysis FOUR period harmonics samples period is a numeric constant giving in seconds the period of the analyzed steady state periodic responses harmonics is an integer giving the number of the required harmonics in the resulting spectrum 10 by default samples is an integer specifying the number of the response samples considered in its one period during the analysis 128 by default If there are transients in the analyzed response the Fourier analysis must be preceded by tran sient analysis of a length during which all the transients die out sufficiently Analysis execution RUN HOLD control value control value HOLD invokes analysis but its results are not saved into the O file until the first of next analyses is invoked by the RUN statement without the HOLD command control is the identifier of the parameter computation control value is a numeric constant giving the control parameter value Example Problem text PRB file generated by DYNAST for the electrical circuit analyzed in this chapter Circuit with quadratic conductor SYSTEM 0 eR BA All A Susi lu A V 1 b sin 2pi T time 2 Ime k v G 2 lu QnD FNH Oo NOM Oe 12 14 CHAPTER 12 NONLINEAR ANALYSIS TR TR 0 2 PRINT 501 I G V G G RUN Transients for V C 0 0 TR 0 2 RESET INIT V C 2 PRINT 501 I G V G G
150. variables The across variables of poles with respect to the reference node are pole absolute across variables An across variable between non reference nodes or between poles is the relative across variable Table shows common symbols of reference nodes and related across variables 7 2 2 Variable orientation The value of a variable is positive or negative depending on its orientation with respect to the assumed polarity reference In this text we shall stick to the following conventions with regard to polarity references Orientation of across variables e Polarity of across variables is denoted by arrows with empty arrowheads 7 4 CHAPTER 7 PHYSICAL DIAGRAMS Table 7 1 Across variable references ENERGY DOMAIN ACROSS VARIABLE SYMBOL EXAMPLE electrical electrical voltage electrical ground e Each such arrow situated between two places will always will point towards the place of the assumed larger value of the absolute across variable Orientation of through variables e Polarity of through variables is denoted by arrows with full arrowheads e Each such arrow will point in the assumed positive direction of motion of the related medium For example the medium may consist of mass particles or bodies in mechanical domain or of positively charged particles in the electrical domain b Cc e a b Example Fig a shows an example of a fivepole which is used to illustrate the assumed pos itive orient
151. variables plotted are as follows Transients for V C 0 E V G V electrical voltage 108 E G A V electrical conductance 00 02 04 06 8 10 12 14 16 18 20 time s 12 2 3 Occurrence of desired variable points DYNAST computes the variable values at points unevenly distributed along the independent variable axis to minimize the computation time while respecting the required accuracy When the responses are plotted the computed points are interconnected by line segments If the underline equations are too easy to solve the points are sparse and the plotted responses may not be smooth enough To avoid this DYNAST can interpolate the unevenly distributed points by points distributed uniformly along the independent variable t axis These points are then saved in the result file O To exploit this option in the Desired results section of the Nonlinear Analysis dialog check the Equidistant box In the adjacent text box specify the total number of the required points in the interval of the independent variable t 12 2 4 Static or steady state analysis To specify the static or steady state mode of analysis choose Static or steady state in the Analysis mode section of the Nonlinear Analysis dialog 12 2 SUBMITTING NONLINEAR ANALYSIS 12 5 Example After submitting the static or steady state analysis for the above circuit you will be able to find the following l
152. ver its implicit value specified in the submodel file MOD or zero value if the default value is not specified there Note If the external parameters and their values are entered in the same number and order in which they are listed in the MOD file the strings parameter can be omitted Statements in the PRB file to which a submodel has been linked can refer to the following internal submodel variables these variables cannot be altered from outside of the submodel however e V name node across node variable e V name element across variable of element G C or J e I name element through variable of element R L E or S In all these cases name is the name of the submodel instance in the diagram Example Fig a shoes the diagram of the submodel RC Fig b gives an example of exploiting this submodel for modeling components RC1 and RC2 in an electrical circuit DY NAST printed below the submodel symbols values of external parameters r and c of the submodel RC specified differently from their implicit values R1 o j 12 sin 20pi time a b Listings of the submodel file RC MOD and of the circuit file RCRC PRB low pass filter RC RC circuit A electrical pole B electrical pole r 1k ohm resistance c lu F capacitance Rl A B r Cl B oc EOQ SYSTEM El 1 12 sin 20pi time Rload 3 100 RC1 gt RC 1 2 c 100u RC2 gt RC 2 3 r lme
153. w names to the copied part instances or labels 10 2 EDITING PRINTING AND EXPORTING DIAGRAMS 10 7 Deleting objects To delete a selected object or a group of objects press the Del key Changing the diagram title To change the title of a diagram from the Edit menu choose Change Title to open the Diagram Title dialog Placing text notes To place text notes into a diagram 1 In the Place menu click Text note and release the button The Note symbol will become attached to the mouse pointer 2 Move the symbol Note to the desired location in the diagram and click the location to place the symbol there 3 You can repeat the last operation to place the symbol to several different locations in the diagram 4 Right click the mouse to stop placing the symbol Note 5 Double click each of the placed Note symbols to open the dialog for inserting a text Then close the dialog by clicking OK Placing frames To improve lucidity of complex diagrams you can enclose its sections into rectangular dashed frames From the Place menu choose Rectangle and drag the mouse in the diagonal direction across the area of the desired frame 10 2 1 Editing submodels from diagram window Advanced users can edit submodel MOD text files diagrams and graphical symbols directly from the active diagram window After selecting the submodel symbol in the diagram and right clicking it the following menu opens Edit properties of part MOTOR ew descrip
154. xploiting thus the advantage of its higher modeling efficiency over MATLAB On the other hand parameters of the DYNAST models can be optimized by the MATLAB optimization toolbox Digital control of models in DYNAST can be provided by co simulation with Simulink implementing the digital control configuration Also real time control can be executed via Simulink In all these operations the MATLAB toolset can com municate with DYNAST solver either offline or online 2 4 DYNAST FILES 2 5 2 4 DYNAST files 2 4 1 File types Table 2 2 DYNAST file type extensions EXTENSION DESCRIPTION problem specification diagram in graphical form text of system model and its analysis initial initial conditions Table 2 2 gives types and extensions of data files processed by DYNAST Shell The follow ing figure indicates the relationships among the four basic file types used by DYNAST to solve problems diagram in graphical form problem submodel symbol text file texts libraries PRB MOD LBR DIA The PRB files are indispensable for solving any problems by DYNAST even though users need not see them in most cases For problems submitted in the graphical form of diagrams the related PRB files are generated automatically by DYNAST Each PRB file consists of two parts textual description of the submitted diagram netlist or equations and specification of the required analyses Users usually use the textual form PRB files only fo
155. y a diagram Chapter 10 or by a combination of both The SYSTEM section can be followed by several sections specifying different modes of analysis of the submitted system Transient analysis TR TIME to tf to and ff are numeric constants or symbolic expressions determining the lower and upper limits of the independent variable t TIME is the identifier of the variable that can be omitted Static or steady state analysis DC Static analysis with swept parameter DC parameter min max parameter is the identifier of the analyzed system parameter TIME by default min and max are numeric constants or symbolic expressions giving the lower and upper limits of the swept parameter Transient analysis from steady state DCTR TIME to tf 12 12 CHAPTER 12 NONLINEAR ANALYSIS Desired variables PRINT points XALL variables variables IXALL evokes all solved variables as desired variables variable is an identifier of the desired variable or parameter A survey of their identifiers is given in TableB 2 points is an integer specifying the number of points specifying the number of the independent variable points evenly distributed over the analysis interval at which the desired variable values are interpolated and saved in the result O file If the string points is omitted the values are saved at unevenly distributed points at which they have been computed Initial conditions of solution es

Download Pdf Manuals

image

Related Search

Related Contents

タイトル: EL ポジショナ トラブルシューティングとセットアップガイド    "user manual"    Tipo 252  DPT 2600 AC/DC  AM(FL) usa cover.qxp - Soul Hamsters Forum  Samsung NX-N2 Manual de Usuario  Manual de Operações Carregador frontal COMPACT FC  Scarica - Pioneer Europe  

Copyright © All rights reserved.
Failed to retrieve file