Thank you for writing us about your problem with using GNU Octave. To help us help you, please answer the following questions, if applicable.
Problem description
- Choose a meaningful title.
- How can I replicate the Octave problem?
- I there any code that causes the error? Please give a good example.
- What did I expect to happen and what did happen?
My system
- OS: e.g. Windows 10 (version 2004) or Ubuntu 20.04
- Octave version: e.g. Version 6.1.0
- Installation method: e.g. Downloaded and installed “octave-6.1.0-w64-installer.exe” from Download
My question is this:
In my matlab code
clearvars;clc;
ConvertedData = table2array(readtable(‘act4inputdata.txt’,…
‘ReadVariableNames’,false));
[ZbusPos,ZbusNeg,ZbusZero,GivenMat]=ZbusCalc(ConvertedData);
then the input is
Line Data
-999
2 3 0.0800+0.3000i 0.3000i 0.6000i
2 5 0.0400+0.1500i 0.1500i 0.3000i
2 6 0.1200+0.4500i 0.4500i 0.9000i
3 4 0.1000+0.4000i 0.4000i 0.8000i
3 6 0.0400+0.4000i 0.4000i 0.8000i
4 6 0.1500+0.6000i 0.6000i 1.0000i
4 9 0.1800+0.7000i 0.7000i 1.1000i
5 7 0.0500+0.4300i 0.4300i 0.8000i
6 8 0.0600+0.4800i 0.4800i 0.9500i
7 8 0.0600+0.3500i 0.3500i 0.7000i
8 9 0.0520+0.4800i 0.4800i 0.9000i
-999
Generator Data
-999
0 1 0.0000+0.2000i 0.0000+0.2000i 0.0000+0.0600i 2 0.0500i
10 0 0.0000+0.1500i 0.0000+0.1500i 0.0000+0.0400i 2 0.0500i
11 0 0.2500i 0.2500i 0.0800i 2 0.0000i
-999
Transformer Data
-999
1 2 0.0600i 0.0600i 0.0600i 3 0.0000i 2 0.0000i
4 10 0.0800i 0.0800i 0.0800i 2 0.0000i 2 0.0000i
11 7 0.1000i 0.1000i 0.1000i 3 0.0000i 2 0.0800i
-999
I want it to convert it in GNU. I am new in gnu ocatve.