altdss.common
#
Module Contents#
Classes#
Edit is a helper class that makes block-editing DSS properties easier. It supports instances for the new Obj and Batch APIs. |
|
If you see this class somewhere, such as a traceback, it means that the related (parent) bus was invalidated by an operation in the DSS engine. This could be a “clear” command, destruction of the DSSContext where the buses lived, or a redefinition of the circuit buses. |
|
If you see this class somewhere, such as a traceback, it means that the related (parent) object was invalidated by an operation in the DSS engine. This could be a “clear” command, or destruction of the DSSContext where the objects lived. |
Data#
API#
- class altdss.common.Edit(obj_or_batch, num_changes=1, needs_begin=True)#
Edit is a helper class that makes block-editing DSS properties easier. It supports instances for the new Obj and Batch APIs.
- __enter__()#
- __exit__(exc_type, exc_val, exc_tb)#
- __init__(obj_or_batch, num_changes=1, needs_begin=True)#
num_changes
is required for a few classes to correctly match the official OpenDSS behavior and must be the number of properties modified in the current editing block. As of DSS C-API v0.13, this is only required for the Monitor class, when theAction
property is used with theProcess
value.
- altdss.common.InvalidatedBus#
‘InvalidatedDSSBus(…)’
- class altdss.common.InvalidatedDSSBus#
If you see this class somewhere, such as a traceback, it means that the related (parent) bus was invalidated by an operation in the DSS engine. This could be a “clear” command, destruction of the DSSContext where the buses lived, or a redefinition of the circuit buses.
- class altdss.common.InvalidatedDSSObject#
If you see this class somewhere, such as a traceback, it means that the related (parent) object was invalidated by an operation in the DSS engine. This could be a “clear” command, or destruction of the DSSContext where the objects lived.
- altdss.common.InvalidatedObject#
‘InvalidatedDSSObject(…)’