Class PlotGain
Make debug plots of the gain of one or more model, especially useful for gain-scheduled or other nonlinear models.
Inherited Members
Namespace: TimeSeriesAnalysis.Utility
Assembly: TimeSeriesAnalysis.dll
Syntax
public class PlotGain
Methods
| Edit this page View SourcePlotGainSched(GainSchedModel, GainSchedModel, string)
Plots an "x-y" plot of the gain-scheduled "linear gains" of one or two gain-scheduled models.
Note that it makes no sense to give the "min or "max" of these plots
Declaration
public static void PlotGainSched(GainSchedModel model1, GainSchedModel model2 = null, string comment = null)
Parameters
Type | Name | Description |
---|---|---|
GainSchedModel | model1 | model of gains to be plotted |
GainSchedModel | model2 | optional seond model to be compared in the plots |
string | comment | comment to be added to figure |
PlotSteadyState(ISimulatableModel, ISimulatableModel, string, double[], double[], int)
Plots an "x-y" plot of the steady-state of one or two models.
Currently supported are either UnitModels or GainSchedModels
Declaration
public static void PlotSteadyState(ISimulatableModel model1, ISimulatableModel model2 = null, string comment = null, double[] uMin = null, double[] uMax = null, int numberOfPlotPoints = 100)
Parameters
Type | Name | Description |
---|---|---|
ISimulatableModel | model1 | model of gains to be plotted |
ISimulatableModel | model2 | optional seond model to be compared in the plots |
string | comment | comment to be added to figure |
double[] | uMin | optional umin array over which to plot gain plots |
double[] | uMax | optional umax array over which to plot gain plots |
int | numberOfPlotPoints | the number of points along the axis that are to be calculated to produce lines |