62 this =
this@models.BaseFullModel;
71 this.
Name=
" RC Ladder circuit model ";
76 this.
SaveTag= sprintf(
" rcladder_d%d_T%g ",dims,this.
T);
79 this.
System= models.circ.RCLadderSys(
this);
86 app = approx.KernelApprox(this.
System);
87 a = approx.algorithms.VKOGA;
89 a.MaxAbsResidualErr= 1e-3;
90 ec = kernels.config.ExpansionConfig;
91 ec.StateConfig= kernels.config.GaussConfig(
" D ",.3:.1:2);
95 t = data.selection.TimeSelector;
97 app.TrainDataSelector=
t;
100 s = spacereduction.PODReducer;
106 s = solvers.SemiImplicitEuler(
this);
116 #if 0 //mtoc++: 'set.Dims'
117 function
Dims(value) {
119 error(" value must be a positive
integer scalar ");
130 m = models.circ.RCLadder(100);
132 [
t,y,~,x] = m.simulate([], 2);
141 if ~isa(
this,
" models.circ.RCLadder ")
143 this = models.circ.RCLadder(s.Dims);
145 this =
loadobj@models.BaseFullModel(
this, s);
147 this =
loadobj@models.BaseFullModel(
this);
char Name
The name of the Model.
error.BaseEstimator ErrorEstimator
The associated error estimator for this model.
The base class for any KerMor detailed model.
double dt
The desired time-stepsize for simulations.
integer TrainingInputs
The indices of inputs to use for training data generation. Uses the DefaultInput if not set (and Defa...
sampling.BaseSampler Sampler
The sampling strategy the Model uses.
models.BaseFirstOrderSystem System
The actual dynamical system used in the model.
static function test_RCLadderModel()
function registerProps(varargin)
Call this method at any class that defines DPCM observed properties.
double tau
Time scaling factor .
solvers.BaseSolver ODESolver
The solver to use for the ODE. Must be an instance of any solvers.BaseSolver subclass.
approx.BaseApprox Approx
The approximation method for the CoreFunction.
double T
The final timestep up to which to simulate.
data.ModelData Data
The full model's data container. Defaults to an empty container.
spacereduction.BaseSpaceReducer SpaceReducer
The reduction algorithm for subspaces.
ModelData(varargin)
Creates a new container for large full model data.
function res = isposintscalar(value)
isposintscalar: Backwards-compatibility function for matlab versions greater than 2012a ...
static function this = loadobj()
Dims
The target dimension of the RC ladder circuit.
char SaveTag
A custom tag that can be used as a prefix to files for corresponding model identification.
RCLadder: Model of a nonlinear resistor with independent current source.