case class CIMTopologyOptions(identify_islands: Boolean = false, force_retain_switches: State = Unforced, force_retain_fuses: State = Unforced, force_switch_separate_islands: State = Unforced, force_fuse_separate_islands: State = Unforced, default_switch_open_state: Boolean = false, debug: Boolean = false, storage: StorageLevel = StorageLevel.MEMORY_AND_DISK_SER) extends Product with Serializable
Topological processing options.
This class determines the behaviour of the CIMNetworkTopologyProcessor.
- identify_islands
When
true, topological islands are identified in addition to topological nodes. That is,TopologicalNodeobjects generated by the processor will have a validTopologicalIslandattributes that reference generatedTopologicalIslandobjects.- force_retain_switches
Keep Switch and subclasses as two topological node elements irregardless of the
retainedattribute, or theopenandnormalOpenattributes. This is used for alternative scenario calculations. It allows the user to override the behaviour when the processor encounters a Switch or a Switch derived class (e.g. Disconnector), except Fuse and ProtectiveSwitch classes are not included by this flag. The default behaviour ofUnforcedwill use the value of theretainedattribute to identify a node boundary only if the attribute is present in the CIM file and the value istrue. When set toForceTruethe behaviour is equivalent to each Switch having aretainedattribute with valuetrue. When set toForceFalsethe behaviour is equivalent to each Switch having aretainedattribute with valuefalse.- force_retain_fuses
Keep Fuse, ProtectedSwitch and subclasses as two topological node elements irregardless of the
retainedattribute, or theopenandnormalOpenattributes. This is used for fuse specificity calculation. It allows the user to override the normal behaviour when a Fuse is encountered, which is to keep the two terminals as two topological nodes only if theretainedattribute is present and true or theopenattribute is present and has a valuetrueor ifopenattribute is not present and thenormalOpenattribute has a valuetrue. This has the same effect for Fuse objects asforce_retain_switchesdoes for Switch objects.- force_switch_separate_islands
Extends the retain attribute to
TopologicalIslandprocessing forSwitchderived objects, except forFuseandProtectedSwitchobjects. The default ofUnforceduses the open or normalOpen attributes, if present, or thedefault_switch_open_statesetting otherwise, to determine if a switch separates two islands.ForceTruekeeps the switch in two islands, irregardless of the switch state, whileForceFalseensures the switch is in only one island.- force_fuse_separate_islands
Similar functionality as force_switch_separate_islands, but for
Fuseobjects.- default_switch_open_state
Allows changing the behaviour when the processor encounters a Switch that has neither an
openattribute, nornormalOpenattribute. The default behaviour offalseis the same as ifopenandnormalOpenboth specifyfalse.- debug
If
trueadditional tests are performed during topology processing:- unique VertexId for every ConnectivityNode mRID (checks the hash function)
- all edges reference existing ConnectivityNode elements (checks for completeness)
- no voltage transitions (checks that edges that are joined have the same BaseVoltage)
- storage
The storage level for new and replaced CIM RDD.
- Alphabetic
- By Inheritance
- CIMTopologyOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CIMTopologyOptions(identify_islands: Boolean = false, force_retain_switches: State = Unforced, force_retain_fuses: State = Unforced, force_switch_separate_islands: State = Unforced, force_fuse_separate_islands: State = Unforced, default_switch_open_state: Boolean = false, debug: Boolean = false, storage: StorageLevel = StorageLevel.MEMORY_AND_DISK_SER)
- identify_islands
When
true, topological islands are identified in addition to topological nodes. That is,TopologicalNodeobjects generated by the processor will have a validTopologicalIslandattributes that reference generatedTopologicalIslandobjects.- force_retain_switches
Keep Switch and subclasses as two topological node elements irregardless of the
retainedattribute, or theopenandnormalOpenattributes. This is used for alternative scenario calculations. It allows the user to override the behaviour when the processor encounters a Switch or a Switch derived class (e.g. Disconnector), except Fuse and ProtectiveSwitch classes are not included by this flag. The default behaviour ofUnforcedwill use the value of theretainedattribute to identify a node boundary only if the attribute is present in the CIM file and the value istrue. When set toForceTruethe behaviour is equivalent to each Switch having aretainedattribute with valuetrue. When set toForceFalsethe behaviour is equivalent to each Switch having aretainedattribute with valuefalse.- force_retain_fuses
Keep Fuse, ProtectedSwitch and subclasses as two topological node elements irregardless of the
retainedattribute, or theopenandnormalOpenattributes. This is used for fuse specificity calculation. It allows the user to override the normal behaviour when a Fuse is encountered, which is to keep the two terminals as two topological nodes only if theretainedattribute is present and true or theopenattribute is present and has a valuetrueor ifopenattribute is not present and thenormalOpenattribute has a valuetrue. This has the same effect for Fuse objects asforce_retain_switchesdoes for Switch objects.- force_switch_separate_islands
Extends the retain attribute to
TopologicalIslandprocessing forSwitchderived objects, except forFuseandProtectedSwitchobjects. The default ofUnforceduses the open or normalOpen attributes, if present, or thedefault_switch_open_statesetting otherwise, to determine if a switch separates two islands.ForceTruekeeps the switch in two islands, irregardless of the switch state, whileForceFalseensures the switch is in only one island.- force_fuse_separate_islands
Similar functionality as force_switch_separate_islands, but for
Fuseobjects.- default_switch_open_state
Allows changing the behaviour when the processor encounters a Switch that has neither an
openattribute, nornormalOpenattribute. The default behaviour offalseis the same as ifopenandnormalOpenboth specifyfalse.- debug
If
trueadditional tests are performed during topology processing:- unique VertexId for every ConnectivityNode mRID (checks the hash function)
- all edges reference existing ConnectivityNode elements (checks for completeness)
- no voltage transitions (checks that edges that are joined have the same BaseVoltage)
- storage
The storage level for new and replaced CIM RDD.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val debug: Boolean
- val default_switch_open_state: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val force_fuse_separate_islands: State
- val force_retain_fuses: State
- val force_retain_switches: State
- val force_switch_separate_islands: State
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val identify_islands: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val storage: StorageLevel
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.