Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   A Step based Javascript Simulator (http://www.chiefdelphi.com/forums/showthread.php?t=152641)

TigerHuang 12-12-2016 13:59

A Step based Javascript Simulator
 
Hi Chief Delphi,

I have been working on a simple system simulator and I think it's at a state where someone else might find it useful now.

It's a bit bare bones at the moment but I've found that having functions that can take the integral over time or plot graphs have made my actual simulation code much shorter and more understandable.

In this example, I've implemented a flywheel system that's being controlled by a PID loop with feed forward.



A live demonstration can be found here: http://tigerhuang.com/simulation
The source code can be found on github: http://github.com/tigerh/simulation


All times are GMT -5. The time now is 11:08.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi