Python中的连续系统仿真 [英] Continuous system simulation in Python

查看:257
本文介绍了Python中的连续系统仿真的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我正在寻找关于连续系统的任何工作/论文/资源
使用Python或任何类似面向对象语言的
模拟(或者

甚至UML理论!)。


我知道SimPy用于离散事件模拟,但我还没有找到

关于连续系统的任何工作。

我想开发一个通用的连续系统模拟器,所以

会渴望加入任何开源工作主题。


例如,对于具有所有

动态(飞行模拟器)的飞机建模非常有用。


由于关键字''generic'',Python是我选择的语言。

是一种面向对象的动态语言,它非常适合这样的任务。

不幸的是,对于面向对象的我是新手

设计和开发,所以我更喜欢从已经存在的某些东西开始,而不是从头开始。


如果您对此有任何想法主题,我很高兴与你讨论




提前致谢,


PS :对于电子邮件,由雅虎替换无处

Hello,

I''m looking for any work/paper/ressource about continuous system
simulation using Python or any similar object oriented languages (or
even UML theory !).

I''m aware of SimPy for discrete event simulation, but I haven''t found
any work about continuous system.
I would like to develop a generic continous system simulator, and so
would be eager to join any open source effort on the subject.

For instance, it would be useful for modelling an airplane with all the
dynamics (flight simulator).

Python is my language of choice because of the keyword ''generic''. Being
an object oriented dynamic language, it''s perfect for such a task.
Unfortunately I''m a novice when it comes to object oriented
design and development, so I would prefer to start from something
already existent instead of starting from scratch.

If you had any idea on the subject, I would be really glad to discuss it
with you.

Thanks in advance,

P.S. : for email, replace nowhere by yahoo

推荐答案

一个很好的起点是书Python脚本计算

科学与QUOT;作者:Hans Petter Langtangen。这本书涵盖了从模拟二阶机械系统到解决部分

不同方程式的主题。


Howard


Nicolas Pernetty写道:
A good starting point is the book "Python Scripting for Computational
Science" by Hans Petter Langtangen. The book covers topics that go
from simulating second order mechanical systems to solving partial
differentail equations.

Howard

Nicolas Pernetty wrote:
你好,

我正在寻找关于连续系统的任何工作/论文/资源
使用Python或任何类似的面向对象语言进行模拟(或者甚至是UML理论!)。

我知道SimPy用于离散事件模拟,但我还没找到我想开发一个通用的连续系统模拟器,所以
会渴望加入任何关于这个主题的开源工作。

例如,对于具有所有动力学(飞行模拟器)的飞机进行建模将非常有用。

由于关键字泛型,Python是我选择的语言。作为一种面向对象的动态语言,它非常适合这样的任务。
不幸的是,对于面向对象的设计和开发,我是新手,所以我更喜欢从已经存在的东西开始而不是从头开始。

如果您对这个主题有任何想法,我很高兴与您讨论它。
>
提前致谢,

PS :对于电子邮件,由雅虎取代无处
Hello,

I''m looking for any work/paper/ressource about continuous system
simulation using Python or any similar object oriented languages (or
even UML theory !).

I''m aware of SimPy for discrete event simulation, but I haven''t found
any work about continuous system.
I would like to develop a generic continous system simulator, and so
would be eager to join any open source effort on the subject.

For instance, it would be useful for modelling an airplane with all the
dynamics (flight simulator).

Python is my language of choice because of the keyword ''generic''. Being
an object oriented dynamic language, it''s perfect for such a task.
Unfortunately I''m a novice when it comes to object oriented
design and development, so I would prefer to start from something
already existent instead of starting from scratch.

If you had any idea on the subject, I would be really glad to discuss it
with you.

Thanks in advance,

P.S. : for email, replace nowhere by yahoo






