functiondiffSimulationResultsHtml

Compares simulation results and generates an HTML report.

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

TypeNameDefaultDescription
Stringvar
StringactualFile
StringexpectedFile
RealrelTol1e-3y tolerance
RealrelTolDiffMinMax1e-4y tolerance based on the difference between the maximum and minimum of the signal
RealrangeDelta0.002x tolerance

Outputs

TypeNameDefaultDescription
Stringhtml