Azzera filtri
Azzera filtri

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

5 visualizzazioni (ultimi 30 giorni)
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 Commenti
Sachin Ganjare
Sachin Ganjare il 22 Ott 2012
Can you upload initialization file as well, as the model is not simulating due to some undefined parameters

Accedi per commentare.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 25 Ott 2012
Modificato: Azzi Abdelmalek il 25 Ott 2012
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 Commenti
kash
kash il 25 Ott 2012
yes Azzi i need graphs like that ,please tell hoe to perform
Azzi Abdelmalek
Azzi Abdelmalek il 25 Ott 2012
kash, If the question you've previously posted was answered accept it or no, and repost another question.

Accedi per commentare.

Più risposte (2)

Sachin Ganjare
Sachin Ganjare il 22 Ott 2012
Use below command & check the results:
newoptions = simset (oldoptions, 'SaveFormat', 'StructureWithTime');
  10 Commenti
Sachin Ganjare
Sachin Ganjare il 25 Ott 2012
Some parameters used in your model are undefined, this error may be related to that.
kash
kash il 25 Ott 2012
Sachin please can you tell how to modify those

Accedi per commentare.


Azzi Abdelmalek
Azzi Abdelmalek il 22 Ott 2012
Modificato: Azzi Abdelmalek il 22 Ott 2012
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 Commenti
Azzi Abdelmalek
Azzi Abdelmalek il 25 Ott 2012
Just change your working folder to a new folder, for example D:\work
kash
kash il 25 Ott 2012
Yes Azzi how to change where i have to type these command

Accedi per commentare.

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by