functionevaluate

Evaluate the corresponding transfer function at a given (complex) value of s

Information

Syntax

result = StateSpace.Analysis.evaluate(ss,s)

Description

Function Analysis.evaluate evaluates the corresponding transfer function of the state space system at a given (complex) value of s. The state space system is converted to the transfer function G(s)=N(s)/D(s), which is evaluated by calculating the numerator polynomial N(s) and the denominator polynomial D(s).

Example

  Modelica_LinearSystems2.StateSpace ss=Modelica_LinearSystems2.StateSpace(
    A=[-1],
    B=[1],
    C=[1],
    D=[0]);
  Complex s=Complex(1,1);

  Complex result;

algorithm
  result := Modelica_LinearSystems2.StateSpace.Analysis.evaluate(ss, s);
//  result = 0.4 - 0.2*j

See also

StateSpace.Conversion.toTransferFunction, Math.Polynomial.evaluateComplex

Inputs

TypeNameDefaultDescription
StateSpacessState space system
ComplexsValue of s where tf shall be evaluated
Realden_min0Minimum value of |denominator(s)| is limited by den_min

Outputs

TypeNameDefaultDescription
Complexresult= tf(s)

Revisions

Date Author Comment
2010-05-31 Marcus Baur, DLR-RM Realization