-
Notifications
You must be signed in to change notification settings - Fork 5
/
InputDatamodelConcept.puml
172 lines (145 loc) · 4.71 KB
/
InputDatamodelConcept.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
@startuml
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 {
- startDate: ZonedDateTime
- endDate: ZonedDateTime
- isLimited: boolean
+ {static} notLimited(): OperationTime
+ {static} builder(): OperationTimeBuilder
+ getOperationLimit(): Optional<ClosedInterval<ZonedDateTime>>
+ includes(ZonedDateTime): boolean
}
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 .. connector
childNote .. graphics
childNote .. thermal
childNote .. system
package voltagelevels {
class VoltageLevel {
# id: String
# nominalVoltage: ComparableQuantity<ElectricPotential> [kV]
}
class CommonVoltageLevel {
# synonymousIds: Set<String>
# voltageRange: RightOpenInterval<ComparableQuantity<ElectricPotential>>
+ covers(ComparableQuantity<ElectricPotential>): boolean
+ covers(String, ComparableQuantity<ElectricPotential>): boolean
}
CommonVoltageLevel --|> VoltageLevel
class GermanVoltageLevelUtils {
+ {static} LV: CommonVoltageLevel
+ {static} MV_10KV: CommonVoltageLevel
+ {static} MV_20KV: CommonVoltageLevel
+ {static} MV_30KV: CommonVoltageLevel
+ {static} HV: CommonVoltageLevel
+ {static} EHV_220KV: CommonVoltageLevel
+ {static} EHV_380KV: CommonVoltageLevel
- {static} germanVoltageLevels: Set<CommonVoltageLevel>
+ {static} parse(ComparableQuantity<ElectricPotential>): CommonVoltageLevel
+ {static} parse(String, ComparableQuantity<ElectricPotential>): CommonVoltageLevel
}
}
package input {
abstract class InputEntity
InputEntity --|> UniqueEntity
class OperatorInput {
+ {static} NO_OPERATOR_ASSIGNED: OperatorInput
- name: String
}
OperatorInput --|> InputEntity
package graphics {}
abstract class AssetInput {
- id: String
- operationTime: OperationTime
- operator: OperatorInput
}
AssetInput --|> InputEntity
AssetInput ..|> Operable
AssetInput *-- OperationTime
AssetInput *-- OperatorInput
class EvcsInput {
???
}
EvcsInput --|> AssetInput
class NodeInput {
- vTarget: ComparableQuantity<Dimensionless> [pU]
- slack: Boolean
- geoPosition: Point
- voltLvl: VoltageLevel
- subnet: int
}
NodeInput --|> AssetInput
NodeInput *-- VoltageLevel
class MeasurementUnitInput {
- node: NodeInput
- vMag: Boolean [default f]
- vAng: Boolean [default f]
- p: Boolean [default f]
- q: Boolean [default f]
}
MeasurementUnitInput --|> AssetInput
MeasurementUnitInput ..|> HasNodes
class RandomLoadParameter {
- quarterHour: int
- kWd: Double
- kSa: Double
- kSu: Double
- myWd: Double
- mySa: Double
- mySu: Double
- sigmaWd: Double
- sigmaSa: Double
- sigmaSu: Double
}
RandomLoadParameter --|> InputEntity
abstract class AssetTypeInput {
- id: String
}
AssetTypeInput --|> InputEntity
package connector {}
package system {}
package thermal {}
}
}
@enduml