共查询到20条相似文献,搜索用时 171 毫秒
1.
该文提出一种新的基于Visual c++的水灭火系统仿真模型,通过将C++代码转换成C代码植入到仿真模型中,可以大大优化仿真模型的开发,该文中Simulink软件和VSULAL C++软件的优点在仿真模型中得到完整的体现。该文还详细讨论了水灭火仿真系统的开发和实现。 相似文献
2.
《电子制作.电脑维护与应用》2016,(17)
本文是以变频调速矢量控制系统为研究对象,采用MATLAB和Visual C++两者混合编程构建仿真平台。通过MATLAB和Visual C++接口技术将仿真实验平台转换成可脱离MATLAB环境直接在Windows环境下独立执行的应用程序,用户只需完成仿真模型系统的构建和相应运行参数的输入,即可对矢量控制系统进行可视化的仿真分析。 相似文献
3.
本文使用Simulink建立永磁同步电机(PMSM)模型和矢量控制器模型,利用VeriStand将PMSM电机模型和矢量控制器模型连接,并建立PMSM矢量控制系统PID控制参数实时调整模块,最后利用VeriStand建立友好、直观的操作和显示界面仿真结果表明矢量控制系统运行精确性高、动静态性好,PID控制参数实时调整模块具有良好的效果。 相似文献
4.
针对传统用C++语言编写船舶电力系统模型的方法较为复杂的特点,将 Simulink仿真与C++语言相结合,建立船舶电力系统基本模型。根据Simulink仿真发电机模块与算法的特点,结合模拟训练中实时性的要求,对基本模型进行改进,构建两种适用于不同算法的船舶电力系统仿真模型。仿真结果表明,定步长算法下的仿真模型可满足模拟训练实时仿真的要求;变步长算法下的仿真模型结合多项式拟合算法,可得到与实时仿真基本相同的结果。因此,两种仿真模型均适合于基于模拟训练的船舶电力系统。 相似文献
5.
6.
高琪琪 《数字社区&智能家居》2013,(14):3295-3296
该文讨论了如何使用C++语言实现折现现金流模型,由于该模型计算过程较为复杂,通过C++程序化可以大大提高工作效率,方便投资者对公司进行快速估值。文中以10年折现现金流模型为例,先对折现现金流模型进行了算法分析,之后通过数据分析说明了整个程序设计的思路,最后使用核心代码介绍了该模型的C++实现方法。 相似文献
7.
《计算机应用与软件》2016,(1)
在进行永磁同步电机PMSM(Permanent Magnet Synchronous Motor)驱动系统中逆变器的故障诊断、容错控制方面的仿真研究时,Matlab/Simulink库提供的逆变器模块已无法满足要求。针对这一情况,基于混合逻辑动态MLD(Mixed Logic Dynamic)建模方法,同时考虑故障模式下电压源逆变器(VSI)和PMSM的运行模式,建立将逆变器和PMSM结合为一体的MLD仿真模型。分别在电压源逆变器无故障和故障时将所完成的MLD模型在矢量控制系统中进行仿真。仿真结果,表明基于MLD模型的驱动系统与理论分析相一致,证明了所建立MLD模型的正确性和有效性。 相似文献
8.
代表着托管C++编程模型的C++/CLl来了,它给ISO-C++带来怎样的影响?新的C++OX标准何时颁布?C++标准库将何去何从?新春佳节之际,本刊特别采访C++之父Bjarne Stroustrup为您解读C++的现在与将来。 相似文献
9.
矢量控制永磁同步电动机的MATLAB仿真 总被引:1,自引:0,他引:1
分析了永磁同步电机(PMSM)的数学模型,在此基础上提出了PMSM矢量控制系统仿真建模方法,在matlab6.5/simulink环境下,建立了速度控制模块、坐标变换模块、SPWM控制模块,把这些模块与mattab6.5自身提供的PMSM本体模块和电压逆变模块有机组合,建立了PMSM控制系统的速度和电流双环仿真模型.仿真实验结果表明模型的有效性,验证了其控制算法,为实际PMSM控制系统的设计和调试提供了仿真参照. 相似文献
10.
11.
在分析永磁同步电动机(PMSM)数学模型的基础上,提出一种无电流环的控制方法,从而构成基于SVPWM的永磁同步电机控制系统。本文首先在Matlab/Simulink环境下对该控制系统进行仿真,并在此基础上,采用FPGA芯片EP1C6Q240C8作为控制核心,设计了一个用于定位系统的永磁同步电机控制系统。系统运行结果说明,无电流环的控制方法构成的控制系统性能良好,能满足部分定位系统的要求。 相似文献
12.
13.
VHDL事件驱动模拟核心库 总被引:4,自引:0,他引:4
论述了一个为构造编译型VHDL模拟系统而设计的模拟核心库,它采用事件驱动的模拟算法进行元件调度,使其适用于同步电路和异步电路的模拟,采用多值延迟模型,可同时完成功能验证和时序验证工作;采用多数据类型表示形式,适用于从系统行为级,寄存器传输级到逻辑门级的设计模拟验证工作,模拟核心库使用标准C++语言设计,采用面向对象编程思想构造核心库的结构,并使用C++虚接口为被模拟供简单的建模接口,通过实验证明此模拟核心库具有简单,正确,高效,可扩充和平台通用等优点,适合于编译型模拟系统的构造。 相似文献
14.
15.
16.
17.
A set of portable parallel-programming constructs for C, implemented in M4 macros called Parmacs, developed by researchers at Argonne National Laboratory, is considered. The Parmacs macros make it possible to write parallel C programs for shared-memory, distributed-memory, and mixed-memory systems; are portable, highly functional, and efficient; and provide sufficient functions to build a variety of parallel programs. However, they have several problems. The M4 macros are awkward to use and hard to read, so it is easy to make errors when using them. They are a mechanism outside the C language; thus, someone familiar only with C cannot readily read the code. They are not cleanly extensible, and their use is not type-checked. It is shown that using C++, rather than C, addresses these problems adequately. The Parmacs macros are described, the C++ Parmacs classes and runtime model are presented, and examples that show the use of the C++ Parmacs constructs are given. The work described considers only shared-memory constructs. Directions for future work are indicated 相似文献
18.
In this paper, fractional order PI (FOPI) control is developed for speed control of permanent magnet synchronous motor (PMSM). Designing the parameters for FOPI controller is a challenging task, especially for nonlinear systems like PMSM. All three PI controllers in the conventional vector controlled speed drive are replaced by FOPI controllers. Design of these FOPI controllers is based on the locally linearized model of PMSM around an operating point. This operating point changes with the load torque. The novelty of the work reported here is in use of Non Linear Disturbance Observer (NLDO) to estimate load torque to obtain this new operating point. All three FOPI controllers are then designed adaptively using this new operating point. The scheme is tested on simulation using MATLAB/SIMULINK and results are presented. 相似文献
19.
20.
《Environmental Modelling & Software》2000,15(2):179-188
Crop simulation models are now widely used in agronomy. A highly modular structure has been developed for crop growth simulation models based on the essential processes that are common to various plant species. This generic process-oriented modular structure was implemented in the SPASS (Soil-Plant-Atmosphere System Simulation) model using Microsoft Visual C/C++ under Windows. SPASS is composed of six parts: (i) data management, (ii) memory allocation/initialization, (iii) Modules for crop, soil and microclimate processes, (iv) model configuration and simulation, (v) graphic/table display and (vi) model knowledge integration. The model can be easily configured using the Windows interface by choosing various combinations of process modules developed based on different model approaches. Up to 30 graphic and 5 table MDI (Multiple Document Interface) child windows can be opened during or after the simulation run. Each child window can be resized freely on the screen for the convenience of data analysis. The model theory can be easily viewed using the online theory book. The SPASS model structure facilitates comparison of different model approaches, transfer of improvements between models, development of multi-crop models and modification of process modules for new applications. 相似文献