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
显示 更早的评论
As i remove 2 MVA plant xx=57 shows and as i remove protection xx=67 shows. Pls help how to solve this issue.
回答(1 个)
A Jenkins
2014-1-10
0 个投票
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!