-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DEV-2009] Add cuts and clamps. (#202)
Signed-off-by: Anthony Charlton <[email protected]>
- Loading branch information
Showing
50 changed files
with
1,424 additions
and
882 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/main/kotlin/com/zepben/evolve/cim/iec61970/base/wires/Clamp.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Copyright 2020 Zeppelin Bend Pty Ltd | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
*/ | ||
|
||
package com.zepben.evolve.cim.iec61970.base.wires | ||
|
||
import com.zepben.evolve.cim.iec61970.base.core.ConductingEquipment | ||
|
||
/** | ||
* A Clamp is a galvanic connection at a line segment where other equipment is connected. A Clamp does not cut the line segment. A Clamp is ConductingEquipment | ||
* and has one Terminal with an associated ConnectivityNode. Any other ConductingEquipment can be connected to the Clamp ConnectivityNode. | ||
* | ||
* @property lengthFromTerminal1 The length to the place where the clamp is located starting from side one of the line segment, i.e. the line segment terminal | ||
* with sequence number equal to 1. | ||
* @property acLineSegment The line segment to which the clamp is connected. | ||
*/ | ||
class Clamp @JvmOverloads constructor(mRID: String = "") : ConductingEquipment(mRID) { | ||
|
||
var lengthFromTerminal1: Double? = null | ||
var acLineSegment: AcLineSegment? = null | ||
|
||
} |
28 changes: 28 additions & 0 deletions
28
src/main/kotlin/com/zepben/evolve/cim/iec61970/base/wires/Cut.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright 2020 Zeppelin Bend Pty Ltd | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
*/ | ||
|
||
package com.zepben.evolve.cim.iec61970.base.wires | ||
|
||
/** | ||
* A cut separates a line segment into two parts. The cut appears as a switch inserted between these two parts and connects them together. As the cut is | ||
* normally open there is no galvanic connection between the two line segment parts. But it is possible to close the cut to get galvanic connection. The cut | ||
* terminals are oriented towards the line segment terminals with the same sequence number. Hence the cut terminal with sequence number equal to 1 is oriented | ||
* to the line segment's terminal with sequence number equal to 1. The cut terminals also act as connection points for jumpers and other equipment, e.g. a | ||
* mobile generator. To enable this, connectivity nodes are placed at the cut terminals. Once the connectivity nodes are in place any conducting equipment can | ||
* be connected at them. | ||
* | ||
* @property lengthFromTerminal1 The length to the place where the cut is located starting from side one of the cut line segment, i.e. the line segment Terminal | ||
* with sequenceNumber equal to 1. | ||
* @property acLineSegment The line segment to which the cut is applied. | ||
*/ | ||
class Cut @JvmOverloads constructor(mRID: String = "") : Switch(mRID) { | ||
|
||
var lengthFromTerminal1: Double? = null | ||
var acLineSegment: AcLineSegment? = null | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.