Page 2 - Demo
P. 2
Planar Truss Examplefor ComrelAdd-onRCPConsult, 2021-2025Page 2ParameterDistributionMeanStd. DeviationA1[m2]Lognormal2 x 10-32 x 10-4A2[m2]Lognormal1 x 10-31 x 10-4E1, E2[N/m2]Lognormal2,1 x 10112,1 x 1010P1-P6[N]Gumbel500007500The state function restricts the maximum vertical displacement of the truss [m] and is given byg(X) = ulim%u2013umax(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 Identifiersof the basic uncertain Variablesand of the Constants. Note the limitation to maximal8charactersof the identifiers.You enter Comrelby picking its icon and select the option Time Invariant Analysisfrom the Taskdialog to enter Comrel-TI. A new and empty job will be generated.The State Functionas a ScriptFor problems that are too complex for the capabilities of the Symboliclanguage of STRUREL it can be convenient to formulate the state functionin a high-end computer language. STRUREL provides eleveninterfaces to computer languages such as FORTRAN, C/C++, Maple, Mathematica, Matlab, Python, Octave,Ruby, R,Scilab and Gauss.For our example using the Mathematicainterface just the following wascoded in SymboliclanguageFLIM(1){ Planar Truss Example }= mathematicas(\The statement FLIM(1)calls abuilt-in procedure mathematicaswith a single argument, the name of the Mathematicascript file, here PlanarTruss.mtwithout extension %u2019.mt%u2019. In this script file the values from input vector XPwill be accessed. Note the large 2ndpart of the script to create various plots after the line (*# Visualisation *).