Used to set and retrieve a PYPOWER options vector.
opt = ppoption() returns the default options vector
opt = ppoption(NAME1=VALUE1, NAME2=VALUE2, ...) returns
the default options vector with new values for the specified options,
NAME# is the name of an option, and VALUE# is the new value.
opt = ppoption(OPT, NAME1=VALUE1, NAME2=VALUE2, ...) same
as above except it uses the options vector OPT as a base instead of the
default options vector.
Examples:
opt = ppoption(PF_ALG=2, PF_TOL=1e-4);
opt = ppoption(opt, OPF_ALG=565, VERBOSE=2)
- Authors:
-
Ray Zimmerman (PSERC Cornell),
Richard Lincoln
|