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,TopologicalNode
objects generated by the processor will have a validTopologicalIsland
attributes that reference generatedTopologicalIsland
objects.- force_retain_switches
Keep Switch and subclasses as two topological node elements irregardless of the
retained
attribute, or theopen
andnormalOpen
attributes. 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 ofUnforced
will use the value of theretained
attribute to identify a node boundary only if the attribute is present in the CIM file and the value istrue
. When set toForceTrue
the behaviour is equivalent to each Switch having aretained
attribute with valuetrue
. When set toForceFalse
the behaviour is equivalent to each Switch having aretained
attribute with valuefalse
.- force_retain_fuses
Keep Fuse, ProtectedSwitch and subclasses as two topological node elements irregardless of the
retained
attribute, or theopen
andnormalOpen
attributes. 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 theretained
attribute is present and true or theopen
attribute is present and has a valuetrue
or ifopen
attribute is not present and thenormalOpen
attribute has a valuetrue
. This has the same effect for Fuse objects asforce_retain_switches
does for Switch objects.- force_switch_separate_islands
Extends the retain attribute to
TopologicalIsland
processing forSwitch
derived objects, except forFuse
andProtectedSwitch
objects. The default ofUnforced
uses the open or normalOpen attributes, if present, or thedefault_switch_open_state
setting otherwise, to determine if a switch separates two islands.ForceTrue
keeps the switch in two islands, irregardless of the switch state, whileForceFalse
ensures the switch is in only one island.- force_fuse_separate_islands
Similar functionality as force_switch_separate_islands, but for
Fuse
objects.- default_switch_open_state
Allows changing the behaviour when the processor encounters a Switch that has neither an
open
attribute, nornormalOpen
attribute. The default behaviour offalse
is the same as if
open
andnormalOpen
both specifyfalse
.- debug
If
true
additional 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,TopologicalNode
objects generated by the processor will have a validTopologicalIsland
attributes that reference generatedTopologicalIsland
objects.- force_retain_switches
Keep Switch and subclasses as two topological node elements irregardless of the
retained
attribute, or theopen
andnormalOpen
attributes. 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 ofUnforced
will use the value of theretained
attribute to identify a node boundary only if the attribute is present in the CIM file and the value istrue
. When set toForceTrue
the behaviour is equivalent to each Switch having aretained
attribute with valuetrue
. When set toForceFalse
the behaviour is equivalent to each Switch having aretained
attribute with valuefalse
.- force_retain_fuses
Keep Fuse, ProtectedSwitch and subclasses as two topological node elements irregardless of the
retained
attribute, or theopen
andnormalOpen
attributes. 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 theretained
attribute is present and true or theopen
attribute is present and has a valuetrue
or ifopen
attribute is not present and thenormalOpen
attribute has a valuetrue
. This has the same effect for Fuse objects asforce_retain_switches
does for Switch objects.- force_switch_separate_islands
Extends the retain attribute to
TopologicalIsland
processing forSwitch
derived objects, except forFuse
andProtectedSwitch
objects. The default ofUnforced
uses the open or normalOpen attributes, if present, or thedefault_switch_open_state
setting otherwise, to determine if a switch separates two islands.ForceTrue
keeps the switch in two islands, irregardless of the switch state, whileForceFalse
ensures the switch is in only one island.- force_fuse_separate_islands
Similar functionality as force_switch_separate_islands, but for
Fuse
objects.- default_switch_open_state
Allows changing the behaviour when the processor encounters a Switch that has neither an
open
attribute, nornormalOpen
attribute. The default behaviour offalse
is the same as if
open
andnormalOpen
both specifyfalse
.- debug
If
true
additional 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.