This is a development version of the SIMA documentation. You will find the official version at sima.sintef.no

Post-processing

Examples showing how to work with results after a simulation has been run: plotting, signal handling, reading and writing result files, and reporting.

1. Post-processor operators

Case Description Tags Tool

An example of each of the operators available in the SIMA post processor, as around 70 small workflows — one per operator. They follow the same grouping as the post processor itself:

  • arithmetic — absolute value, add, add constant, divide, exponent, multiply, scale, sum, square, square root, sample count, subtract, math expression, two parameter expression, magnitude 2D

  • filtering — low-pass, high-pass, band-pass, window, remove mean

  • spectralAnalysis — fast Fourier, auto spectrum, cross spectrum

  • statistics — statistics, peaks, zero crossing, distribution, polynomial fit

  • signalStructure — split, join, merge, rename, reorder, resample, signal selection

  • other

  • fatigue

  • transform

Use it as a reference to find the right operator and see how it is set up.

post processor operators arithmetic filtering spectral analysis statistics

-

2. Plotting

Case Description Tags Tool

plotting

-

plotting

-

plotting

-

Set the title in a plot using a variable

plotting variable

-

3. Signal handling

Case Description Tags Tool

Use the operator signal selection to filter and select signals for further post-processing

signal selection filter

-

Synthetic signals can for instance be used for testing purposes

signal generator testing

-

The workflow shows how to rename a signal of type text1.text2.text3

rename signals

-

This example shows how you can use JavaScript or the workflow operator differentiation. The JavaScript code can be used as basis for creating other functions.

JavaScript differentiation

-

4. Reading external result files

Case Description Tags Tool

The *.bin files generated by Riflex standalone can be read in SIMA.

Standalone Riflex bin

-

When running Riflex standalone an ascii-file of type mpf is created. This is an example on how you can read the file in SIMA.

Standalone Riflex ascii mpf

-

5. Writing and exporting results

Case Description Tags Tool

Write signals to different file formats: *.csv, *.h5, *.txt, *.xlsx

export csv h5 xlsx

-

How to pass signals to Excel

export Excel

-

Store data to an external file

export

-

6. Running and post-processing separately

Case Description Tags Tool

This example shows how you can run the analysis, store the results to files and than finally post-process the data

workflow storage

-

7. Reporting

Case Description Tags Tool

Report generator example with an introduction text and several figures.

report

-

Custom editor used to run an analysis and present the results as plots.

custom editor plotting

-

8. Statistical distributions

Case Description Tags Tool

How to fit statistical distributions to simulation results. The condition SeedVariation runs the model across a set of random seeds, and the workflows gumbel, rayleighAndWeibull and runDistributions fit Gumbel, Rayleigh and Weibull distributions to the resulting response.

distribution Gumbel Rayleigh Weibull seed variation statistics

SIMO

You are viewing documentation for an older version of SIMA. Go to the latest documentation →