摘要:
近年来,已逐渐用数字计算机代替模拟计算机或混合计算机来实现连续系统的仿真.连续系统的数字仿真的显著特点是:便于人机对话,求解精度高和重复性好,容易编排程序和输出计算结果.但是,为了避开编程序的细节和把精力集中在系统仿真上,系统仿真者希望有一个方便和灵活的仿真语言.本文介绍一种面向方程的BASIC仿真语言,它允许用户直接用一阶微分方程组的数学表达式写入,并能在任何一台配置BASIC语言的数字机上运算.使用时只要遵循规定的简单格式而不用去熟悉BASIC语言的细节.文中附有阐述用法的计算实例.
Abstract:
Recently, digital computers are gradually used to replace analog or hybrid computations for implement of continuous-system simulations. Digital continuons-system simulation has significant advantages: better man-machine interaction, higher accuracy and reproducibility, more convenient programming and report generation, etc. The simulation user would like to have a more convenient and flexible simulation language, in order to be as free as possible from the! details of computer programming and concentrate on his system simulations. An equation-oriented BASIC simulation language which permits the user to enter first-order differential equations in essentially unchanged mathematical form is introduced in this paper. It may run on any machine which supports BASIC. The user does not even have to be familiar with BASIC so long as he follows the simple format specified. A computing example is given to illustrate its application.