Table of Contents

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

model1 GainSchedModel

model of gains to be plotted

model2 GainSchedModel

optional seond model to be compared in the plots

comment string

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

public static void PlotSteadyState(ISimulatableModel model1, ISimulatableModel model2 = null, string comment = null, double[] uMin = null, double[] uMax = null, int numberOfPlotPoints = 100)

Parameters

model1 ISimulatableModel

model of gains to be plotted

model2 ISimulatableModel

optional seond model to be compared in the plots

comment string

comment to be added to figure

uMin double[]

optional umin array over which to plot gain plots

uMax double[]

optional umax array over which to plot gain plots

numberOfPlotPoints int

the number of points along the axis that are to be calculated to produce lines