rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
PowerIteration.m
1 classdef PowerIteration < ARE.GammaCalculation.GammaCalculatorInterface
2  % Perform a power itertion for the calculation of gamma
3 
4  methods
5  function data = gen_detailed_data(this, model, model_data)
6  end
7  function data = gen_reduced_data(this, model, model_data)
8  end
9  function g = calculate(this, model, model_data, dsim)
10  g = -1;
11  [E,A,B,C,Q,R] = model.assemble(model_data);
12  Y = A - sparse(B*inv(R)*B'*dsim.Z*dsim.Z'*E);
13  [L,U] = lu(Y);
14 
15  end
16  end
17 end
BASE Basis class for the preparation and calculation of gamma Any subclass should also overwrite the...
Implementation of the parametric algebraic Riccati equation.