Model.alter#
- Model.alter(src, idx, value)[source]#
Alter input parameter or service values.
If operates on a parameter, the input should be in the same base as that in the input file. This function will convert the new value to system-base per unit.
- Parameters
- srcstr
The parameter name to alter
- idxstr, float, int
The device to alter
- valuefloat
The desired value