-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathplant_energy_energy_convolution.yaml
267 lines (231 loc) · 7.18 KB
/
plant_energy_energy_convolution.yaml
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
$schema: "http://json-schema.org/draft-04/schema#"
title: IEA Wind Task 37 Wind Plant Ontology version 0.1
description: A file used as input or output of a wind plant model (for overall energy production estimation)
### update to use wind inflow defintions from inflow lookup
# Draft schema definitions for energy model
definitions:
plant_energy:
type: object
description: energy production estimate combining information for layout, turbine, site and other losses
properties:
# inputs / sub-models used in plant energy calculation
wind_plant:
type: object
description: specific plant design including turbine selection and placement
properties:
layout:
type: array
items:
- $ref: "#/definitions/position"
- $ref: "plant_energy_turbine_lookup/definitions/wind_turbine"
wind_resource:
type: object
oneOf:
- $ref: "#/definitions/single_wind_rose"
- #ref: "#/definitions/multiple_wind_rose"
total_losses:
# reference plant energy losses
# outputs
plant_power:
# array that references plant_power by speed, direction (and TI)
# output
plant_energy:
type: number
description: total (annual) energy production for a wind plant given a layout and wind rose
position:
type: array
items:
- type: number
- type: number
additionalItems: false
description: The [x,y] position of a wind turbine in UTM coordinates
units: m
# Wind rose definitions
single_wind_rose:
type: object
oneOf:
- $ref: "#/definitions/weibull_wind_rose"
- $ref: "#/definitions/probability_wind_rose"
- $ref: "#/definitions/weibull_wind_and_turbulence_rose"
multiple_wind_rose:
type: object
description: Tarray of wind roses by location
type: array #ndarray([[position], [single_wind_rose]])
items:
type: array
items:
- $ref: "#/definitions/position"
- $ref: "#/definitions/single_wind_rose"
weibull_wind_rose:
description: A wind rose descrived as an array of weibull distributions
type: array #ndarray([[wind:direction], [probability], [distribution:weibull:A], [distribution:weibull:k]])
items:
type: array
items:
- $ref: "#/definitions/wind/properties/direction"
- $ref: "#/definitions/probability"
- $ref: "#/definitions/distribution/weibull/properties/A"
- $ref: "#/definitions/distribution/weibull/properties/k"
probability_wind_rose:
type: object
description: A wind rose described by a 2D array of wind speed and wind directions
properties:
directions:
type: array
items:
$ref: "#/definitions/wind/properties/wind_direction"
description: the wind direction corresponding to the 1st dimension
speeds:
type: array
items:
$ref: "#/definitions/wind/properties/speed"
description: the wind speed corresponding to the 2nd dimension
# include turbulence inensity in this version?
turbulence intensity:
type: array
items:
$ref "#/definitions/wind/properties/ti"
description: the turbulence intensity corresponding to the 3rd dimension
probability:
type: array #ndarray(probability)
items:
type: array
items:
$ref: "#/definitions/probability"
description: the probability of occurance of wind speed ndarray.shape([len(wind_directions), len(wind_speeds)])
weibull_wind_and_turbulence_rose:
description: A wind rose descrived as an array of weibull distributions
type: array #ndarray([[wind:direction], [probability], [distribution:weibull:A], [distribution:weibull:k]])
items:
type: array
items:
- $ref: "#/definitions/wind/properties/direction"
- $ref: "#/definitions/probability"
- $ref: "#/definitions/distribution/weibull/properties/A"
- $ref: "#/definitions/distribution/weibull/properties/k"
- $ref: "#/definitions/wind/ti"
wind:
type: object
properties:
direction:
id: "wind_direction"
type: number
description: The wind direction in degree, with North as the 0.
units: deg
minimum: 0.0
maximum: 360.0
speed:
anyOf:
- oneOf:
- type: number
description: A wind speed
- $ref: "#/definitions/distributions/weibull"
- minimum: 0.0
maximum: 100.0
units: m/s
ti:
type: number
description: Turbulence intensity
minimum: 0.0
maximum: 1.0
distribution:
anyOf:
- oneOf:
- $ref: "scalar"
- $ref: "uniform"
- $ref: "weibull"
- $ref: "gaussian"
- $ref: "KDE"
- $ref: "GP"
- $ref: "copula"
- min:
type: number
description: truncation of the distribution
max:
type: number
description: truncation of the distribution
uncertainty:
$ref: "#/definitions/distribution"
scalar:
type: number
uniform:
description: A uniformed distribution [min, max]
type: array
items:
- type: number
- type: number
additionalItems: false
lognormal:
type: object
properties:
mu:
type: number
sig:
type: number
weibull:
type: object
properties:
A:
type: number
description: the A parameter of a weibull distribution
k:
type: number
description: the k parameter of a weibull distribution
gaussian:
type: object
properties:
mu:
type: number
description: The mean value
sig:
type: number
description: The standard deviation
minimum: 0.0
KDE:
description: |
A Kernel Density Estimator representation of a distribution.
See http://scikit-learn.org/stable/modules/density.html
type: object
properties:
kernel:
type: string
description: the type of kernel used for the KDE representation.
enum:
- gaussian
- tophat
- epanechnikov
- linear
- cosine
bandwitdh:
type: number
minimum: 0.0
description: the bandwidth of the kernel
array:
type: array
items:
type: number
description: the position of the center
description: Array to describe a distribution size:n, with n the number of normals centers
GP:
description: A Gaussian Process
type: object
properties:
points:
type: array
copula:
description: A copula distribution
type: object
properties:
copula_type:
type: string
enum:
- gaussian
- archimedean
- frank
- clayton
- gumbel
probability:
type: number
description: probability of an event to happen
minimum: 0.0
maximum: 1.0