I have modified demo power_wind_dfig model . As i remove fault no prob. Bt as i remove 2 MVA plant or DFIG protection block , Initail State vector X0 must be a real vector of length xx error comes. With every modification xx changes. Pls help

답변 (1개)

The initial state vector X0 contains the states of all the components in the model to allow the simulation to start from a "stable" state. Since you have removed components, there are a different number of states and your vector is no longer the right size.
I'm not familiar with that model so I do not know how it creates initial states, but try this first:
1) Go to Configuration Parameters->Data Import/Export.
2) Deselect "Initial State" and rerun your model.
3) If "Final States" was selected, a new X will be created after the simulation which contains the final state of your model. If desired, you can reselect "Initial State" with this new X vector to start your model from this condition on the next iteration.

카테고리

도움말 센터 및 File Exchange에서 Modeling에 대해 자세히 알아보기

질문:

2014년 1월 10일

답변:

2014년 1월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by