Error-Initial state vector "X0" must be a real vector of length 86

4 次查看(过去 30 天)
When i am running simulink program i am getting error as Initial state vector "X0" must be a real vector of length 86
The simulink is power_wind_dfig.mdl
when i run this the program runs ,but i tried to connect another wind turbine across B575.i get that error
pleasae help
  4 个评论
Sachin Ganjare
Sachin Ganjare 2012-10-22
Can you upload initialization file as well, as the model is not simulating due to some undefined parameters

请先登录,再进行评论。

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2012-10-25
编辑:Azzi Abdelmalek 2012-10-25
In the home page of Matlab, on the top-middle there is a "current folder" by default it's
F:\Old\bck\Program Files\MATLAB\R2011b\bin
change it to a new folder
  5 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2012-10-25
kash, If the question you've previously posted was answered accept it or no, and repost another question.

请先登录,再进行评论。

更多回答(2 个)

Sachin Ganjare
Sachin Ganjare 2012-10-22
Use below command & check the results:
newoptions = simset (oldoptions, 'SaveFormat', 'StructureWithTime');
  10 个评论
Sachin Ganjare
Sachin Ganjare 2012-10-25
Some parameters used in your model are undefined, this error may be related to that.

请先登录,再进行评论。


Azzi Abdelmalek
Azzi Abdelmalek 2012-10-22
编辑:Azzi Abdelmalek 2012-10-22
right click on your model, then on model properties , callbacks, init fcn you will find the initialization command
load power_wind_dfig_xinit % this file contains a variable named xInitial (1x85)
If you have changed the model I think you must change xInitial
  16 个评论

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by