functiondiffSimulationResults
Compares simulation results.
Information
Takes two result files and compares them. By default, all selected variables that are not equal in the two files are output to diffPrefix.varName.csv; an empty diffPrefix writes no files.
The output is the names of the variables for which files were generated.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | actualFile | ||
| String | expectedFile | ||
| String | diffPrefix | ||
| Real | relTol | 1e-3 | y tolerance |
| Real | relTolDiffMinMax | 1e-4 | y tolerance based on the difference between the maximum and minimum of the signal |
| Real | rangeDelta | 0.002 | x tolerance |
| String | vars | fill("", 0) | |
| Boolean | keepEqualResults | false |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | success | ||
| String | failVars |