Go to the source code of this file.
|
| bw, SERA, SERC, SERD, SERE, s, weightflag,... % auxflag, weightfactor, SERAsub, SERCsub, s2, s3, TOL | QPpassive () |
| |
|
| | function [SERCsubnew, SERDnew] |
| |
| PURPOSE | __pad0__ |
| |
| PURPOSE j | m |
| |
| PURPOSE j | D |
| |
| PURPOSE j at all | freq =2 --> weight=1/sqrt(abs(Yijw)) |
| |
| indvidual element | weighting =3 --> weight=1/abs(Yijw) |
| |
| common weighting for all matrix | elements =5 --> weight=1/norm(Yw) |
| |
| common weighting for all matrix elements | auxflag |
| |
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the | following |
| |
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the Enforcing Passivity for Admittance Matrices *Approximated by Rational | Functions |
| |
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the Enforcing Passivity for Admittance Matrices *Approximated by Rational IEEE Trans Power | Systems |
| |
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the Enforcing Passivity for Admittance Matrices *Approximated by Rational IEEE Trans Power * | vol |
| |
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the Enforcing Passivity for Admittance Matrices *Approximated by Rational IEEE Trans Power | no |
| |
| | solver ='cplex ' |
| |
◆ QPpassive()
| bw,SERA,SERC,SERD,SERE,s,weightflag,... % auxflag,weightfactor,SERAsub,SERCsub,s2,s3,TOL QPpassive |
( |
| ) |
|
|
virtual |
◆ __pad0__
◆ auxflag
Initial value:=1 --> Routine inserts additional samples for LS problem outside the
% fitting range. One sample at each pole location (SERAsub).
%
% weightfactor : Factor defining the total weighting of additional samples outside
% the fitting range
Definition at line 49 of file QPpassive.m.
Initial value:=1 --> will modify
elements on diagonal plus 1 band
on each side |1 0 1 2|
% =2 --> will modify
elements on diagonal plus 2 bands
on each side |2 1 0 1|
% etc.. |3 2 1 0|
% -----------------------------------------------------------------------------------
% LEAST SQUARES PART:
%
% SERA(N,1) : Poles
% SERC(Nc,Nc,N) : Residues
% SERD(Nc,Nc) : Constant term
% SERE(Nc,Nc) : Capacitive term
%
% s(1,Ns) : Frequency samples (jw [rad/sec])
%
% weightflag=1 --> weight=1 for all elements in Least Squares problem
common weighting for all matrix elements
Definition at line 29 of file QPpassive.m.
◆ elements
◆ following
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the following |
◆ freq
| PURPOSE j at all freq =2 --> weight=1/sqrt(abs(Yijw)) |
◆ function
| function[SERCsubnew, SERDnew] |
Initial value:=...
auxflag,weightfactor,SERAsub,SERCsub,s2,s3,TOL)
bw, SERA, SERC, SERD, SERE, s, weightflag,... % auxflag, weightfactor, SERAsub, SERCsub, s2, s3, TOL QPpassive()
common weighting for all matrix elements auxflag
Turn this into a with identical frequencies along the rows s
Definition at line 1 of file QPpassive.m.
◆ Functions
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the Enforcing Passivity for Admittance Matrices* Approximated by Rational Functions |
Initial value:
%
% to enforce passivity at given frequency samples.
%
% =================================================
% INPUT :
% =================================================
%
% bw =0 --> Will modify elements on the diagonal of Rm
Definition at line 21 of file QPpassive.m.
◆ no
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the Enforcing Passivity for Admittance Matrices* Approximated by Rational IEEE Trans Power no |
◆ solver
◆ Systems
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the Enforcing Passivity for Admittance Matrices* Approximated by Rational IEEE Trans Power Systems |
◆ vol
| common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if then reference should be made to the Enforcing Passivity for Admittance Matrices* Approximated by Rational IEEE Trans Power * vol |
◆ weighting
| indvidual element weighting =3 --> weight=1/abs(Yijw) |