Home

user manual

image

Contents

1. ERA 2 0 Legal notice ERA 2 0 is supported by MS Windows 9x 2000 XP operating systems t is distributed as a self extracting archive containing all the files needed by ERA to run Note however that Borland Delphi compiler is necessary to compile models so that ERA cannot be legally used without having a legal copy of Borland Delphi installed on your computer Usually some versions of Borland Delphi can be downloaded for free from www borland com Installation Simply run and extract the SFX archive into a folder of your choice The install path must not contain spaces i e it can be c era but not c Program Files era This limitation is caused by Delphi compiler requirements When it is done ERA can be run by era20 exe program When the program is run first time following configuration must be done n the Tools menu choose Preferences Following window will display Preferences Compiler Series Report Math Pascal Delphi DCC32 EXE ex alpha Binkdecs2 ere Browse Hz Compile on Load Hz Enable Source Preview x Cancel In the Compiler page of the window the path to the Delphi compiler dcc32 exe must be set You can choose path to the dcc32 exe in the directory where you installed ERA if you have a legal copy of Delphi installed on your computer ERA 2 0 User Interface 1 ERA 2 0 DER File Edit view Model ZOMRIE Tools a R x Fa nE 6 toolbar New Data Open D
2. Data Jave Data New Model pen Model save Model Compile Optimize l stop Dimension Harak xX Data Mode Fit Chan Report vena e Variables E Independent m Dependent Experiment Events yorttings notebook 0 Differential li Algebraic mu Main Notebook Model Properties Parameters Messages Visibility Message Window ril iiil UntitledData erd Saved iji UntitledModel mod Saved Net Compiled ERA can be controlled like most other Windows applications by Menu and Toolbar Input and output information is exchanged between the user and program via Settings notebook and the Main notebook Both notebooks have a number of pages Message window is used for displaying non critical messages during computation Menu 1 ERA 2 0 He Edt View Model Compute Tools File Menu File menu contains commands for data and model files management New Data File and New Model File command are used to create a new table of experimental data and new model file The files can be saved or opened by commands Save Data File Save Model File Open Data File Open model File Save Data File As and Save Model File As Data File R Open Data File save Data File Save Data File As El New Model File k pen Model File Wo Save Model File Save Model File As Submenu Report contain commands for crea
3. contain spaces and must begin with letter or _ at can contain digits but cannot start with a digit Saved model must be compiled by Model Compile command External compiler performs the model compilation The information about the compilation progress is described in the pop up window a CAWINDOWS System3 2 cmd exe Temporary batch file generated succesfully Running Delphi Compiler Borland Delphi Version 14 8 Copyright lt c 1983 20 Borland Software Corporation 2 1 48 gt 49 lines H H seconds 28296 bytes code 3145 bytes data Finishedt Press any key to continue As soon as the message Press any key to continue appears the compilation is done The picture above shows a result of successful compilation If it 1s not successful the list of error messages is included among the messages The window MUST BE CLOSED BY PRESSING ANY KEY after inspecting the messages If the window is closed by close button the compiled model is not saved Whenever is the model changed it must be saved AND re compiled to any changes take effect Computations All types of computations described in this section assume that data and model files are already set Parameter estimation The Compute Optimize command runs the parameter estimation The estimation runs iteratively from the initial parame ter estimates If the estimation does not run well you can try to change initial esti
4. or by demands of graphic engine Static part of code is usually used only 1f it is necessary to access experimental data in the model e g 1f you wish assign parameter to missing unmeasured experimental value The use of this section is quite rare and it is left empty in most cases NM Section keywords cannot be omited but the sections can be left empty In both the static and dynamic sections can be used user defined variables Except them the following predefined global variables can be used In the static section vectors p x and y as symbols for parameters independent variables and dependent variables Indices are given in square brackets e g x 1 matrices xe and ye as symbols for matrices of experimental values e g xe 1 1 First index represents the row and second the column of the data matrix lt In the dynamic section vectors p x y dy as symbols for parameters independent variables dependent variables and derivatives of dependent variable by x 1 It means that dy 1 1s shortcut for dyl11 dx111 11 ERA 2 0 When writing equations the syntactic rules of PASCAL language must be followed Each dependent variable must be either expressed by exactly one explicit algebraic equation or specified by exactly one ordinary differential equation Saving and compiling model Model must be saved by commands in the File menu Model file name is used also as the name of model function and therefore it cannot
5. the preview of report created by the File Report Preview command Report can be printed or saved by commands of context menu 10 ERA 27 0 Hovv to create models Mathematical model must be typed into the field on Model page of the Main notebook The process of model development consists in three steps writing source code saving source code and its compilation Writing source code Currently the only supported model constructing language is derived from the PASCAL language However it is possible that different languages and compilers will be supported in future and therefore the language must be specified in the very beginning of the source code must be written language pascal Next part of the source code allows to define user defined variables It is marked by following keywords declar enad ceclar the list of declarations that follows must correspond to the PASCAL syntax list of defined variables separated by comas followed by a colon and type identifier and finalized by a semicolon For instance three floating point variables a b c are defined by 2 D 2 Double After the declaration section follows the section of static code static end static and section of dynamic code dynamic end dynamic Last two parts can contain model equations Whenever the model is solved the static equations are evaluated at first and then dynamic equations are evaluated in all experimental points as needed by integration method
6. Dimension page of the Settings notebook Cells that are active according to the dimension settings are marked by a symbol These cells can be edited It is not necessary to fill all dependent variable cells the data matrix can be sparse and can contain missing data field e g y 2 in 6 row on picture above It is important to have sorted data rows by ascending value of independent variable The data table support clipboard operations on cells and block of cells For instance the data from Excel can be quickly copied to the data table via clipboard When pasting clipboard content into the data table make sure that the upper left cell of the block which you wish to paste data into is selected AND focused 0 1 0 2 This is O K 0 1 0 2 The data table 15 not focused any other control is active 0 1 0 2 grid is in the cell edit mode clipboard will paste into this cell ERA 2 0 Model and Source pages Data Model Source Fit Ehart Parameter Details Covariances lanquage pascal declar El she LE L ba Llunulule end declar static end static dynamic 111 p131 y121 Ble zL p1l71 Y141 pll y l ra plz21 yl11 rs3 pl131 y14 1 p151 rs pnl41 y131 n161 rs3 m El 12 rl rol rye rdi Model page contains a field where the model must be specified Model syntax is described in separate section Data Model Source Fit Chart Parameter Details C
7. Export Parameters Import Parameters Optimize Compute menu collects commands that can be used to start stop computation functions provided by ERA The most basic function 1s Eda EL ro Optimize command that starts optimization of parameters using Normalized Covariances objective function specified in the Flow page of the Settings notebook F Limit current data and model and takes parameter values specifted in All F Limits Parameters page of Settings notebook as initial estimates of Pen eee parameters for non linear optimization The computation proceeds until it is stopped by Stop command Standard Errors and Normalized Covariances commands starts computations of standard errors of parameter estimates optimization must be performed before these functions and normalized covariances correlation coefficients among parameters Confidence limits for all parameters can be computed by All F Limits command Single confidence limit can be computed by the command F Limit if a valid cell in table on the Parameter Details page of the Main Notebook is selected any cell in the Lo F Limit or HEF Limit columns Tools Menu Design Next Point command in the Tools menu displays a dialog window for the sequential design of experiments support Preferences Preferences command brings on the preferences window used to change program settings Preferences dialog is described in details further in the manual Design next point Toolb
8. ar Toolbar contains shortcut commands to most frequently used commands in the menu Settings Notebook This notebook consists of Dimension Parameters and Flow pages Their description follows Dimension Page ERA 2 0 Controls at the Dimension page must be used to specify the dimension of the problem Each value i Independent i1 Dependent E sperment m Events Model Equations Differential i Algebraic Model Properties Dimension Parameters Flow 1 0000000 1 0000000 1 0000000 1 0000000 1 0000000 1 0000000 can be set either by the couple of arrows in the left or edited by the attached edit box Variables section allows setting the number of independent variables and dependent variables responses Number of experiments can be specified in the Experiment Events field Number of algebraic and differential equations can be specified in Differential and Algebraic fields in Model Equations section and the number of parameters is specified in Parameters field Parameters Page This page contains the actual parameter values The number of active fields corresponds to the number of parameters specified in Dimension page The parameter values on this page are bound to the values on the Parameter Details page in the Main notebook the values at these two locations are always the same They both are also bound to the plot displayed on Fitchart page whenever parameter values update either
9. by user or the program the fitchart redraws Therefore there are two uses of the parameter values on this page It can be used for setting initial parameter estimates and after optimization optimal parameter values can be read there For international users Numeric values must be given in proper format corresponding to that specified in windows regional settings usually or This rule applies for all numeric fields with the only exception being the Model page of the Main notebook where the numbers in model equations must be given with decimal point regardless the Windows settings Scientific format e g 1 256E 7 is also allowed ERA 2 0 Flow page Dimension Parameters H Dimension Parameters Flow Optimization F Test Optimization Objective functors Computation Focus Parameter Limit Lower Model Calls Limit Objective Total 0 0546 7687550 Successful Current Objective bir 0 060531 75079 Objective Function Type Sum of Squares Descent 0 0025153 1 Weighted 55 Flow page provides status information about the computation flow Depending on the setting of the Optimization F test toggle displays the info on optimization or computation of confidence limits these two tasks are potentially time consuming When in Optimize mode it display information about attained minimum of Objective Function number of Model Calls and Successful aproximations It also al
10. ity of the model around the optimum and therefore it is valid only if this assumption is accomplished at least approximately Since models seldom fill the given assumption it is advisable to use more rigorous criterion Therefore the ERA package provides an interval estimate based on the real confidence region defined by likelihood criterion The confidence region is the set of all p vectors matching the criterion bellow e e Vp _ ku where p is vector of optimal parameter values p number of parameters n number of experimental points and n p critical value of F statistic for 1 significance level Instead of construction of the whole confidence region or its surface which are extremely time consuming tasks only its projections to all parameter axes are computed Marginal points of these projections are called confidence limits Belohlav Z Zamostny P Kluson P amp Volf J 1997 Can J Chem Engng 75 735 Confidence intervals are provided as standard deviations half size of confidence interval due to their symmetry around optimal value On the other hand confidence limits need not be necessarily symmetric around optimum so that both upper and lower confidence limits are provided 13
11. lows to change objective function type to following options e Sum of Squares minimizes the sum of squares of residual deviations good for most applications e Box Draper determinant minimizes complex objective function proposed in Box G E P amp Draper N R 1965 Biometrika 52 355 It can be used if the assumption of independent errors in experimental points is not valid Weighted sum of squares minimizes the weighted sum of squares of residual deviations Weights are different for each response and equal to that response maximum Therefore it may be usefull if the assumption of constant variance of relative errors 1s more valid than the assumption of constant variance of absolute errors ERA 2 0 Main notebook Data page Data Model Source Fit Chart Parameter Details Covariances 0 00000 2 00000 00000 10 0000 20 0000 35 0000 75 0000 90 0000 1 00000 0 69200 0 65100 0 44600 0 19300 0 068000 0 00100 0 00000 0 00000 0 08400 0 29300 0 44500 0 54200 023900 0 02400 0 00000 0 01200 0 04200 0 05100 0 05800 0 05700 0 02900 0 00000 0 00000 0 00700 0 02200 0 096800 0 22500 0 43600 0 71100 0 97000 Data page contain a table of experimental data Column headers indicate the number of variable and whether it is independent X or dependent Y variable The number of columns for independent variables corresponds to the number of independent variables specified on
12. mates Parameter estimation can be interrupted by the Stop command whenever you wish Also it can be re run at arbitrary time The program provides ability to track changes in parameter estimates objective function value and comparison of experimental data with model predictions throughout the whole optimization process The updated information is displayed after each improvement of parameter estimates which slightly slows whole process but provides detailed information about the optimization progress The optimization must be stopped manually when the changes of objective function are less than desired precision The description of computation algorithms can be found in paper Zamostny P Belohlav Z A software for regression analysis of kinetic data Comput Chem 23 479 1999 12 ERA 2 0 Parameter reliability and correlation The statistical significance and reliability of parameter estimates can be assessed according to parameters confidence intervals which are for the k th parameter computed by equation L b fa 12 N Sexp xk where is element of variance covariance matrix of parameters C p estimate of k th parameter twp critical value of Student s statistics for significance level a and ere variance of responses It is very closely bound with the computation of correlation coefficients normalized covariances between parameters from the non diagonal elements of matrix C However the equation assumes local linear
13. ovariances Library cinni uses Math type Ta0 ector arrayl 4201 of Double type TS0 ector array 0 50 of Double type 20 500 array U 500 of Ts Vector type Ti xi Hatrix array U 500 of Ti yVector type 207 Te0V ector type Pi Yectur Ta Yect r type F20x500 Matrix Te0x500Matrix type Pit xi Hatrix Ti xi Hatrix procedure Dynamickquations var p x PilVect or var y dy Pi vect War Fu Source page contains preview of the PASCAL source generated by Generate Source Preview or Compile commands t is only for information and debugging purposes and can be hidden in Preferences ERA 2 0 Fit Chart page Data Model Source Fit Chart Parameter Details Covariances Fit Chart page shows the comparison of experimental data points and model solution curves Captions fonts and scales can be set by choosing Fitchart Properties in the context right click menu Points and curves attributes can be set in Peferences Parameter Details page Data l Model Source Fit Chart Parameter Details Covariances Std Error Lo F Limit 0 07416 0 00952 0 01764 0 09934 1 29093 0 33065 0 25891 0 00010 0 00010 0 00010 0 00010 0 00010 0 00010 0 00010 11 0000 11 0000 11 0000 11 0000 11 0000 11 0000 11 0000 Parameter Details page numerical input output information about parame
14. ters Columns indicate from left to right parameter value allowed minimum and maximum standard error and lower and upper confidence limits First three columns are editable The table support clipboard operations ERA 2 0 Covariances page Data Model Source Fit Chart Parameter Details Covarances 0 20 0 46 1 00 0 49 Covariance matris determinant 0 0000353 Covariances page display the matrix of correlation coefficients and its determinant after the Computation Normalized covariances was performed High correlations are marked in red Report page Data Model Fit Chart Parameter Details Covariance Autocorelation Debug 17 57 46 31 10 2002 d ERA 2 0 Report oda Clerc rode be TAGE AD mod Data CiyerazO0 vodaObriPCEFO erd Objective Function 0 0378140345469572 Parameter Settings Minimum Init Est Maximum q 16 0 0000000 1 0000000 10000 000 0 0000000 1 0000000 10000 000 Estimated Parameters Yalue Std Error Lo F Limit Hi F Limit 1 0 03329725 0 0000000 0 03372975 0 0337975 0 9205499 0 0000000 0 9205499 0 9205499 Normalized Covariances 1 2 Zz 1 0 00 0 00 z 0 00 0 00 Residuals T YZ T3 T4 T5 T Y7 1 0 0000 0 0000 0 0000 O 0000 0 0000 0 0000 2 0 03688 0 0103 0 0059 0 3558 0 6641 0 5541 0 0180 T r ruAL r Fir r r r E r DAAC r 47272 r Ee An ra QbrlPCEFO mod Saved Compiled Report page contains
15. ting reports Reports can be printed previewed or saved in RTF format Also Fitchart can be exported by enor Export as Enhanced Metafile or printed by Print command Fitchart k Exit ERA 2 0 Edit Menu Edit menu contains standard functions for clipboard support Copy Cut Paste a Delete Their functions are somewhat bugged and they do not work in all controls It is recommended to use shortcuts Ctrl C Ctrl X Ctrl V and Del that works well Fitchart Properties command is used to display a dialog window where the chart and axes descriptions and scales can be customized View Menu Copy Paste Delete Fit Chart Properties View menu contain two toggles that can be turned on or off Paint Limit Curve toggles display of confidence limit curves see later Design Mode toggles the display of results of sequential design of experiments Model Menu Model menu supports the development of the mathematical model Generate Source Preview command create a source code of the model library in Pascal language from model equations written in the Model page in the Main notebook and places it in the page Source in the same notebook Compile command does the same and then compile source code into the model DLL Export Parameters command exports computed parameter values into the file Reversibly the values can be imported by the Import Parameters command Compute menu Generate Source Preview Compile

Download Pdf Manuals

image

Related Search

Related Contents

autotrol® 255 valve / 400 series controls service manual  Flight-plan_User-guide_FR  Naztech N35 Klub    GALAXY owners manual V1.0  00 RGV KELLY istruzioni #87EDF3 - piccolo  XRXX TDS fra    Samsung BDP1000 User Manual  „CLUB“ - Bartscher GmbH  

Copyright © All rights reserved.
Failed to retrieve file