First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2019-07-10 02:31:34 -0500 | answered a question | Explanation on MAXEX1 PSSE Documentation - Models.pdf - Chapter 5: Maximum Excitation Limiter Model Data Sheets |
2018-02-07 08:07:30 -0500 | received badge | ● Enthusiast |
2018-01-29 02:12:45 -0500 | commented answer | IEEE 39 BUS DYNAMIC SIMULATION IN PSSE It seems that something is wrong with the model since it does not converge without any disturbance with default integration step 0.01s, but converges with the step 0.001 ... probably the problem are some time constants in the model... |
2017-07-07 08:32:11 -0500 | commented answer | Dynamic simulation .out to matlab Johannes.Thorleiksson, you have to delete all channels after one dynamic simulation, and then again set channels using python... then the sizes of out files doesn't grow during simulations |
2017-07-07 03:26:17 -0500 | answered a question | Dynamic simulation .out to matlab *Copying of all channels into matlab workspace (as possibility for matlab users)* Download matlab function and example of using: https://drive.google.com/drive/folder... function [numberchannels,nameschannels,tomatlab]=pssout2matlab(inputfile) nameschannels=[]; channelsdata=[]; numberchannels=[]; tekst=[]; if nargin==0 [filename]=uigetfile('*.out','PSSE .out files'); % select file from disk (without inputfile in function call) fid=fopen(filename); else fid=fopen(inputfile'); end setstr(fread(fid,4,'char')'); setstr(fread(fid,4,'char')'); setstr(fread(fid,4,'char')'); numberchannels=fread(fid,1,'float32'); fread(fid,1,'float32'); nameschannels=setstr(fread(fid,[32, numberchannels] ,'char'))'; nameschannels=strvcat(strcat('Time',blanks(28)),nameschannels); tekst=setstr(fread(fid,[60, 2] ,'char'))'; channelsdata=fread(fid,Inf,'float32'); kolona=(size(channelsdata,1)-2)/(numberchannels+2); rezultat=reshape(channelsdata(1:kolona*(numberchannels+2)),numberchannels+2,kolona)'; tomatlab=rezultat(:,2:size(rezultat,2)); fclose(fid); numberchannels=numberchannels+1; nameschannels=strcat(num2str([1:numberchannels]','%06.f'),'-',nameschannels); end |
2017-06-23 07:19:40 -0500 | answered a question | Channels - tool to process outs files Copying of all channels into matlab workspace (as possibility for matlab users) Download matlab function and example of using: https://drive.google.com/drive/folder... function [numberchannels,nameschannels,tomatlab]=pssout2matlab(inputfile) nameschannels=[]; channelsdata=[]; numberchannels=[]; tekst=[]; if nargin==0 [filename]=uigetfile('*.out','PSSE .out files'); % select file from disk (without inputfile in function call) fid=fopen(filename); else fid=fopen(inputfile'); end setstr(fread(fid,4,'char')'); setstr(fread(fid,4,'char')'); setstr(fread(fid,4,'char')'); numberchannels=fread(fid,1,'float32'); fread(fid,1,'float32'); nameschannels=setstr(fread(fid,[32, numberchannels] ,'char'))'; nameschannels=strvcat(strcat('Time',blanks(28)),nameschannels); tekst=setstr(fread(fid,[60, 2] ,'char'))'; channelsdata=fread(fid,Inf,'float32'); kolona=(size(channelsdata,1)-2)/(numberchannels+2); rezultat=reshape(channelsdata(1:kolona*(numberchannels+2)),numberchannels+2,kolona)'; tomatlab=rezultat(:,2:size(rezultat,2)); fclose(fid); numberchannels=numberchannels+1; nameschannels=strcat(num2str([1:numberchannels]','%06.f'),'-',nameschannels); end |
2017-06-23 07:18:01 -0500 | received badge | ● Editor (source) |
2017-06-23 07:16:28 -0500 | answered a question | Channels - tool to process outs files Copying of all channels into matlab enviroment: function [numberchannels,nameschannels,tomatlab]=pssout2matlab(inputfile) names_channels=[]; channels_data=[]; number_channels=[]; tekst=[]; if nargin==0 [filename]=uigetfile('*.out','PSSE .out files'); % select out file from disk (without input_file in function call) fid=fopen(filename); else fid=fopen(input_file'); end setstr(fread(fid,4,'char')'); setstr(fread(fid,4,'char')'); setstr(fread(fid,4,'char')'); number_channels=fread(fid,1,'float32'); fread(fid,1,'float32'); nameschannels=setstr(fread(fid,[32, numberchannels] ,'char'))'; nameschannels=strvcat('Time ',nameschannels); tekst=setstr(fread(fid,[60, 2] ,'char'))'; channels_data=fread(fid,Inf,'float32'); kolona=(size(channelsdata,1)-2)/(numberchannels+2); rezultat=reshape(channelsdata(1:kolona*(numberchannels+2)),number_channels+2,kolona)'; to_matlab=rezultat(:,2:size(rezultat,2)); fclose(fid); numberchannels=numberchannels+1; nameschannels=strcat(num2str([1:numberchannels]','%06.f'),'-',names_channels); end |