mp.task_shared_legacy
- class mp.task_shared_legacy
Bases:
handlemp.task_shared_legacy- Shared legacy task functionality.Provides legacy task functionality shared across different tasks (e.g. PF, CPF, OPF), specifically, the pre-processing of input data for the experimental system-wide ZIP load data.
- mp.task_pf Methods:
run_pre_legacy()- handle experimental system-wide ZIP load inputs
See also
mp.task.- Method Summary
- run_pre_legacy(d, mpopt)
Handle experimental system-wide ZIP load inputs.
[d, mpopt] = task.run_pre_legacy(d, mpopt)
- Inputs:
d – data source specification, currently assumed to be a MATPOWER case name or case struct (
mpc), or data model objectmpopt (struct) – MATPOWER options struct
- Outputs:
d – updated value of corresponding input
mpopt (struct) – updated value of corresponding input
Moves the legacy experimental system-wide ZIP load data from
mpopt.exp.sys_wide_zip_loadstod.sys_wide_zip_loadsto make it available to the data model converter (mp.dmce_load_mpc2).Called by
run_pre().