JUK1
QPpassive.m File Reference

Go to the source code of this file.

Functions

bw, SERA, SERC, SERD, SERE, s, weightflag,... % auxflag, weightfactor, SERAsub, SERCsub, s2, s3, TOL QPpassive ()
 

Variables

 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 '
 

Function Documentation

◆ QPpassive()

bw,SERA,SERC,SERD,SERE,s,weightflag,... % auxflag,weightfactor,SERAsub,SERCsub,s2,s3,TOL QPpassive ( )
virtual

Variable Documentation

◆ __pad0__

PURPOSE __pad0__

Definition at line 17 of file QPpassive.m.

◆ auxflag

common weighting for all matrix elements relative to the total weighting of samples in the fitting range Is only used if 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.

◆ D

PURPOSE j D
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: QPpassive.m:47
hold on
Definition: comp.m:11

Definition at line 29 of file QPpassive.m.

◆ elements

common weighting for all matrix elements =5 --> weight=1/norm(Yw)

Definition at line 46 of file QPpassive.m.

◆ 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

Definition at line 78 of file QPpassive.m.

◆ freq

PURPOSE j at all freq =2 --> weight=1/sqrt(abs(Yijw))

Definition at line 43 of file QPpassive.m.

◆ function

function[SERCsubnew, SERDnew]
Initial value:
=...
QPpassive(bw,SERA,SERC,SERD,SERE,s,weightflag,...
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
Definition: QPpassive.m:49
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

Definition at line 80 of file QPpassive.m.

◆ m

PURPOSE j m
Initial value:
=1 (s-SERAm)
%
% 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

Definition at line 81 of file QPpassive.m.

◆ solver

solver ='cplex '

Definition at line 98 of file QPpassive.m.

◆ 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

Definition at line 80 of file QPpassive.m.

◆ 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

Definition at line 81 of file QPpassive.m.

◆ weighting

indvidual element weighting =3 --> weight=1/abs(Yijw)

Definition at line 44 of file QPpassive.m.