Package jline.api.da
Class Da_fpi
java.lang.Object
jline.api.da.Da_fpi
Generic damped successive-substitution driver for decomposition-aggregation
(DA) fixed-point iterations. Each call to the sweep performs one DA pass:
solve the isolated submodels given the current coupling iterate x, exchange
flows or rates, and return the updated iterate together with the comparison
baseline for the convergence test.
Mirrors matlab/src/api/da/da_fpi.m.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDamped update(1 - omega) * xref + omega * xnew(MATLAB config.da_damping).static interfaceConvergence measure between the updated iterate and the baseline.static final classDriver options.static final classFinal iterate, sweeps executed, and convergence flag.static interfaceOne DA sweep from iterate x at sweep count it.static final classPair returned by a sweep: updated iterate and comparison baseline. -
Method Summary
Modifier and TypeMethodDescriptionstatic Da_fpi.Blend<double[]>Damped blend(1 - omega) * xref + omega * xnewfor double[] iterates.static Da_fpi.Norm<double[]>Max absolute elementwise difference norm for double[] iterates.static <T> Da_fpi.Result<T>run(Da_fpi.Sweep<T> sweep, T x0, Da_fpi.Options<T> options) Drive the fixed point by successive substitution.
-
Method Details
-
run
Drive the fixed point by successive substitution. -
linearBlend
Damped blend(1 - omega) * xref + omega * xnewfor double[] iterates. -
maxAbsDiff
Max absolute elementwise difference norm for double[] iterates.
-