Class Divide
- Namespace
- TimeSeriesAnalysis.Dynamic
- Assembly
- TimeSeriesAnalysis.dll
Simulatable divide block, requires exactly two inputs
public class Divide : ModelBaseClass, ISimulatableModel
- Inheritance
-
Divide
- Implements
- Inherited Members
Constructors
Divide(DivideParameters, string)
Constructor
public Divide(DivideParameters divideParameters, string ID)
Parameters
divideParametersDivideParametersIDstring
Fields
divideParameters
Paramters that define the Divide model
public DivideParameters divideParameters
Field Value
Methods
Clone(string)
Create deep copy/clone
public ISimulatableModel Clone(string ID = null)
Parameters
IDstring
Returns
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 = -9999)
Parameters
u0double[]vector of inputs for which the steady state is to be calculated
badDataIDdoubleoptional special value that indicates "Nan"
Returns
- double?
the steady-state value, if it is not possible to calculate, a
nullis returned
IsModelSimulatable(out string)
Required model which answers if model will be able to simulate given current input
public bool IsModelSimulatable(out string explain)
Parameters
explainstringa string explaining reason for a false return, if applicable
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)