资源简介
风机仿真模型及代码
Simulation of a Microturbine Generation System for Grid Connected and Islanding Operations
The ever-increasing need for electric power generation, steady progress in the power deregulation and utility restructuring, and tight constraints over the construction of new transmission lines for long distance power transmission have created increased interest in distributed generation (DG) sources[1~3]. The fundamental concepts for the penetration of DG technologies are the high efficiency of the energy conversion process and the limited emission of pollutants with respect to conventional power plants. They are relatively small in size (relative to the power capacity of the system to which they are connected), and are modular in structure. These power generation devices can be placed in power systems (mainly at the distribution level) for grid reinforcement, offering a higher flexibility and load management, reducing power losses and on-peak operating costs, improving voltage profiles and load factors, deferring or eliminating the need for system upgrades, and improving system integrity, reliability and efficiency.
代码片段和文件信息
/*
* This file is not available for use in any application other than as a
* MATLAB(R) MEX file for use with the Simulink(R) product.
*/
/*
* grid_connected_testsystem_acc.c
*
* Real-Time Workshop code generation for Simulink model “grid_connected_testsystem_acc.mdl“.
*
* Model version : 1.162
* Real-Time Workshop version : 7.5 (R2010a) 25-Jan-2010
* C source code generated on : Sun Jun 02 23:41:11 2013
*
* Target selection: accel.tlc
* Note: GRT includes extra infrastructure and instrumentation for prototyping
* embedded hardware selection: 32-bit Generic
* Emulation hardware selection:
* Differs from embedded hardware (MATLAB Host)
* Code generation objectives: Unspecified
* Validation result: Not run
*/
#include
#include “grid_connected_testsystem_acc.h“
#include “grid_connected_testsystem_acc_private.h“
#include
#include “simstruc.h“
#include “fixedpoint.h“
#define CodeFormat S-Function
#define AccDefine1 Accelerator_S-Function
#ifndef __RTW_UTFREE__
extern void * utMalloc(size_t);
extern void utFree(void *);
#endif
/* Buffer management routine for variable delay block */
boolean_T grid_connected_testsystem_acc_rt_TDelayUpdateTailOrGrowBuf(
int_T *bufSzPtr /* in/out - circular buffer size */
int_T *tailPtr /* in/out - tail of circular buffer */
int_T *headPtr /* in/out - head of circular buffer */
int_T *lastPtr /* in/out - same logical ‘last‘ referenced index */
real_T tMinusDelay /* in - last point we are looking at */
real_T **tBufPtr /* in/out - larger buffer for time */
real_T **uBufPtr /* in/out - larger buffer for input */
real_T **xBufPtr /* in/out - larger buffer for state */
boolean_T isfixedbuf /* in - fixed buffer size enable */
boolean_T istransportdelay /* in - block acts as transport dela y */
int_T *maxNewBufSzPtr)
{
int_T testIdx;
int_T tail = *tailPtr;
int_T bufSz = *bufSzPtr;
real_T *tBuf = *tBufPtr;
real_T *xBuf = (NULL);
int_T numBuffer = 2;
if (istransportdelay) {
numBuffer = 3 ;
xBuf= *xBufPtr;
}
/* Get testIdx the index of the second oldest data point and
* see if this is older than current sim time minus applied delay
* used to see if we can move tail forward
*/
testIdx = (tail < (bufSz - 1)) ? (tail + 1) : 0;
if ((tMinusDelay <= tBuf[testIdx]) && !isfixedbuf) {
int_T j;
real_T *tempT;
real_T *tempU;
real_T *tempX = (NULL);
real_T *uBuf = *uBufPtr;
int_T newBufSz = bufSz + 1024;
if (newBufSz > *maxNewBufSzPtr) {
*maxNewBufSzPtr = newBufSz; /* save for warning*/
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-01-10 22:54 models in Simuli
文件 146685 2008-06-23 00:36 models in Simuli
文件 55296 2013-06-02 23:41 models in Simuli
文件 73700 2008-06-21 00:15 models in Simuli
文件 124532 2008-06-23 16:11 models in Simuli
文件 59392 2013-06-02 23:42 models in Simuli
文件 58280 2008-06-23 16:41 models in Simuli
文件 44371 2008-06-20 00:30 models in Simuli
目录 0 2014-01-10 22:54 models in Simuli
目录 0 2014-01-10 22:54 models in Simuli
目录 0 2014-01-10 22:54 models in Simuli
文件 15279 2013-06-02 23:41 models in Simuli
文件 88 2013-06-02 23:41 models in Simuli
文件 133 2013-06-02 23:41 models in Simuli
文件 8367 2013-06-02 23:41 models in Simuli
文件 102587 2013-06-02 23:41 models in Simuli
文件 67313 2013-06-02 23:41 models in Simuli
文件 66886 2013-06-02 23:41 models in Simuli
文件 40144 2013-06-02 23:41 models in Simuli
文件 2233 2013-06-02 23:41 models in Simuli
文件 3489 2013-06-02 23:41 models in Simuli
文件 950 2013-06-02 23:41 models in Simuli
文件 0 2013-06-02 23:41 models in Simuli
目录 0 2014-01-10 22:54 models in Simuli
文件 1177 2013-06-02 23:41 models in Simuli
文件 37 2013-06-02 23:41 models in Simuli
文件 3463 2013-06-02 23:41 models in Simuli
文件 959 2013-06-02 23:41 models in Simuli
文件 1000 2013-06-02 23:41 models in Simuli
文件 2426 2013-06-02 23:41 models in Simuli
文件 884 2013-06-02 23:41 models in Simuli
............此处省略66个文件信息
- 上一篇:多脉波自耦变压器的MATLAB模型
- 下一篇:RBF神经网络
相关资源
- 串行级联cpm系统MATLAB仿真
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
川公网安备 51152502000135号
评论
共有 条评论