Simple simulation of dynamic systems with optional controller

Simple simulation of dynamic systems with optional controller - mb10 - Messages

#1 Posted: 2013/10/5 08:10:09
mb10

mb10

9 likes in 20 posts.

Group: User

A general purpose, simple ODE solver function that uses Euler integration to simulate (possibly non-linear) multi-inputs dynamic systems, with "embedded" provision for state feedback controller.
In its most general form, the function implements a system of the form:

Dynamic System.JPG

where dot notation indicates time derivative.
A few examples are provided.
DynSys_v01.sm (226.66 KiB) downloaded 1006 time(s).
3 users liked this post
Davide Carpi 2013/10/5 09:16:00, Martin Kraska 2013/10/5 20:01:00, Radovan Omorjan 2013/10/6 08:03:00
#2 Posted: 2013/10/5 20:01:52
Martin Kraska

Martin Kraska

1,308 likes in 2,221 posts.

Group: Moderator

I like the way to plot vectors, was not aware of this.
plot.PNG
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 2013/10/6 02:56:00
mb10

mb10

9 likes in 20 posts.

Group: User

It is an (undocumented?) feature I discovered by chance.
Notice the "staircased" behaviour.

The X-Y plot plug-in has a similar property: in that case it seems that ANY variable name, not just "x", can be used as a subscript to obtain vector plot.
1 users liked this post
Radovan Omorjan 2013/10/6 08:03:00
#4 Posted: 2013/10/6 10:28:59
Martin Kraska

Martin Kraska

1,308 likes in 2,221 posts.

Group: Moderator

Wrote

It is an (undocumented?) feature.


Not undocumented any more. SVN Activebook updated.

Section 2D plots built-in.sm (36.68 KiB) downloaded 933 time(s).
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
Вячеслав Мезенцев 2013/10/6 10:38:00, Radovan Omorjan 2013/10/6 13:57:00
#5 Posted: 2013/10/8 08:39:56
mb10

mb10

9 likes in 20 posts.

Group: User

Attachment updated with a function for handling discrete time systems (see 1st post).
  • New Posts
  • No New Posts