2005年10月7日星期五01:12:22 +0200,Nicolas Pernetty
< ni ********** @ nowhere.fr>在comp.lang.python中声明了以下内容:
On Fri, 7 Oct 2005 01:12:22 +0200, Nicolas Pernetty
<ni**********@nowhere.fr> declaimed the following in comp.lang.python:

我知道SimPy用于离散事件模拟,但我还没有发现
任何关于连续系统的工作。
我想开发一个通用的连续系统模拟器,所以
会渴望加入任何关于这个主题的开源工作。

例如,它可以用于所有动力学(飞行模拟器)的飞机建模。

除非那个飞行模拟器在一些丑陋的ANALOG

计算机上运行(使用变阻器,变压器和放大器的那些,

他们都在这些时间点使用离散的时间间隔和计算值

。这样的计算可能需要将上一个时间步的

连续函数整合到当前时间步。

- =============== =================================== ============<
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG<
wu******@dm.net | Bestiaria支持人员<
========================================= ========= ============<
主页:< http://www.dm.net/~wulfraed/> <
溢出页面:< http://wlfraed.home.netcom.com/> <

I''m aware of SimPy for discrete event simulation, but I haven''t found
any work about continuous system.
I would like to develop a generic continous system simulator, and so
would be eager to join any open source effort on the subject.

For instance, it would be useful for modelling an airplane with all the
dynamics (flight simulator).
Unless that flight simulator is running on some big ugly ANALOG
computer (the ones that used rheostats, transformers, and amplifiers),
they all are really using discrete time intervals and computing values
at those time points. Such computation may require integration of
continuous functions from previous time step to current time step.
-- ================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.netcom.com/> <



Dennis Lee Bieber写道:
Dennis Lee Bieber wrote:
2005年10月7日星期五01:12:22 +0200,Nicolas Pernetty
< ni ********** @ nowhere.fr>在comp.lang.python中声明了以下内容:
On Fri, 7 Oct 2005 01:12:22 +0200, Nicolas Pernetty
<ni**********@nowhere.fr> declaimed the following in comp.lang.python:
我知道SimPy用于离散事件模拟,但我还没有找到关于连续系统的任何工作。
我想开发一个通用的连续系统模拟器,所以
会渴望加入任何关于这个主题的开源工作。

例如,它会很有用用于建模具有所有动力学(飞行模拟器)的飞机。
I''m aware of SimPy for discrete event simulation, but I haven''t found
any work about continuous system.
I would like to develop a generic continous system simulator, and so
would be eager to join any open source effort on the subject.

For instance, it would be useful for modelling an airplane with all the
dynamics (flight simulator).



除非那个飞行模拟器在一台大丑的ANALOG
计算机上运行(使用的那台)变阻器,变压器和放大器),它们都在这些时间点使用离散的时间间隔和计算值。这样的计算可能需要将从前一时间步骤到当前时间步骤的连续函数集成。



Unless that flight simulator is running on some big ugly ANALOG
computer (the ones that used rheostats, transformers, and amplifiers),
they all are really using discrete time intervals and computing values
at those time points. Such computation may require integration of
continuous functions from previous time step to current time step.




离散(事件模拟)和(连续系统)模拟和(连续系统)模拟。 as

反对连续(系统模拟)。 SimPy

模型(离散事件)中使用的方法并不适用于模拟飞机动力学等许多

(连续系统)。例如,ODE

集成商可能希望自适应地选择其时间步长,而不是预先设置统一的离散化。


-

Robert Kern
rk***@ucsd.edu

在地狱的地方,草地长得很高

梦想的坟墓是否能够死亡。

- 理查德·哈特



I think Nicolas means "(discrete event) simulation" as opposed to
"discrete (event simulation)" and "(continuous system) simulation" as
opposed to "continuous (system simulation)". The methods used in SimPy
to model (discrete events) don''t apply terribly well to simulating many
(continuous systems) like airplane dynamics. For example, an ODE
integrator would probably want to adaptively select its timesteps as
opposed to laying out a uniform discretization upfront.

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter


这篇关于Python中的连续系统仿真的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