How do I solve a DynamicSystems error when i creat custom Component in Maple?

August 31 2010 by zhong chen 45
false

1


I am learning to use MapleSim to do my research.

and I should create a custom Component. Its function is:

there are two inputs s1 and s2, the output F=0 when s1=0, and F=s2 when s1=1.

I made a function like the figure as follows and the error occured

----------------------------------------------------------------------------------
[F(t) = piecewise(s1 = 0, 0, s1 = 1, s2)]

params := [ ]

initialconditions := [ ]

sys := DynamicSystems [ DiffEquation]( eq, inputvariable = [s1, s2],outputvariable = [F(t)])

Error, (in DynamicSystems:-DiffEquation) unrecognized diff-equation type: 9

------------------------------------------------------------------------------------
anyone could help me to solve this problem.thinks

 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account