-
Notifications
You must be signed in to change notification settings - Fork 5
/
ConnectorDatamodelConcept.puml
196 lines (168 loc) · 6.4 KB
/
ConnectorDatamodelConcept.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
@startuml
scale 1024 width
scale 768 height
note "For better readability no getters are shown in the classes. Also the final attributes are not marked especially." as generalNote
package io.extractor {
interface NestedEntity
interface HasNodes {
+ allNodes(): List<NodeInput>
}
HasNodes --|> NestedEntity
interface HasThermalBus {
+ getThermalBus(): ThermalBusInput
}
HasThermalBus --|> NestedEntity
interface HasThermalStorage {
+ getThermalStorage(): ThermalStorageInput
}
HasThermalStorage --|> NestedEntity
interface HasType {
+ getType(): AssetTypeInput
}
HasType --|> NestedEntity
interface HasLine {
+ getLine(): LineInput
}
HasLine --|> NestedEntity
}
package models {
abstract class UniqueEntity {
+ {static} UUID_FIELD_NAME: String
- uuid: UUID
}
class OperationTime {
cf. other uml diagram for details
}
interface Operable {
+ getOperationTime(): OperationTime
+ getOperator(): OperatorInput
+ inOperationOn(ZonedDateTime): boolean
}
Operable --|> NestedEntity
package result {}
package timeseries {}
package value {}
note "Has also children in these packages.\ncf. separate uml diagrams" as childNote
UniqueEntity .. childNote
childNote .. result
childNote .. timeseries
childNote .. value
childNote .. system
childNote .. thermal
package input {
abstract class InputEntity
InputEntity --|> UniqueEntity
class OperatorInput {
cf. other uml diagram for details
}
OperatorInput --|> InputEntity
abstract class AssetInput {
- id: String
- operationTime: OperationTime
- operator: OperatorInput
}
AssetInput --|> InputEntity
AssetInput ..|> Operable
AssetInput *-- OperationTime
AssetInput *-- OperatorInput
class NodeInput {
cf. other uml diagram for details
}
abstract class AssetTypeInput {
- id: String
}
AssetTypeInput --|> InputEntity
package connector {
package type {
class LineTypeInput {
- r: ComparableQuantity<SpecificResistance> [Ohm/km]
- x: ComparableQuantity<SpecificResistance> [Ohm/km]
- g: ComparableQuantity<SpecificConductance> [µS/km]
- b: ComparableQuantity<SpecificConductance> [µS/km]
- iMax: ComparableQuantity<ElectricCurrent> [A]
- vRated: ComparableQuantity<ElectricPotential> [kV]
}
LineTypeInput --|> AssetTypeInput
class Transformer2WTypeInput {
- sRated: ComparableQuantity<Power> [MVA]
- vRatedA: ComparableQuantity<ElectricPotential> [kV]
- vRatedB: ComparableQuantity<ElectricPotential> [kV]
- rSc: ComparableQuantity<ElectricalResistance> [Ohm]
- xSc: ComparableQuantity<ElectricalResistance> [Ohm]
- gM: ComparableQuantity<ElectricalConductance> [nS]
- bM: ComparableQuantity<ElectricalConductance> [nS]
- dV: ComparableQuantity<Dimensionless> [%]
- dPhi: ComparableQuantity<Angle> [°]
- tapSide: boolean
- tapNeutr: int
- tapMin: int
- tapMax: int
}
Transformer2WTypeInput --|> AssetTypeInput
class Transformer3WTypeInput {
- vRatedA: ComparableQuantity<ElectricPotential> [kV]
- vRatedB: ComparableQuantity<ElectricPotential> [kV]
- vRatedC: ComparableQuantity<ElectricPotential> [kV]
- rScA: ComparableQuantity<ElectricalResistance> [Ohm]
- rScB: ComparableQuantity<ElectricalResistance> [Ohm]
- rScC: ComparableQuantity<ElectricalResistance> [Ohm]
- xScA: ComparableQuantity<ElectricalResistance> [Ohm]
- xScB: ComparableQuantity<ElectricalResistance> [Ohm]
- xScC: ComparableQuantity<ElectricalResistance> [Ohm]
- gM: ComparableQuantity<ElectricalConductance> [nS]
- bM: ComparableQuantity<ElectricalConductance> [nS]
- sRatedA: ComparableQuantity<Power> [MVA]
- sRatedB: ComparableQuantity<Power> [MVA]
- sRatedC: ComparableQuantity<Power> [MVA]
- dV: ComparableQuantity<Dimensionless> [%]
- dPhi: ComparableQuantity<Angle> [°]
- tapNeutr: int
- tapMin: int
- tapMax: int
}
Transformer3WTypeInput --|> AssetTypeInput
}
abstract class ConnectorInput {
- nodeA: NodeInput
- nodeB: NodeInput
- parallelDevices: int
}
ConnectorInput --|> AssetInput
ConnectorInput ..|> HasNodes
ConnectorInput "1" *-- "2" NodeInput
class SwitchInput {
- closed: Boolean
}
SwitchInput --|> ConnectorInput
class LineInput {
- type: LineTypeInput
- length: ComparableQuantity<Length> [km]
- olm: OlmCharacteristicInput
- geoPosition: LineString
}
LineInput --|> ConnectorInput
LineInput ..|> HasType
abstract TransformerInput {
- tapPos: int
- autoTap: Boolean
}
TransformerInput --|> ConnectorInput
class Transformer2WInput {
- type: Transformer2WTypeInput
}
Transformer2WInput --|> TransformerInput
Transformer2WInput ..|> HasType
class Transformer3WInput {
- nodeC: NodeInput
- nodeInternal: NodeInput
- type: Transformer3WTypeInput
}
Transformer3WInput --|> TransformerInput
Transformer3WInput ..|> HasType
Transformer3WInput *-- NodeInput
}
package system {}
package thermal {}
}
}
@enduml