plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | MORLab/sss-master | testConnect.m | .m | sss-master/test/testScripts/testConnect.m | 2,705 | utf_8 | ac32e06601d9799f78fe448a60f7a0d1 | classdef testConnect < sssTest
methods(Test)
function testConnect1(testCase)
if length(testCase.sysCell)>1
for i=1:2:length(testCase.sysCell)-1
sys1=testCase.sysCell{i};
sys2=testCase.sysCell{i+1};
sysConnect(test... |
github | MORLab/sss-master | testEig.m | .m | sss-master/test/testScripts/testEig.m | 1,528 | utf_8 | a15b4c6a912781926e57cd3c3698f6bf | classdef testEig < sssTest
methods (Test)
function testEig1(testCase)
for i=1:length(testCase.sysCell)
sys_sss=testCase.sysCell{i};
[actD]=eig(sys_sss);
[expD]=eig(full(sys_sss.A), full(sys_sss.E));
... |
github | MORLab/sss-master | testDecayTime.m | .m | sss-master/test/testScripts/testDecayTime.m | 2,018 | utf_8 | 2919aed3382352bb5287d09c6f46eeb1 | classdef testDecayTime < sssTest
methods (Test)
function stableSys(testCase)
for i=1:length(testCase.sysCell)
sys=testCase.sysCell{i};
warning('off','sss:decayTime:UnstableSys');
[actTmax]=decayTime(sys);
if ~isnan(actTmax) %... |
github | MORLab/sss-master | testDcGain.m | .m | sss-master/test/testScripts/testDcGain.m | 1,520 | utf_8 | 5b2abf30ca7c61c75e8e23d1f340796b | classdef testDcGain < sssTest
% testDcGain - testing of dcgain.m
%
% ------------------------------------------------------------------
% This file is part of sssMOR, a Sparse State Space, Model Order
% Reduction and System Analysis Toolbox developed at the Institute
% of Automatic Cont... |
github | MORLab/sss-master | testIssd.m | .m | sss-master/test/testScripts/testIssd.m | 1,244 | utf_8 | 54a18e40995a1c917337be73db3e6a4c | classdef testIssd < sssTest
methods (Test)
function testIssd1(testCase)
for i=1:length(testCase.sysCell)
sys=testCase.sysCell{i};
if ~sys.isDae
size(sys.A)
[actSolution]=issd(sys);
... |
github | MORLab/sss-master | testSolveLse.m | .m | sss-master/test/testScripts/testSolveLse.m | 3,728 | utf_8 | 078f62818916f83f6bed74b588992cd1 | classdef testSolveLse < sssTest
methods(Test)
function testSolveLseBasic(testCase)
for i=1:length(testCase.sysCell)
sys=testCase.sysCell{i};
if sys.isSiso && ~sys.isDae
% test A\B
actX1=solveLse(sys.A,sys.B);
... |
github | MORLab/sss-master | testPole.m | .m | sss-master/test/testScripts/testPole.m | 2,547 | utf_8 | 12f70209dfa033aade0eefcbbd24c65a | classdef testPole < sssTest
% testPoles - testing of pole.m
methods(Test)
function testLM(testCase)
for i=1:length(testCase.sysCell)
sys=testCase.sysCell{i};
if ~sys.isDae
Opts.type='lm';
k=20;
p... |
github | MORLab/sss-master | testSs.m | .m | sss-master/test/testScripts/testSs.m | 1,726 | utf_8 | 964a0b818df7b32d5b259e7cc3ea211e | classdef testSs < sssTest
% testSs - testing of ss.m
%
% Description:
% The function norm.m is tested (3 tests) on:
% + Norm of a SISO benchmark system.
% + Norm of a SISO random system.
% + Norm of a MISO random system.
% + Norm of a SIMO random system.
% + Norm of ... |
github | MORLab/sss-master | testFreqresp.m | .m | sss-master/test/testScripts/testFreqresp.m | 4,300 | utf_8 | 38af8fa2efaed5bd9a4d266f61625a57 | classdef testFreqresp < sssTest
methods (Test)
function testFreqresp1(testCase) %real frequencies
for i=1:length(testCase.sysCell)
sys_sss=testCase.sysCell{i};
if ~sys_sss.isDae
sys_ss=ss(sys_sss);
t=0:100:1000;
... |
github | MORLab/sss-master | testIsstable.m | .m | sss-master/test/testScripts/testIsstable.m | 833 | utf_8 | 394937bb989cedd92a61c4173a9df504 | classdef testIsstable < sssTest
methods (Test)
function testIsstable1(testCase)
for i=1:length(testCase.sysCell)
sys=testCase.sysCell{i};
warning('off','sss:isstable:EigsFailed');
[actB] = isstable(sys);
... |
github | MORLab/sss-master | testSim.m | .m | sss-master/test/testScripts/testSim.m | 13,137 | utf_8 | 415ba0633fbcf791f16c37ce6a46895f | classdef testSim < sssTest
% testSim - Testing of sim.m
%
% Description:
% The function sim.m is tested on:
% + Simulation of an artifitialy constructed, stable SSS, SISO benchmark
% % + Simulation of a SSS, SISO benchmark system (building).
% % + Simulation of a SSS, SISO benchmark system (heat-cond).
% ... |
github | MORLab/sss-master | testFrd.m | .m | sss-master/test/testScripts/testFrd.m | 1,027 | utf_8 | 05ff53e94f8ca4e0f60f280bcecd2880 | classdef testFrd < sssTest
methods (Test)
function generalFunctionality(testCase)
for i=1:length(testCase.sysCell)
sys_sss=testCase.sysCell{i};
if ~sys_sss.isDae
sys_ss=ss(sys_sss);
[expSolution, ~, omega]=bode(sys_ss)... |
github | MORLab/sss-master | testStep.m | .m | sss-master/test/testScripts/testStep.m | 5,895 | utf_8 | f702e79bf929fc5e30a1346183867184 | classdef testStep < sssTest
% testStep - testing of step.m
%
% ------------------------------------------------------------------
% This file is part of sssMOR, a Sparse State Space, Model Order
% Reduction and System Analysis Toolbox developed at the Institute
% of Automatic Control, T... |
github | MORLab/sss-master | testDiag.m | .m | sss-master/test/testScripts/testDiag.m | 1,787 | utf_8 | dfb67f4b3b4105b7135cee0902394ac6 | classdef testDiag < sssTest
methods (Test)
function testDiag1(testCase)
for i=1:length(testCase.sysCell)
sys=testCase.sysCell{i};
if ~sys.isDae
[actSys]=diag(sys);
[expSys]=canon(ss(sys),'modal');
... |
github | MORLab/sss-master | testMtimes.m | .m | sss-master/test/testScripts/testMtimes.m | 3,251 | utf_8 | db2d8b3f45e4b20ecda6975dce3924f0 | classdef testMtimes < sssTest
% testMtimes - testing of mtimes.m
%
% Description:
% The function rk.m is tested (3 tests) on:
% + combination of two benchmark-systems.
% + combination of two random-systems that are equal.
% + combination of two random-systems that are different.
%
% ---------------------... |
github | MORLab/sss-master | testPlus.m | .m | sss-master/test/testScripts/testPlus.m | 3,891 | utf_8 | bb0f3252d62f8e9257278562610e5c0b | classdef testPlus < sssTest
% testPlus - testing of plus.m
%
% Description:
% The function plus.m is tested (3 tests) on:
% + combination of two benchmark-systems.
% + combination of two random-systems that are equal.
% + combination of two random-systems that are different.
%... |
github | MORLab/sss-master | testConnectSss.m | .m | sss-master/test/testScripts/testConnectSss.m | 1,970 | utf_8 | a9544da5b594217627ba30bbd90daa93 | classdef testConnectSss < sssTest
methods(Test)
function testConnectSss1(testCase)
if length(testCase.sysCell)>1
for i=1:2:length(testCase.sysCell)-1
sys1=testCase.sysCell{i};
sys2=testCase.sysCell{i+1};
sysConnec... |
github | MORLab/sss-master | testSpy.m | .m | sss-master/test/testScripts/testSpy.m | 1,716 | utf_8 | 01664e875c5bf0f938c75e96523ba3be | classdef testSpy < sssTest
% testSpy - testing of spy.m
%
% Description:
% The function norm.m is tested (3 tests) on:
% + Norm of a SISO benchmark system.
% + Norm of a SISO random system.
% + Norm of a MISO random system.
% + Norm of a SIMO random system.
% + Norm ... |
github | MORLab/sss-master | testBodeplot.m | .m | sss-master/test/testScripts/testBodeplot.m | 1,805 | utf_8 | 5a1508ae893615ede9bbc1abf609254b | classdef testBodeplot < sssTest
methods(Test)
function testBodeplot1(testCase)
for i=1:length(testCase.sysCell)
sys=testCase.sysCell{i};
if ~sys.isDae
h=bodeplot(sys,1:100,'r--');
setoptions(h,'PhaseVisible','off');
... |
github | MORLab/sss-master | testPzmap.m | .m | sss-master/test/testScripts/testPzmap.m | 827 | utf_8 | b8c7314055e253e2702a5ce9bbcd95fa | classdef testPzmap < sssTest
% testPzmap - testing of pzmap.m
methods(Test)
function test1(testCase)
for i=1:length(testCase.sysCell)
sys=testCase.sysCell{i};
if ~sys.isDae
% verification of results is done in testZeros and
... |
github | MORLab/sss-master | testAppend.m | .m | sss-master/test/testScripts/testAppend.m | 2,266 | utf_8 | 90baeeae43448385dc1e08cc7d182fc2 | classdef testAppend < sssTest
methods (Test)
function testAppend1(testCase)
for i=1:2:length(testCase.sysCell)-1
sys1_sss=testCase.sysCell{i};
if sys1_sss.isDescriptor
sys1_ss=ss(full(sys1_sss.E\sys1_sss.A),full(sys1_sss.E\sys1_sss.... |
github | MORLab/sss-master | testNorm.m | .m | sss-master/test/testScripts/testNorm.m | 3,990 | utf_8 | 8f29c13ec37859d61d8c0bac3955bb6b | classdef testNorm < sssTest
% testNorm - testing of norm.m
%
% Description:
% The function norm.m is tested (3 tests) on:
% + Norm of a SISO benchmark system.
% + Norm of a SISO random system.
% + Norm of a MISO random system.
% + Norm of a SIMO random system.
% + No... |
github | MORLab/sss-master | testSigma.m | .m | sss-master/test/testScripts/testSigma.m | 3,538 | utf_8 | 3b736754b58aed0411f1dda477d50a7e | classdef testSigma < sssTest
% testSigma - testing of sigma.m
%
% Description:
% The function sigma.m is tested (3 tests) on:
% + Norm of a SISO benchmark system.
% + Norm of a SISO random system.
% + Norm of a MISO random system.
% + Norm of a SIMO random system.
% ... |
github | MORLab/sss-master | testEigs.m | .m | sss-master/test/testScripts/testEigs.m | 1,608 | utf_8 | 89f288cefc342f93db99e56534cd75b3 | classdef testEigs < sssTest
methods (Test)
function testEigs1(testCase)
for i=1:length(testCase.sysCell)
sys_sss=testCase.sysCell{i};
if ~sys_sss.isDae
[actD]=eigs(sys_sss,12);
[expD]=eigs(full(sys_sss.A), full(sys_s... |
github | iamitpatil/MATLAB_advanced_solid_mechanics_codes-master | shapeFunctionL2.m | .m | MATLAB_advanced_solid_mechanics_codes-master/Timoshenko Beam analysis code/shapeFunctionL2.m | 364 | utf_8 | 68db6d0144cdfc27459d4e97fd61ec61 | % .............................................................
function [shape,naturalDerivatives]=shapeFunctionL2(xi)
% shape function and derivatives for L2 elements
% shape : Shape functions
% naturalDerivatives: derivatives w.r.t. xi
% xi: natural coordinates (-1 ... +1)
shape=([1-xi,1+xi]/2)';
naturalDerivatives=... |
github | iamitpatil/MATLAB_advanced_solid_mechanics_codes-master | solution.m | .m | MATLAB_advanced_solid_mechanics_codes-master/Timoshenko Beam analysis code/solution.m | 348 | utf_8 | c2f5f2b3cc647c6d3530c0999dc2aa80 | %................................................................
function displacements=solution(GDof,prescribedDof,stiffness,force)
% function to find solution in terms of global displacements
activeDof=setdiff([1:GDof]',[prescribedDof]);
U=stiffness(activeDof,activeDof)\force(activeDof);
displacements=zeros(GDof,1);... |
github | iamitpatil/MATLAB_advanced_solid_mechanics_codes-master | outputDisplacementsReactions.m | .m | MATLAB_advanced_solid_mechanics_codes-master/Timoshenko Beam analysis code/outputDisplacementsReactions.m | 485 | utf_8 | f05619a01bac16f599f321c484553214 | %..............................................................
function outputDisplacementsReactions...
(displacements,stiffness,GDof,prescribedDof)
% output of displacements and reactions in
% tabular form
% GDof: total number of degrees of freedom of
% the problem
% displacements
disp('Displacements')
%displacements... |
github | panji530/Low-rank-kernel-subspace-clustering-master | BuildAdjacency.m | .m | Low-rank-kernel-subspace-clustering-master/BuildAdjacency.m | 969 | utf_8 | e6246b92c3306608cee7c6769448d13e | %--------------------------------------------------------------------------
% This function takes a NxN coefficient matrix and returns a NxN adjacency
% matrix by choosing the K strongest connections in the similarity graph
% CMat: NxN coefficient matrix
% K: number of strongest edges to keep; if K=0 use all the exitin... |
github | panji530/Low-rank-kernel-subspace-clustering-master | thrC.m | .m | Low-rank-kernel-subspace-clustering-master/thrC.m | 680 | utf_8 | 1d57203ca466d32bcd882ce949a6fea8 | %--------------------------------------------------------------------------
% Copyright @ Ehsan Elhamifar, 2012
%--------------------------------------------------------------------------
function Cp = thrC(C,ro)
if (nargin < 2)
ro = 1;
end
if (ro < 1)
N = size(C,2);
Cp = zeros(N,N);
[S,Ind] = sort(a... |
github | panji530/Low-rank-kernel-subspace-clustering-master | lowRankKernelSubspaceClustering.m | .m | Low-rank-kernel-subspace-clustering-master/lowRankKernelSubspaceClustering.m | 8,276 | utf_8 | 7718fe67c530030db871f07f0cf79b28 | function [missrate, A, grps, obj, resid] = lowRankKernelSubspaceClustering(X, s, lambda1, lambda2, lambda3, kType, affine, outlier, param)
% Author: Pan Ji, University of Adelaide
% All rights reserved!
if(nargin<8)
outlier = false;
end
if(nargin<7)
affine = false;
end
if(nargin<6)
kType = 'pol';
end
if(nar... |
github | panji530/Low-rank-kernel-subspace-clustering-master | hungarian.m | .m | Low-rank-kernel-subspace-clustering-master/hungarian.m | 11,781 | utf_8 | 294996aeeca4dadfc427da4f81f8b99d | function [C,T]=hungarian(A)
%HUNGARIAN Solve the Assignment problem using the Hungarian method.
%
%[C,T]=hungarian(A)
%A - a square cost matrix.
%C - the optimal assignment.
%T - the cost of the optimal assignment.
%s.t. T = trace(A(C,:)) is minimized over all possible assignments.
% Adapted from the FORTRAN ... |
github | panji530/Low-rank-kernel-subspace-clustering-master | SpectralClustering.m | .m | Low-rank-kernel-subspace-clustering-master/SpectralClustering.m | 1,263 | utf_8 | 07b220096869dca68257bc4d65642455 | %--------------------------------------------------------------------------
% This function takes an adjacency matrix of a graph and computes the
% clustering of the nodes using the spectral clustering algorithm of
% Ng, Jordan and Weiss.
% CMat: NxN adjacency matrix
% n: number of groups for clustering
% groups: N-d... |
github | zengjianping/mobile-id-master | d2p.m | .m | mobile-id-master/utils/tSNE_matlab/d2p.m | 3,155 | utf_8 | dc48b1dd0688d11671d81af50a0970de | function [P, beta] = d2p(D, u, tol)
%D2P Identifies appropriate sigma's to get kk NNs up to some tolerance
%
% [P, beta] = d2p(D, kk, tol)
%
% Identifies the required precision (= 1 / variance^2) to obtain a Gaussian
% kernel with a certain uncertainty for every datapoint. The desired
% uncertainty can be specified... |
github | zengjianping/mobile-id-master | x2p.m | .m | mobile-id-master/utils/tSNE_matlab/x2p.m | 3,297 | utf_8 | e0d6a8b9bcdd6ebd97037e46252fe200 | function [P, beta] = x2p(X, u, tol)
%X2P Identifies appropriate sigma's to get kk NNs up to some tolerance
%
% [P, beta] = x2p(xx, kk, tol)
%
% Identifies the required precision (= 1 / variance^2) to obtain a Gaussian
% kernel with a certain uncertainty for every datapoint. The desired
% uncertainty can be specifie... |
github | jantomec/Matlab-master | EditorMacro.m | .m | Matlab-master/.matlab/utils/EditorMacro.m | 44,535 | utf_8 | f122d01b23833c7a6f52969105d5e749 | function [bindingsList, actionsList] = EditorMacro(keystroke, macro, macroType)
% EditorMacro assigns a macro to a keyboard key-stroke in the Matlab-editor
%
% Syntax:
% [bindingsList, actionsList] = EditorMacro(keystroke, macro, macroType)
% [bindingsList, actionsList] = EditorMacro(bindingsList)
%
% Desc... |
github | jantomec/Matlab-master | timelabel.m | .m | Matlab-master/.matlab/libs/quant/charts/timelabel.m | 1,003 | utf_8 | 7feed49660baef5fc7b318dbfefe2f52 | function timelabel(scaleFix, fmt)
%TIMELABEL Summary of this function goes here
% Detailed explanation goes here
if nargin == 0, scaleFix = true; end
if nargin == 1, fmt = 'HH:MM:SS.FFF'; end
set(datacursormode(get(gca, 'Parent')), 'UpdateFcn', @dateTip);
set(gca, 'UserData', fmt);
... |
github | jantomec/Matlab-master | ticklabelformat.m | .m | Matlab-master/.matlab/libs/quant/charts/ticklabelformat.m | 4,208 | utf_8 | 41bb83c32eae2294b1be28cf6dd26bc1 | function ticklabelformat(hAxes,axName,format)
%TICKLABELFORMAT Sets axis tick labels format
%
% TICKLABELFORMAT enables setting the format of the tick labels
%
% Syntax:
% ticklabelformat(hAxes,axName,format)
%
% Input Parameters:
% hAxes - handle to the modified axes, such as returned by the gca funct... |
github | jantomec/Matlab-master | genhurst.m | .m | Matlab-master/.matlab/libs/quant/utils/genhurst.m | 3,027 | utf_8 | 17cff2d310725d04f4d832fd039c938a | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Calculates the generalized Hurst exponent H(q) from the scaling
% of the renormalized q-moments of the distribution
%
% <|x(t+r)-x(t)|^q>/<x(t)^q> ~ r^[qH(q)]
%
% In a nutshell, this nifty little number H tells us if a time series is a ... |
github | jantomec/Matlab-master | join2matrix.m | .m | Matlab-master/.matlab/libs/quant/utils/join2matrix.m | 792 | utf_8 | ee9919587adeb68c77828e7cf6c70d63 | function z = join2matrix(x,y)
%JOIN2MATRIX Join 2 matrix using 1sts rows as a key
%
% x = [1 2 3 4 6; 11 12 13 14 16; ];
% y = [3 6 7; 23 26 27; ];
% z = join2matrix(x, y)
% z =
%
% 1 2 3 4 6 7
% 11 12 13 14 16 16
% NaN ... |
github | jantomec/Matlab-master | supsmu.m | .m | Matlab-master/.matlab/libs/quant/utils/supsmu.m | 13,562 | utf_8 | a4d533ecfb1116a980895e3666898ef2 | function smo = supsmu(x,y,varargin)
%supsmu: Smoothing of scatterplots using Friedman's supersmoother algorithm.
%
% Syntax:
% Y_SMOOTH = supsmu(X,Y,'PropertyName',PropertyValue,...)
%
% Inputs:
% X, Y are same-length vectors.
%
% Output
% Y_SMOOTH is a smoothed version of Y.
%
% Example,
% x = lin... |
github | jantomec/Matlab-master | retrieveData.m | .m | Matlab-master/.matlab/libs/quant/tester/retrieveData.m | 887 | utf_8 | 705e12178320376fabe4448c2e0dad90 | function S = retrieveData(symbs, from, to, datasource, frame)
if ~iscell(symbs), symbs = {symbs}; end
if nargin < 4, datasource = 'yahoo.a'; end
if nargin < 5, frame = Helper.D; end
% Collect series data
S = struct('Name',[], 'Tm', [], 'Op', [], 'Hi', [], 'Lo', [], 'Cl', [], 'Vo', []);
... |
github | sunspec/prodromos-master | rtwmakecfg.m | .m | prodromos-master/feeder-models/Simulink/Feeder_2/Feeder2_RT_Lab_Model/models/Feeder_2/rtwmakecfg.m | 2,815 | utf_8 | 16b58d91a07c158f3016ba8d1adbf057 | function makeInfo=rtwmakecfg()
%RTWMAKECFG.m adds include and source directories to rtw make files.
% makeInfo=RTWMAKECFG returns a structured array containing
% following field:
% makeInfo.includePath - cell array containing additional include
% directories. Those directories will be
%... |
github | Sundrops/caffe-rgh-master | classification_demo.m | .m | caffe-rgh-master/matlab/demo/classification_demo.m | 5,412 | utf_8 | 8f46deabe6cde287c4759f3bc8b7f819 | function [scores, maxlabel] = classification_demo(im, use_gpu)
% [scores, maxlabel] = classification_demo(im, use_gpu)
%
% Image classification demo using BVLC CaffeNet.
%
% IMPORTANT: before you run this demo, you should download BVLC CaffeNet
% from Model Zoo (http://caffe.berkeleyvision.org/model_zoo.html)
%
% *****... |
github | Sinan81/PSAT-master | fm_spf.m | .m | PSAT-master/psat-mat/psat/fm_spf.m | 12,837 | utf_8 | 1773dd0bb33b536ad45b435eb52d1f03 | function fm_spf
% FM_SPF solve standard power flow by means of the NR method
% and fast decoupled power flow (XB and BX variations)
% with either a single or distributed slack bus model.
%
% FM_SPF
%
%see the properties of the Settings structure for options.
%
%Author: Federico Milano
%Date: 11-Nov-... |
github | Sinan81/PSAT-master | zbuild.m | .m | PSAT-master/psat-mat/psat/zbuild.m | 2,232 | utf_8 | 19b01a90de020a329cd2a597231ecf5a | % This program forms the complex bus impedance matrix by the method
% of building algorithm. Bus zero is taken as reference.
% Copyright (c) 1998 by H. Saadat
%
% Update By s.m. Shariatzadeh For Psat Data Format
function [Zbus] = zbuild(linedata)
nl = linedata(:,1);
nr = linedata(:,2);
R = linedata(:,8);
X = ... |
github | Sinan81/PSAT-master | fm_cpf.m | .m | PSAT-master/psat-mat/psat/fm_cpf.m | 20,934 | utf_8 | 67a099a64227616d14b66c993400bf73 | function lambda_crit = fm_cpf(fun)
% FM_CPF continuation power flow routines for computing nose curves
% and determining critical points (saddle-node bifurcations)
%
% [LAMBDAC] = FM_CPF
%
% LAMBDAC: loading paramter at critical or limit point
%
%see also CPF structure and FM_CPFFIG
%
%Author: Federico ... |
github | Sinan81/PSAT-master | fm_equiv.m | .m | PSAT-master/psat-mat/psat/fm_equiv.m | 9,133 | utf_8 | a08056932461730a6e5193ea2c7daa9e | function check = fm_equiv
% FM_EQUIV computes simple static and dynamic network equivalents
%
%see also the function FM_EQUIVFIG
%
%Author: Federico Milano
%Update: 02-Apr-2008
%Version: 0.1
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
... |
github | Sinan81/PSAT-master | fm_omib.m | .m | PSAT-master/psat-mat/psat/fm_omib.m | 4,162 | utf_8 | a81e5e2bc6cd41fce6a83f298b64f4b2 | function fm_omib
%FM_OMIB computes the equivalent OMIB for a multimachine network and its
% transient stability margin.
%
% see also FM_INT and FM_CONNECTIVITY
%
%Author: Sergio Mora & Federico Milano
%Date: July 2006
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat... |
github | Sinan81/PSAT-master | psed.m | .m | PSAT-master/psat-mat/psat/psed.m | 5,198 | utf_8 | 28f1dea3f0f86d9d7bc4f5e2e3f96903 | function psed(expression,string1,string2,type)
%PSED change strings within files
%
%PSED(EXPRESSION,STRING1,STRING2,TYPE)
% EXPRESSION: regular expression
% STRING1: the string to be changed.
% STRING2: the new string
% TYPE: 1 - change all the occurrence
% 2 - change only Matlab variable typ... |
github | Sinan81/PSAT-master | pgrep.m | .m | PSAT-master/psat-mat/psat/pgrep.m | 4,302 | utf_8 | 103545a4c4eba39f7a95a16bdbdf9512 | function pgrep(expression,string,options)
%PGREP change strings within files
%
%PGREP(EXPRESSION,STRING,TYPE)
% EXPRESSION: regular expression
% STRING: the string to be searched.
% TYPE: 1 - list file names, row number and line text
% 2 - list file names and line text
% 3 - list file n... |
github | Sinan81/PSAT-master | fm_wcall.m | .m | PSAT-master/psat-mat/psat/fm_wcall.m | 11,669 | utf_8 | 24d7c39d37c7d12104faa20b152b1d96 | function fm_wcall
%FM_WCALL writes the function FM_CALL for the component calls.
% and uses the information in Comp.prop for setting
% the right calls. Comp.prop is organized as follows:
% comp(i,:) = [x1 x2 x3 x4 x5 xi x0 xt]
%
% if x1 -> call for algebraic equations
% if x2 -> ... |
github | Sinan81/PSAT-master | fm_linedlg.m | .m | PSAT-master/psat-mat/psat/fm_linedlg.m | 18,525 | utf_8 | bc5ff2655dcc848e320ac75686ab208f | function fm_linedlg(varargin)
%SCRIBELINEDLG Line property dialog helper function for Plot Editor
%
% Copyright 1984-2001 The MathWorks, Inc.
% $Revision: 1.19 $ $Date: 2001/04/15 12:00:41 $
%
%Modified by: Federico Milano
%Date: 11-Nov-2002
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-sit... |
github | Sinan81/PSAT-master | autorun.m | .m | PSAT-master/psat-mat/psat/autorun.m | 4,902 | utf_8 | 20741ef2a2583acd393c076a1e0dc065 | function check = autorun(msg,type)
% AUTORUN properly launch PSAT routine checking for data
% files and previous power flow solutions
%
% CHECK = AUTORUN(MSG)
% MSG message to be displayed
% TYPE 0 for static analysis, 1 for dynamic analysis
% CHECK 1 if everything goes fine, 0 otherw... |
github | Sinan81/PSAT-master | fm_plotsel.m | .m | PSAT-master/psat-mat/psat/fm_plotsel.m | 16,948 | utf_8 | 052ac8e599b640ff0ff06593ef5181f5 | function fig = fm_plotsel(varargin)
% FM_PLOTSEL create GUI to select plotting variables
%
% HDL = FM_PLOTSEL()
%
%Author: Federico Milano
%Date: 21-Dec-2005
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
global Fig Theme... |
github | Sinan81/PSAT-master | fm_axesdlg.m | .m | PSAT-master/psat-mat/psat/fm_axesdlg.m | 39,209 | utf_8 | 86e49074fe6ba75e24c2cc7863f15124 | function fm_axesdlg(varargin)
%SCRIBEAXESDLG Axes property dialog helper function for Plot Editor
% SCRIBEAXESDLG(A) opens axes property dialog for axes A
%
% If the plot editor is active, the SCRIBEAXESDLG edits all
% currently selected axes. Alternatively, SCRIBEAXESDLG(S)
% explicitly passes a selection ... |
github | Sinan81/PSAT-master | runpsat.m | .m | PSAT-master/psat-mat/psat/runpsat.m | 10,540 | utf_8 | 9b670f8311e146f66ea289eefb24aa19 | function runpsat(varargin)
% RUNPSAT run PSAT routine for power system analysis
%
% RUNPSAT([FILE,[PATH]],[PERTFILE,[PERTPATH]],ROUTINE)
%
% FILE: string containing the PSAT data file (can be a
% simulink model)
% PATH: string containing the absolute path of the data
% file (default ... |
github | Sinan81/PSAT-master | fm_dump.m | .m | PSAT-master/psat-mat/psat/fm_dump.m | 1,579 | utf_8 | e82f5e57ff859c7a2cc916e8f07ee9d9 | function fm_dump
% FM_DUMP dump the current data file to a file
%
%Author: Federico Milano
%Date: 28-Nov-2008
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
fm_var
filename = [fm_filenum('m'), '.m'];
[fid,msg] = fopen([P... |
github | Sinan81/PSAT-master | fm_laprint.m | .m | PSAT-master/psat-mat/psat/fm_laprint.m | 67,335 | utf_8 | 9f22107ad64af26a59a85b5285887c81 | function fm_laprint(figno,filename,varargin)
%FM_LAPRINT prints a figure for inclusion in LaTeX documents.
% It creates an eps-file and a tex-file. The tex-file contains the
% annotation of the figure such as titles, labels and texts. The
% eps-file contains the non-text part of the figure as well as the
% positio... |
github | Sinan81/PSAT-master | fm_writexls.m | .m | PSAT-master/psat-mat/psat/fm_writexls.m | 6,451 | utf_8 | d360fea56202b900aa531d108d3cf13d | function fm_writexls(Matrix,Header,Cols,Rows,File)
% FM_WRITEXLS export PSAT results to an Microsoft Excel
% spreadsheet using Matlab ActiveX interface.
% Microsoft Excel is required.
%
% This function is based on xlswrite.m by Scott Hirsch
%
% FM_WRITEXLS(MATRIX,HEDAER,COLNAMES,ROWN... |
github | Sinan81/PSAT-master | fm_stat.m | .m | PSAT-master/psat-mat/psat/fm_stat.m | 25,703 | utf_8 | 0f115765ed53c6cedf9b89e96c923f29 | function fig = fm_stat(varargin)
% FM_STAT create GUI for power flow reports
%
% HDL = FM_STAT(VARARGIN)
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Update: 24-Aug-2003
%Version: 2.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
... |
github | Sinan81/PSAT-master | fm_save.m | .m | PSAT-master/psat-mat/psat/fm_save.m | 2,769 | utf_8 | a1510ea9eb17a263a21ac823d3a4bd19 | function fm_save(Comp)
% FM_SAVE save UDM to file
%
% FM_SAVE uses the component name COMP.NAME as file name
% and creates a Matlab script.
% The file is saved in the folder ./psat/build
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Update: 15-Sep-2003
%Version: 2.0.0
%
%E-mail: federico.milano@ucd.ie
... |
github | Sinan81/PSAT-master | fm_eigen.m | .m | PSAT-master/psat-mat/psat/fm_eigen.m | 16,922 | utf_8 | 43a24149470c1302d6449a211bb3ffe3 | function fm_eigen(type)
% FM_EIGEN compute eigenvalues of static and dynamic Jacobian
% matrices
%
% FM_EIGEN(TYPE,REPORT)
% TYPE 1 -> Jlfd eigenvalues
% 2 -> Jlfv eigenvalues
% 3 -> Jlf eigenvalues
% 4 -> As eigenvalues
% REPORT 1 -> create report... |
github | Sinan81/PSAT-master | fm_simrep.m | .m | PSAT-master/psat-mat/psat/fm_simrep.m | 23,427 | utf_8 | 902e764e0854968920998718af1cbb65 | function fm_simrep(varargin)
% FM_SIMREP generate data report in Simulink models
%
% FM_SIMREP(FLAG,FONTSIZE,FONTNAME)
% FLAG: 1 - set up voltage report on current loaded network
% 2 - wipe voltage report on current loaded network
% 3 - set up power flows on current loaded network
% ... |
github | Sinan81/PSAT-master | fm_view.m | .m | PSAT-master/psat-mat/psat/fm_view.m | 2,815 | utf_8 | 8c93d49685f3302ab0c2561bf8b30aa0 | function fm_view(flag)
% FM_VIEW functions for matrix visualizations
%
% FM_VIEW(FLAG)
% FLAG matrix visualization type
%
%see also FM_MATRX
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019... |
github | Sinan81/PSAT-master | fm_int.m | .m | PSAT-master/psat-mat/psat/fm_int.m | 10,770 | utf_8 | ce704b5a7845bdb55770782dfcf0b565 | function fm_int
% FM_INT time domain integration routines:
% 1 - Forward Euler
% 2 - Trapezoidal Method
%
% FM_INT
%
%see also FM_TSTEP, FM_OUT and the Settings structure
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Update: 16-Jan-2003
%Update: 27-Feb-2003
%Update: 01-Aug-2003
%Update: ... |
github | Sinan81/PSAT-master | fm_writetex.m | .m | PSAT-master/psat-mat/psat/fm_writetex.m | 5,097 | utf_8 | 2a8467ad574f2e808e3e851821c9a981 | function fm_writetex(Matrix,Header,Cols,Rows,File)
% FM_WRITETEX export PSAT results in LaTeX2e format.
%
% FM_WRITETEX(MATRIX,HEDAER,COLNAMES,ROWNAMES,FILENAME)
%
% MATRIX Matrix to write to file
% Cell array for multiple matrices.
% HEADER String of header information.
% Cell... |
github | Sinan81/PSAT-master | fm_threed.m | .m | PSAT-master/psat-mat/psat/fm_threed.m | 11,096 | utf_8 | a9f48ea419066334caf6e7e619ec2e0b | function varargout = fm_threed(varargin)
% FM_THREED create GUI for network visualisations
%
% HDL = FM_THREED()
%
%Author: Federico Milano
%Date: 21-Aug-2007
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
global Settings... |
github | Sinan81/PSAT-master | fm_dirset.m | .m | PSAT-master/psat-mat/psat/fm_dirset.m | 30,919 | utf_8 | 5fd21968fdac71735d7ea592d1e51a8e | function varargout = fm_dirset(type)
% FM_DIRSET define settings and actions for the data format
% conversion GUI
%
% FM_DIRSET(TYPE)
% TYPE action indentifier
%
%see also FM_DIR
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Update: 05-Jul-2003
%Update: 31-Jul-2003
%Update: 07-Oct-2003
... |
github | Sinan81/PSAT-master | fm_input.m | .m | PSAT-master/psat-mat/psat/fm_input.m | 13,124 | utf_8 | a4a7b367ecb64f3f86fd6e1ea1f62c27 | function Answer = fm_input(Prompt, Title, NumLines, DefAns,Resize)
%INPUTDLG Input dialog box.
% Answer = INPUTDLG(Prompt) creates a modal dialog box that returns
% user input for multiple prompts in the cell array Answer. Prompt
% is a cell array containing the Prompt strings.
%
% INPUTDLG uses WAITFOR to suspend... |
github | Sinan81/PSAT-master | zbuildpi.m | .m | PSAT-master/psat-mat/psat/zbuildpi.m | 3,207 | utf_8 | 77e32ffc8651729d7ba2a3fb4c88cb6c | % This program forms the complex bus impedance matrix by the method
% of building algorithm. Bus zero is taken as reference.
% This program is compatible with power flow data.
% Copyright (C) 1998 by H. Saadat.
function [Zbus, linedata] = zbuildpi(linedata, gendata, yload)
% gendata generator data syn.con
ng = len... |
github | Sinan81/PSAT-master | fm_gams.m | .m | PSAT-master/psat-mat/psat/fm_gams.m | 44,661 | utf_8 | 29b7edaa35e48dc8aa6c2013171a86be | function fm_gams
% FM_GAMS initialize and call GAMS to solve
% several kind of Market Clearing Mechanisms
%
% FM_GAMS
%
%GAMS settings are stored in the structure GAMS, with
%the following fields:
%
% METHOD 1 -> simple auction
% 2 -> linear OPF (DC power flow)
% 3 -> nonlinea... |
github | Sinan81/PSAT-master | fm_build.m | .m | PSAT-master/psat-mat/psat/fm_build.m | 25,468 | utf_8 | 688cdaed0380b34975aab856abfbaf9e | function fm_build
%FM_BUILD build new component functions (Symbolic Toolbox is needed)
%
%FM_BUILD
%
%see also FM_MAKE FM_COMPONENT
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Update: 19-Dec-2003
%Version: 1.0.1
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C)... |
github | Sinan81/PSAT-master | symfault.m | .m | PSAT-master/psat-mat/psat/symfault.m | 4,578 | utf_8 | 7a0f660fadb898109463adb029ac24ae | % The program symfault is designed for the balanced three-phase
% fault analysis of a power system network. The program requires
% the bus impedance matrix Zbus. Zbus may be defined by the
% user, obtained by the inversion of Ybus or it may be
% determined either from the function Zbus = zbuild(zdata)
% or the function... |
github | Sinan81/PSAT-master | fm_plot.m | .m | PSAT-master/psat-mat/psat/fm_plot.m | 29,891 | utf_8 | e2aeca5f9c574ad045538279e9f72007 | function fm_plot(flag)
% FM_PLOT plot results of Continuation Power Flow,
% Optimal Power Flow and Time Domain
% Simulations.
%
% FM_PLOT(FLAG)
% FLAG 0 -> create variable list
% 1 -> plot selected variables
% 2 -> save graph
% 3 -> set layout
%
%Author: Federico Milano... |
github | Sinan81/PSAT-master | fm_uwfig.m | .m | PSAT-master/psat-mat/psat/fm_uwfig.m | 36,174 | utf_8 | e21245f8662dfac8f223c8e9980016a2 | function fig = fm_uwfig(varargin)
% FM_UWFIG create GUI for PSAT/UWPFLOW interface.
%
% FIG = FM_UWFIG
%
%see UWPFLOW structure for settings
%
%Author: Federico Milano
%Date: 31-Mar-2003
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Fede... |
github | Sinan81/PSAT-master | sim2psat.m | .m | PSAT-master/psat-mat/psat/filters/sim2psat.m | 29,948 | utf_8 | eaf79c62c1825a9a71b6f65fe0cb7b15 | function check_model = sim2psat(varargin)
% SIM2PSAT convert Simulink models into PSAT data files
%
% CHECK = SIM2PSAT
% CHECK = 0 conversion failed
% CHECK = 1 conversion completed
%
%see also FM_LIB, FM_SIMREP, FM_SIMSET
%
%Author: Federico Milano
%Date: 01-Jan-2006
%
%E-mail: federico.milano@... |
github | Sinan81/PSAT-master | psat2epri.m | .m | PSAT-master/psat-mat/psat/filters/psat2epri.m | 9,998 | utf_8 | 41d11211dc3adce16c04643c65971fdc | function check = psat2epri(filename, pathname)
% PSAT2EPRI converts PSAT data file into EPRI Data Format
%
% CHECK = PSAT2EPRI(FILENAME,PATHNAME)
% FILENAME name of the file to be converted
% PATHNAME path of the file to be converted
%
% CHECK = 1 conversion completed
% CHECK = 0 problem encount... |
github | Sinan81/PSAT-master | fm_spf.m | .m | PSAT-master/psat-oct/psat/fm_spf.m | 12,912 | utf_8 | 54e27550e51d0eb7a495b4191e701a8d | function fm_spf
% FM_SPF solve standard power flow by means of the NR method
% and fast decoupled power flow (XB and BX variations)
% with either a single or distributed slack bus model.
%
% FM_SPF
%
%see the properties of the Settings structure for options.
%
%Author: Federico Milano
%Date: 11-Nov-... |
github | Sinan81/PSAT-master | zbuild.m | .m | PSAT-master/psat-oct/psat/zbuild.m | 2,232 | utf_8 | 19b01a90de020a329cd2a597231ecf5a | % This program forms the complex bus impedance matrix by the method
% of building algorithm. Bus zero is taken as reference.
% Copyright (c) 1998 by H. Saadat
%
% Update By s.m. Shariatzadeh For Psat Data Format
function [Zbus] = zbuild(linedata)
nl = linedata(:,1);
nr = linedata(:,2);
R = linedata(:,8);
X = ... |
github | Sinan81/PSAT-master | fm_cpf.m | .m | PSAT-master/psat-oct/psat/fm_cpf.m | 21,292 | utf_8 | 7609245ef32db6f92230691609da6df6 | function lambda_crit = fm_cpf(fun)
% FM_CPF continuation power flow routines for computing nose curves
% and determining critical points (saddle-node bifurcations)
%
% [LAMBDAC] = FM_CPF
%
% LAMBDAC: loading paramter at critical or limit point
%
%see also CPF structure and FM_CPFFIG
%
%Author: Federico ... |
github | Sinan81/PSAT-master | fm_equiv.m | .m | PSAT-master/psat-oct/psat/fm_equiv.m | 9,242 | utf_8 | 67b053d39752e31aec4b900979ed8caf | function check = fm_equiv
% FM_EQUIV computes simple static and dynamic network equivalents
%
%see also the function FM_EQUIVFIG
%
%Author: Federico Milano
%Update: 02-Apr-2008
%Version: 0.1
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
... |
github | Sinan81/PSAT-master | fm_omib.m | .m | PSAT-master/psat-oct/psat/fm_omib.m | 4,194 | utf_8 | 1348cdbb3b301d810cbdf9f800d9081c | function fm_omib
%FM_OMIB computes the equivalent OMIB for a multimachine network and its
% transient stability margin.
%
% see also FM_INT and FM_CONNECTIVITY
%
%Author: Sergio Mora & Federico Milano
%Date: July 2006
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat... |
github | Sinan81/PSAT-master | psed.m | .m | PSAT-master/psat-oct/psat/psed.m | 5,198 | utf_8 | 28f1dea3f0f86d9d7bc4f5e2e3f96903 | function psed(expression,string1,string2,type)
%PSED change strings within files
%
%PSED(EXPRESSION,STRING1,STRING2,TYPE)
% EXPRESSION: regular expression
% STRING1: the string to be changed.
% STRING2: the new string
% TYPE: 1 - change all the occurrence
% 2 - change only Matlab variable typ... |
github | Sinan81/PSAT-master | pgrep.m | .m | PSAT-master/psat-oct/psat/pgrep.m | 4,302 | utf_8 | 103545a4c4eba39f7a95a16bdbdf9512 | function pgrep(expression,string,options)
%PGREP change strings within files
%
%PGREP(EXPRESSION,STRING,TYPE)
% EXPRESSION: regular expression
% STRING: the string to be searched.
% TYPE: 1 - list file names, row number and line text
% 2 - list file names and line text
% 3 - list file n... |
github | Sinan81/PSAT-master | fm_wcall.m | .m | PSAT-master/psat-oct/psat/fm_wcall.m | 11,692 | utf_8 | eb62bbc13514e68d2e735f51afdf750f | function fm_wcall
%FM_WCALL writes the function FM_CALL for the component calls.
% and uses the information in Comp.prop for setting
% the right calls. Comp.prop is organized as follows:
% comp(i,:) = [x1 x2 x3 x4 x5 xi x0 xt]
%
% if x1 -> call for algebraic equations
% if x2 -> ... |
github | Sinan81/PSAT-master | fm_linedlg.m | .m | PSAT-master/psat-oct/psat/fm_linedlg.m | 18,525 | utf_8 | bc5ff2655dcc848e320ac75686ab208f | function fm_linedlg(varargin)
%SCRIBELINEDLG Line property dialog helper function for Plot Editor
%
% Copyright 1984-2001 The MathWorks, Inc.
% $Revision: 1.19 $ $Date: 2001/04/15 12:00:41 $
%
%Modified by: Federico Milano
%Date: 11-Nov-2002
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-sit... |
github | Sinan81/PSAT-master | autorun.m | .m | PSAT-master/psat-oct/psat/autorun.m | 4,902 | utf_8 | 20741ef2a2583acd393c076a1e0dc065 | function check = autorun(msg,type)
% AUTORUN properly launch PSAT routine checking for data
% files and previous power flow solutions
%
% CHECK = AUTORUN(MSG)
% MSG message to be displayed
% TYPE 0 for static analysis, 1 for dynamic analysis
% CHECK 1 if everything goes fine, 0 otherw... |
github | Sinan81/PSAT-master | fm_plotsel.m | .m | PSAT-master/psat-oct/psat/fm_plotsel.m | 16,976 | utf_8 | 835ea3c5df4a248947daa36694e2f9d8 | function fig = fm_plotsel(varargin)
% FM_PLOTSEL create GUI to select plotting variables
%
% HDL = FM_PLOTSEL()
%
%Author: Federico Milano
%Date: 21-Dec-2005
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
global Fig Theme... |
github | Sinan81/PSAT-master | fm_axesdlg.m | .m | PSAT-master/psat-oct/psat/fm_axesdlg.m | 39,209 | utf_8 | 86e49074fe6ba75e24c2cc7863f15124 | function fm_axesdlg(varargin)
%SCRIBEAXESDLG Axes property dialog helper function for Plot Editor
% SCRIBEAXESDLG(A) opens axes property dialog for axes A
%
% If the plot editor is active, the SCRIBEAXESDLG edits all
% currently selected axes. Alternatively, SCRIBEAXESDLG(S)
% explicitly passes a selection ... |
github | Sinan81/PSAT-master | runpsat.m | .m | PSAT-master/psat-oct/psat/runpsat.m | 10,545 | utf_8 | 6d79193e3e1dfd944a1732b17a3c9d9d | function runpsat(varargin)
% RUNPSAT run PSAT routine for power system analysis
%
% RUNPSAT([FILE,[PATH]],[PERTFILE,[PERTPATH]],ROUTINE)
%
% FILE: string containing the PSAT data file (can be a
% simulink model)
% PATH: string containing the absolute path of the data
% file (default ... |
github | Sinan81/PSAT-master | fm_dump.m | .m | PSAT-master/psat-oct/psat/fm_dump.m | 1,579 | utf_8 | e82f5e57ff859c7a2cc916e8f07ee9d9 | function fm_dump
% FM_DUMP dump the current data file to a file
%
%Author: Federico Milano
%Date: 28-Nov-2008
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
fm_var
filename = [fm_filenum('m'), '.m'];
[fid,msg] = fopen([P... |
github | Sinan81/PSAT-master | fm_laprint.m | .m | PSAT-master/psat-oct/psat/fm_laprint.m | 67,335 | utf_8 | 9f22107ad64af26a59a85b5285887c81 | function fm_laprint(figno,filename,varargin)
%FM_LAPRINT prints a figure for inclusion in LaTeX documents.
% It creates an eps-file and a tex-file. The tex-file contains the
% annotation of the figure such as titles, labels and texts. The
% eps-file contains the non-text part of the figure as well as the
% positio... |
github | Sinan81/PSAT-master | fm_writexls.m | .m | PSAT-master/psat-oct/psat/fm_writexls.m | 6,451 | utf_8 | d360fea56202b900aa531d108d3cf13d | function fm_writexls(Matrix,Header,Cols,Rows,File)
% FM_WRITEXLS export PSAT results to an Microsoft Excel
% spreadsheet using Matlab ActiveX interface.
% Microsoft Excel is required.
%
% This function is based on xlswrite.m by Scott Hirsch
%
% FM_WRITEXLS(MATRIX,HEDAER,COLNAMES,ROWN... |
github | Sinan81/PSAT-master | fm_stat.m | .m | PSAT-master/psat-oct/psat/fm_stat.m | 25,747 | utf_8 | 61c73c2b4a3210fe8b88a7ba2641f1ba | function fig = fm_stat(varargin)
% FM_STAT create GUI for power flow reports
%
% HDL = FM_STAT(VARARGIN)
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Update: 24-Aug-2003
%Version: 2.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
... |
github | Sinan81/PSAT-master | fm_save.m | .m | PSAT-master/psat-oct/psat/fm_save.m | 2,769 | utf_8 | a1510ea9eb17a263a21ac823d3a4bd19 | function fm_save(Comp)
% FM_SAVE save UDM to file
%
% FM_SAVE uses the component name COMP.NAME as file name
% and creates a Matlab script.
% The file is saved in the folder ./psat/build
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Update: 15-Sep-2003
%Version: 2.0.0
%
%E-mail: federico.milano@ucd.ie
... |
github | Sinan81/PSAT-master | fm_eigen.m | .m | PSAT-master/psat-oct/psat/fm_eigen.m | 16,954 | utf_8 | aa0ebcea776cfef3638414003a5d7782 | function fm_eigen(type)
% FM_EIGEN compute eigenvalues of static and dynamic Jacobian
% matrices
%
% FM_EIGEN(TYPE,REPORT)
% TYPE 1 -> Jlfd eigenvalues
% 2 -> Jlfv eigenvalues
% 3 -> Jlf eigenvalues
% 4 -> As eigenvalues
% REPORT 1 -> create report... |
github | Sinan81/PSAT-master | fm_simrep.m | .m | PSAT-master/psat-oct/psat/fm_simrep.m | 23,494 | utf_8 | 366e4a9529c94d9e4a3f77afe3de53db | function fm_simrep(varargin)
% FM_SIMREP generate data report in Simulink models
%
% FM_SIMREP(FLAG,FONTSIZE,FONTNAME)
% FLAG: 1 - set up voltage report on current loaded network
% 2 - wipe voltage report on current loaded network
% 3 - set up power flows on current loaded network
% ... |
github | Sinan81/PSAT-master | fm_view.m | .m | PSAT-master/psat-oct/psat/fm_view.m | 2,820 | utf_8 | c358f5ce2a57ece7f7b1352a891545bc | function fm_view(flag)
% FM_VIEW functions for matrix visualizations
%
% FM_VIEW(FLAG)
% FLAG matrix visualization type
%
%see also FM_MATRX
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019... |
github | Sinan81/PSAT-master | fm_int.m | .m | PSAT-master/psat-oct/psat/fm_int.m | 10,809 | utf_8 | 443bd8a1f81900e735f551ea9393566f | function fm_int
% FM_INT time domain integration routines:
% 1 - Forward Euler
% 2 - Trapezoidal Method
%
% FM_INT
%
%see also FM_TSTEP, FM_OUT and the Settings structure
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Update: 16-Jan-2003
%Update: 27-Feb-2003
%Update: 01-Aug-2003
%Update: ... |
github | Sinan81/PSAT-master | fm_writetex.m | .m | PSAT-master/psat-oct/psat/fm_writetex.m | 5,097 | utf_8 | 2a8467ad574f2e808e3e851821c9a981 | function fm_writetex(Matrix,Header,Cols,Rows,File)
% FM_WRITETEX export PSAT results in LaTeX2e format.
%
% FM_WRITETEX(MATRIX,HEDAER,COLNAMES,ROWNAMES,FILENAME)
%
% MATRIX Matrix to write to file
% Cell array for multiple matrices.
% HEADER String of header information.
% Cell... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.