Class PlotGain
- Namespace
- TimeSeriesAnalysis.Utility
- Assembly
- TimeSeriesAnalysis.dll
Make debug plots of the gain of one or more model, especially useful for gain-scheduled or other nonlinear models.
public class PlotGain
- Inheritance
-
PlotGain
- Inherited Members
Methods
PlotGainSched(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
public static void PlotGainSched(GainSchedModel model1, GainSchedModel model2 = null, string comment = null)
Parameters
model1GainSchedModelmodel of gains to be plotted
model2GainSchedModeloptional seond model to be compared in the plots
commentstringcomment 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
public static void PlotSteadyState(ISimulatableModel model1, ISimulatableModel model2 = null, string comment = null, double[] uMin = null, double[] uMax = null, int numberOfPlotPoints = 100)
Parameters
model1ISimulatableModelmodel of gains to be plotted
model2ISimulatableModeloptional seond model to be compared in the plots
commentstringcomment to be added to figure
uMindouble[]optional umin array over which to plot gain plots
uMaxdouble[]optional umax array over which to plot gain plots
numberOfPlotPointsintthe number of points along the axis that are to be calculated to produce lines