フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

algebraic loop simulink error؟؟

1 回表示 (過去 30 日間)
mado
mado 2012 年 12 月 2 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
when using Ipold= Ip in this embedded function code
function [e,Pm,Ip] = new(In,Vn) persistent Ipold ; if isempty(Ipold) Ipold=2; %initialized only once in the beginning end K1=2; K2=-.195; Pn= Vn*In Pm=100*In e= Pn-Pm if Pn>Pm Ip = Ipold+K1 *e else Ip = Ipold+K2 *e end Ipold=Ip
error message appeared "Trouble solving algebraic loop containing 'chee_pv/pv6/Algebraic Constraint/Initial Guess' at time 0. Stopping simulation. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)"
  1 件のコメント
mado
mado 2012 年 12 月 3 日
any help

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by