pwrs.corex.io._pypower#
PYPOWER mapping conversion.
- pwrs.corex.io._pypower.from_pypower(ppc)[source]#
Convert and validate a PYPOWER-style case dictionary.
- Parameters:
ppc (Mapping[str, Any])
- Return type:
- pwrs.corex.io._pypower.to_pypower(case)[source]#
Return an independent PYPOWER-style case dictionary.
- Parameters:
case (MatpowerCase | Mapping[str, Any])
- Return type:
dict[str, Any]