Class Select
- Namespace
- TimeSeriesAnalysis.Dynamic
- Assembly
- TimeSeriesAnalysis.dll
Simulatable select block
This block can function either as "minimum" or "maximum" selector, mainly inteded for simulating "min select" or "max selct" pid-control by combining with PidModel
public class Select : ModelBaseClass, ISimulatableModel
- Inheritance
-
Select
- Implements
- Inherited Members
Constructors
Select(SelectType, string)
Constructor
public Select(SelectType type, string ID)
Parameters
typeSelectTypeIDstring
Fields
type
The type of select block
public SelectType type
Field Value
Methods
Clone(string)
Create a deep copy of itself
public ISimulatableModel Clone(string ID = null)
Parameters
IDstring
Returns
- ISimulatableModel
deep copy
GetOutputSignalType()
Gives the type of the output signal
public override SignalType GetOutputSignalType()
Returns
GetSteadyStateInput(double, int, double[])
Not implemented
public double? GetSteadyStateInput(double y0, int inputIdx = 0, double[] givenInputValues = null)
Parameters
Returns
GetSteadyStateOutput(double[], double)
Get the steady state value of the model output
public double? GetSteadyStateOutput(double[] u0, double badDataID)
Parameters
u0double[]vector of inputs for which the steady state is to be calculated
badDataIDdoublespecial value that indicates "NaN"
Returns
- double?
the steady-state value, if it is not possible to calculate, a
nullis returned
IsModelSimulatable(out string)
Answers if the model is simulatable with the given input
public bool IsModelSimulatable(out string explain)
Parameters
explainstring
Returns
Iterate(double[], double, double)
Iterate simulation
public double[] Iterate(double[] inputsU, double timeBase_s, double badDataID = -9999)
Parameters
Returns
- double[]
WarmStart(double[], double)
Not implemented
public void WarmStart(double[] inputs, double output)