Initialization commands cannot be evaluated while working with distributed line parameter

hie i am simulating a single phase transmission line by using a distributed parameter line and i am getting this error: Error in 'mt2/transmission line/Model/Continuous': Initialization commands cannot be evaluated.
Caused by: Undefined function or variable "z". can somebody help me

댓글 수: 2

The error message sounds clear. Please inspect the code and search for the incorrect usage of an undefined variable "z".
I have the same error after four months. But, there is no z parameter in the submask.
I have even searched the whole system using control+f for this 'z' variable. Matlab could not find it.
This is very poor from matlab's side. If nobody (from matlab's tech support) is going to answer these questions what is the point in having this "Matlab answers" page. There is no clear guidelines on how to use this particular model. I feel like simpower system is a frustration.
Some one from Matlab should answer these questions. If this question was already answered by matlab tech support in January, I would have had a solution for my problem now.
This is extremely poor technical support from matlab's side. Other software companies do have these forums. They dont just rely on the users to answer questions, they actively participate in them.

댓글을 달려면 로그인하십시오.

답변 (1개)

Kumar
Kumar 2016년 5월 5일
From my understanding, when this error happens, there is some issue with the resistance, inductance, and capacitance values.
Since, you indicated that you are using a single phase line model, please make sure that the values for these variables are scalar. That is, unlike the three phase model where you have to provide r1, and r0, for the single phase you only need one r value (the same applies for c and l values).
I made this change and the error went away. Although, I am facing new errors, I am working on debugging them.

카테고리

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

질문:

2016년 1월 24일

답변:

2016년 5월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by