DynamicSystems - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Dynamic Systems : System Object : DynamicSystems/IsSystem

DynamicSystems

  

IsSystem

  

verify the content of a system object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsSystem(sys)

Parameters

sys

-

System; system object to verify

Description

• 

The IsSystem command checks the validity of the system object.

• 

If sys is a valid system object, return true. If sys contains errors, return false.

• 

To determine the problem with a system that fails, use DynamicSystems[Verify].

Examples

with( DynamicSystems ):

sys1 := NewSystem():

PrintSystem(sys1);

Algebraic Equationcontinuous1 output(s); 1 input(s)inputvariable=utoutputvariable=ytae=yt=ut

(1)

IsSystem(sys1);

true

(2)

sys2 := NewSystem(s/(s^3+5*s^2+7*s+6)):

Modify the tf member of sys2 to make it nonrational polynomial (in s).

sys2:-tf := <<exp(s)/(s^3+5*s^2+7*s+6)>>:

PrintSystem(sys2);

Transfer Functioncontinuous1 output(s); 1 input(s)inputvariable&equals;u1soutputvariable&equals;y1stf1,1&equals;&ExponentialE;ss3+5s2+7s+6

(3)

IsSystem(sys2);

true

(4)

tf_mimo_z := Matrix([[1/z^2, z^2/(z^3+5*z^2+7*z+6)], [1/z , c/(z^2+a*z+b)]]):

sys3 := NewSystem(tf_mimo_z, discrete, sampletime=0.001, systemname="Sample discrete MIMO system"):

PrintSystem(sys3);

Transfer Functiondiscrete; sampletime = .1e-2systemname&equals;Sample discrete MIMO system2 output(s); 2 input(s)inputvariable&equals;u1z&comma;u2zoutputvariable&equals;y1z&comma;y2ztf1,1&equals;1z2tf2,1&equals;1ztf1,2&equals;z2z3+5z2+7z+6tf2,2&equals;cz2+az+b

(5)

IsSystem(sys3);

true

(6)

See Also

DynamicSystems

DynamicSystems[Verify]