کلیدستان

نسخه‌ی کامل: خطای algebraic loop
شما در حال مشاهده نسخه آرشیو هستید. برای مشاهده نسخه کامل کلیک کنید.
سلام،
در شبیه سازی یک سیستم خورشیدی که شامل یک سری ماژول سری شده است ،و ورودی هر ماژول تابش دریافتی و درجه حرارت آن ماژول است ،می خواهیم مقادیر جریان و ولتاژ و توان را ذخیره کنیم(برای رسم نمودار P-V و I-V ).به ازای برخی از مقادیر ورودی تابش متلب خطای زیر را می دهد:
Simulink cannot solve the algebraic loop containing
'pv_model_subsystem_simulink_R2006b/PV model subsystem3/Product3' at time 2.69
using the TrustRegion-based algorithm due to one of the following reasons: the
model is ill-defined i.e., the system equations do not have a solution; or the
nonlinear equation solver failed to converge due to numerical issues.
 To rule out solver convergence as the cause of this error, either
     a) switch to LineSearch-based algorithm using
         set_param('pv_model_subsystem_simulink_R2006b','AlgebraicLoopSolver','LineSearch')
              b) reducing the VariableStepDiscrete solver RelTol parameter so
         that the solver takes smaller time steps.
 If the error persists in spite of the above changes, then the model is likely
 ill-defined and requires modification.
طبق پیشنهاد متلب حل کننده را به خطی تغییر دادم ،همچنین از منوی simulation---configuration parameter مقدار variable step size  را نیز تغییر دادم اما باز در برخی از حالت ها ایراد می گیرد.در برخی از سایت ها پیشنهاد شده بود که یک تاخیر برای حذف حلقه اضافه کنید ،مشکل حل می شود اما شکل موج خروجی کلا عوض می شود.
رابطه جریان ولتاژ ماژول خورشیدی به صورت( I=f(I,V است ،که می توانید پیاده سازی فرمول ها را در داخل ماژول ببینید .
لطفا راهنمایی کنید چطوری این خطا را می شود حذف کرد؟
با تشکر