Class FitScoreCalculator
Calculates a percentage score of maximum 100% that indicates the match between measurement and simulation for a plant that may consist of several unit models and several siginals to be matched, and may include closed-loops.
Inherited Members
Namespace: TimeSeriesAnalysis
Assembly: TimeSeriesAnalysis.dll
Syntax
public class FitScoreCalculator
Methods
| Edit this page View SourceCalc(double[], double[], List<int>)
Calculate a "fit score" between two signals.
Declaration
public static double Calc(double[] meas, double[] sim, List<int> indToIgnore = null)
Parameters
Type | Name | Description |
---|---|---|
double[] | meas | |
double[] | sim | |
List<int> | indToIgnore |
Returns
Type | Description |
---|---|
double | a fit score that is maximum 100 percent, but can also go negative if fit is poor |
GetPlantWideSimulated(PlantSimulator, TimeSeriesDataSet, TimeSeriesDataSet, List<int>)
Determines a score for how well a simulation fits with inputData. This can be compared over time to see any signs of degredation of the plant over time
Declaration
public static double GetPlantWideSimulated(PlantSimulator plantSimObj, TimeSeriesDataSet inputData, TimeSeriesDataSet simData, List<int> indToIgnore = null)
Parameters
Type | Name | Description |
---|---|---|
PlantSimulator | plantSimObj | |
TimeSeriesDataSet | inputData | |
TimeSeriesDataSet | simData | |
List<int> | indToIgnore | optional list of indices to be ignored |
Returns
Type | Description |
---|---|
double |
GetPlantWideStored(PlantSimulator)
Get the average stored fit-scores in the "paramters.Fitting" object, indicating how well the plant on average described/aligned with the dataset when it was fitted.
Declaration
public static double GetPlantWideStored(PlantSimulator plantSimObj)
Parameters
Type | Name | Description |
---|---|---|
PlantSimulator | plantSimObj |
Returns
Type | Description |
---|---|
double |