Page 2 - Demo
P. 2
Planar Truss Example for Comrel Add-on RCP Consult, 2021-2025 Page 2Parameter Distribution Mean Std. DeviationA1 [m2] Lognormal 2 x 10-3 2 x 10-4A2 [m2] Lognormal 1 x 10-3 1 x 10-4E1, E2 [N/m2] Lognormal 2,1 x 1011 2,1 x 1010P1-P6 [N] Gumbel 50000 7500The state function restricts the maximum vertical displacement of the truss [m] and is given byg(X) = ulim %u2013 umax(X)It has been found that using abstract mathematical notation as used in the equation above, the analysis of a slightly more complicated problem will be rather involved. Therefore, the quantities in the state function in all STRUREL programs are in terms of the Character Identifiers of the basic uncertain Variables and of the Constants. Note the limitation to maximal 8 characters of the identifiers.You enter Comrel by picking its icon and select the option Time Invariant Analysis from the Task dialog to enter Comrel-TI. A new and empty job will be generated.The State Function as a ScriptFor problems that are too complex for the capabilities of the Symbolic language of STRUREL it can be convenient to formulate the state function in a high-end computer language. STRUREL provides eleven interfaces to computer languages such as FORTRAN, C/C++, Maple, Mathematica, Matlab, Python, Octave, Ruby, R, Scilab and Gauss.For our example using the Octave interface just the following was coded in SymboliclanguageFLIM(1){ Planar Truss Example } = octaves(\_yThe statement FLIM(1)calls a built-in procedure octaves with a single argument, the name of the Octave script file, here PlanarTruss.m without extension %u2019.m%u2019. In this script file the values from input vector XP will be accessed. Note the large 2nd part of the script to create various plots after the line %% Visualization.