Simple simulation of dynamic systems with optional controller

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

#1 Posted: 10/5/2013 8:10:09 AM
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:

[albumimg]317[/albumimg]

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

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

I like the way to plot vectors, was not aware of this.
plot.PNG
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 10/6/2013 2:56:00 AM
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 10/6/2013 8:03:00 AM
#4 Posted: 10/6/2013 10:28:59 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

It is an (undocumented?) feature.


Not undocumented any more. SVN Activebook updated.

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

mb10

9 likes in 20 posts.

Group: User

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