Windmill Data Classes
examples.windmill.data_classes
Blade
Bases: DomainModel
This represents the reading version of blade.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the blade. |
required | |
data_record
|
The data record of the blade node. |
required | |
is_damaged
|
The is damaged field. |
required | |
name
|
The name field. |
required | |
sensor_positions
|
The sensor position field. |
required |
Source code in examples/windmill/data_classes/_blade.py
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 |
|
as_apply()
Convert this read version of blade to the writing version.
Source code in examples/windmill/data_classes/_blade.py
as_write()
Convert this read version of blade to the writing version.
Source code in examples/windmill/data_classes/_blade.py
BladeGraphQL
Bases: GraphQLCore
This represents the reading version of blade, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the blade. |
required | |
data_record
|
The data record of the blade node. |
required | |
is_damaged
|
The is damaged field. |
required | |
name
|
The name field. |
required | |
sensor_positions
|
The sensor position field. |
required |
Source code in examples/windmill/data_classes/_blade.py
as_read()
Convert this GraphQL format of blade to the reading format.
Source code in examples/windmill/data_classes/_blade.py
as_write()
Convert this GraphQL format of blade to the writing format.
Source code in examples/windmill/data_classes/_blade.py
BladeList
Bases: DomainModelList[Blade]
List of blades in the read version.
Source code in examples/windmill/data_classes/_blade.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_blade.py
as_write()
BladeWrite
Bases: DomainModelWrite
This represents the writing version of blade.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the blade. |
required | |
data_record
|
The data record of the blade node. |
required | |
is_damaged
|
The is damaged field. |
required | |
name
|
The name field. |
required | |
sensor_positions
|
The sensor position field. |
required |
Source code in examples/windmill/data_classes/_blade.py
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 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 |
|
BladeWriteList
DataRecord
Bases: BaseModel
The data record represents the metadata of a node.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
created_time
|
The created time of the node. |
required | |
last_updated_time
|
The last updated time of the node. |
required | |
deleted_time
|
If present, the deleted time of the node. |
required | |
version
|
The version of the node. |
required |
Source code in examples/windmill/data_classes/_core/base.py
DataRecordWrite
Bases: BaseModel
The data record represents the metadata of a node.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
existing_version
|
Fail the ingestion request if the node version is greater than or equal to this value. If no existingVersion is specified, the ingestion will always overwrite any existing data for the edge (for the specified container or instance). If existingVersion is set to 0, the upsert will behave as an insert, so it will fail the bulk if the item already exists. If skipOnVersionConflict is set on the ingestion request, then the item will be skipped instead of failing the ingestion request. |
required |
Source code in examples/windmill/data_classes/_core/base.py
Gearbox
Bases: DomainModel
This represents the reading version of gearbox.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the gearbox. |
required | |
data_record
|
The data record of the gearbox node. |
required | |
displacement_x
|
The displacement x field. |
required | |
displacement_y
|
The displacement y field. |
required | |
displacement_z
|
The displacement z field. |
required |
Source code in examples/windmill/data_classes/_gearbox.py
as_apply()
Convert this read version of gearbox to the writing version.
Source code in examples/windmill/data_classes/_gearbox.py
as_write()
Convert this read version of gearbox to the writing version.
Source code in examples/windmill/data_classes/_gearbox.py
GearboxGraphQL
Bases: GraphQLCore
This represents the reading version of gearbox, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the gearbox. |
required | |
data_record
|
The data record of the gearbox node. |
required | |
displacement_x
|
The displacement x field. |
required | |
displacement_y
|
The displacement y field. |
required | |
displacement_z
|
The displacement z field. |
required |
Source code in examples/windmill/data_classes/_gearbox.py
as_read()
Convert this GraphQL format of gearbox to the reading format.
Source code in examples/windmill/data_classes/_gearbox.py
as_write()
Convert this GraphQL format of gearbox to the writing format.
Source code in examples/windmill/data_classes/_gearbox.py
GearboxList
Bases: DomainModelList[Gearbox]
List of gearboxes in the read version.
Source code in examples/windmill/data_classes/_gearbox.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_gearbox.py
as_write()
Convert these read versions of gearbox to the writing versions.
GearboxWrite
Bases: DomainModelWrite
This represents the writing version of gearbox.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the gearbox. |
required | |
data_record
|
The data record of the gearbox node. |
required | |
displacement_x
|
The displacement x field. |
required | |
displacement_y
|
The displacement y field. |
required | |
displacement_z
|
The displacement z field. |
required |
Source code in examples/windmill/data_classes/_gearbox.py
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 266 267 268 269 270 |
|
GearboxWriteList
Generator
Bases: DomainModel
This represents the reading version of generator.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the generator. |
required | |
data_record
|
The data record of the generator node. |
required | |
generator_speed_controller
|
The generator speed controller field. |
required | |
generator_speed_controller_reference
|
The generator speed controller reference field. |
required |
Source code in examples/windmill/data_classes/_generator.py
as_apply()
Convert this read version of generator to the writing version.
Source code in examples/windmill/data_classes/_generator.py
as_write()
Convert this read version of generator to the writing version.
Source code in examples/windmill/data_classes/_generator.py
GeneratorGraphQL
Bases: GraphQLCore
This represents the reading version of generator, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the generator. |
required | |
data_record
|
The data record of the generator node. |
required | |
generator_speed_controller
|
The generator speed controller field. |
required | |
generator_speed_controller_reference
|
The generator speed controller reference field. |
required |
Source code in examples/windmill/data_classes/_generator.py
as_read()
Convert this GraphQL format of generator to the reading format.
Source code in examples/windmill/data_classes/_generator.py
as_write()
Convert this GraphQL format of generator to the writing format.
Source code in examples/windmill/data_classes/_generator.py
GeneratorList
Bases: DomainModelList[Generator]
List of generators in the read version.
Source code in examples/windmill/data_classes/_generator.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_generator.py
as_write()
Convert these read versions of generator to the writing versions.
GeneratorWrite
Bases: DomainModelWrite
This represents the writing version of generator.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the generator. |
required | |
data_record
|
The data record of the generator node. |
required | |
generator_speed_controller
|
The generator speed controller field. |
required | |
generator_speed_controller_reference
|
The generator speed controller reference field. |
required |
Source code in examples/windmill/data_classes/_generator.py
GeneratorWriteList
Bases: DomainModelWriteList[GeneratorWrite]
List of generators in the writing version.
Source code in examples/windmill/data_classes/_generator.py
GraphQLList
Bases: UserList
Source code in examples/windmill/data_classes/_core/base.py
to_pandas()
Convert the list of nodes to a pandas.DataFrame.
Returns:
Type | Description |
---|---|
DataFrame
|
A pandas.DataFrame with the nodes as rows. |
Source code in examples/windmill/data_classes/_core/base.py
HighSpeedShaft
Bases: DomainModel
This represents the reading version of high speed shaft.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the high speed shaft. |
required | |
data_record
|
The data record of the high speed shaft node. |
required | |
bending_moment_y
|
The bending moment y field. |
required | |
bending_monent_x
|
The bending monent x field. |
required | |
torque
|
The torque field. |
required |
Source code in examples/windmill/data_classes/_high_speed_shaft.py
as_apply()
Convert this read version of high speed shaft to the writing version.
Source code in examples/windmill/data_classes/_high_speed_shaft.py
as_write()
Convert this read version of high speed shaft to the writing version.
Source code in examples/windmill/data_classes/_high_speed_shaft.py
HighSpeedShaftGraphQL
Bases: GraphQLCore
This represents the reading version of high speed shaft, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the high speed shaft. |
required | |
data_record
|
The data record of the high speed shaft node. |
required | |
bending_moment_y
|
The bending moment y field. |
required | |
bending_monent_x
|
The bending monent x field. |
required | |
torque
|
The torque field. |
required |
Source code in examples/windmill/data_classes/_high_speed_shaft.py
as_read()
Convert this GraphQL format of high speed shaft to the reading format.
Source code in examples/windmill/data_classes/_high_speed_shaft.py
as_write()
Convert this GraphQL format of high speed shaft to the writing format.
Source code in examples/windmill/data_classes/_high_speed_shaft.py
HighSpeedShaftList
Bases: DomainModelList[HighSpeedShaft]
List of high speed shafts in the read version.
Source code in examples/windmill/data_classes/_high_speed_shaft.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_high_speed_shaft.py
as_write()
Convert these read versions of high speed shaft to the writing versions.
HighSpeedShaftWrite
Bases: DomainModelWrite
This represents the writing version of high speed shaft.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the high speed shaft. |
required | |
data_record
|
The data record of the high speed shaft node. |
required | |
bending_moment_y
|
The bending moment y field. |
required | |
bending_monent_x
|
The bending monent x field. |
required | |
torque
|
The torque field. |
required |
Source code in examples/windmill/data_classes/_high_speed_shaft.py
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 |
|
HighSpeedShaftWriteList
Bases: DomainModelWriteList[HighSpeedShaftWrite]
List of high speed shafts in the writing version.
Source code in examples/windmill/data_classes/_high_speed_shaft.py
MainShaft
Bases: DomainModel
This represents the reading version of main shaft.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the main shaft. |
required | |
data_record
|
The data record of the main shaft node. |
required | |
bending_x
|
The bending x field. |
required | |
bending_y
|
The bending y field. |
required | |
calculated_tilt_moment
|
The calculated tilt moment field. |
required | |
calculated_yaw_moment
|
The calculated yaw moment field. |
required | |
torque
|
The torque field. |
required |
Source code in examples/windmill/data_classes/_main_shaft.py
as_apply()
Convert this read version of main shaft to the writing version.
Source code in examples/windmill/data_classes/_main_shaft.py
as_write()
Convert this read version of main shaft to the writing version.
Source code in examples/windmill/data_classes/_main_shaft.py
MainShaftGraphQL
Bases: GraphQLCore
This represents the reading version of main shaft, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the main shaft. |
required | |
data_record
|
The data record of the main shaft node. |
required | |
bending_x
|
The bending x field. |
required | |
bending_y
|
The bending y field. |
required | |
calculated_tilt_moment
|
The calculated tilt moment field. |
required | |
calculated_yaw_moment
|
The calculated yaw moment field. |
required | |
torque
|
The torque field. |
required |
Source code in examples/windmill/data_classes/_main_shaft.py
as_read()
Convert this GraphQL format of main shaft to the reading format.
Source code in examples/windmill/data_classes/_main_shaft.py
as_write()
Convert this GraphQL format of main shaft to the writing format.
Source code in examples/windmill/data_classes/_main_shaft.py
MainShaftList
Bases: DomainModelList[MainShaft]
List of main shafts in the read version.
Source code in examples/windmill/data_classes/_main_shaft.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_main_shaft.py
as_write()
Convert these read versions of main shaft to the writing versions.
MainShaftWrite
Bases: DomainModelWrite
This represents the writing version of main shaft.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the main shaft. |
required | |
data_record
|
The data record of the main shaft node. |
required | |
bending_x
|
The bending x field. |
required | |
bending_y
|
The bending y field. |
required | |
calculated_tilt_moment
|
The calculated tilt moment field. |
required | |
calculated_yaw_moment
|
The calculated yaw moment field. |
required | |
torque
|
The torque field. |
required |
Source code in examples/windmill/data_classes/_main_shaft.py
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 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 |
|
MainShaftWriteList
Bases: DomainModelWriteList[MainShaftWrite]
List of main shafts in the writing version.
Source code in examples/windmill/data_classes/_main_shaft.py
Metmast
Bases: DomainModel
This represents the reading version of metmast.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the metmast. |
required | |
data_record
|
The data record of the metmast node. |
required | |
position
|
The position field. |
required | |
temperature
|
The temperature field. |
required | |
tilt_angle
|
The tilt angle field. |
required | |
wind_speed
|
The wind speed field. |
required |
Source code in examples/windmill/data_classes/_metmast.py
as_apply()
Convert this read version of metmast to the writing version.
Source code in examples/windmill/data_classes/_metmast.py
as_write()
Convert this read version of metmast to the writing version.
Source code in examples/windmill/data_classes/_metmast.py
MetmastGraphQL
Bases: GraphQLCore
This represents the reading version of metmast, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the metmast. |
required | |
data_record
|
The data record of the metmast node. |
required | |
position
|
The position field. |
required | |
temperature
|
The temperature field. |
required | |
tilt_angle
|
The tilt angle field. |
required | |
wind_speed
|
The wind speed field. |
required |
Source code in examples/windmill/data_classes/_metmast.py
as_read()
Convert this GraphQL format of metmast to the reading format.
Source code in examples/windmill/data_classes/_metmast.py
as_write()
Convert this GraphQL format of metmast to the writing format.
Source code in examples/windmill/data_classes/_metmast.py
MetmastList
Bases: DomainModelList[Metmast]
List of metmasts in the read version.
Source code in examples/windmill/data_classes/_metmast.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_metmast.py
as_write()
Convert these read versions of metmast to the writing versions.
MetmastWrite
Bases: DomainModelWrite
This represents the writing version of metmast.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the metmast. |
required | |
data_record
|
The data record of the metmast node. |
required | |
position
|
The position field. |
required | |
temperature
|
The temperature field. |
required | |
tilt_angle
|
The tilt angle field. |
required | |
wind_speed
|
The wind speed field. |
required |
Source code in examples/windmill/data_classes/_metmast.py
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 266 267 268 269 270 271 272 273 274 275 276 277 278 |
|
MetmastWriteList
Nacelle
Bases: DomainModel
This represents the reading version of nacelle.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the nacelle. |
required | |
data_record
|
The data record of the nacelle node. |
required | |
acc_from_back_side_x
|
The acc from back side x field. |
required | |
acc_from_back_side_y
|
The acc from back side y field. |
required | |
acc_from_back_side_z
|
The acc from back side z field. |
required | |
gearbox
|
The gearbox field. |
required | |
generator
|
The generator field. |
required | |
high_speed_shaft
|
The high speed shaft field. |
required | |
main_shaft
|
The main shaft field. |
required | |
power_inverter
|
The power inverter field. |
required | |
yaw_direction
|
The yaw direction field. |
required | |
yaw_error
|
The yaw error field. |
required |
Source code in examples/windmill/data_classes/_nacelle.py
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 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 |
|
as_apply()
Convert this read version of nacelle to the writing version.
Source code in examples/windmill/data_classes/_nacelle.py
as_write()
Convert this read version of nacelle to the writing version.
Source code in examples/windmill/data_classes/_nacelle.py
NacelleGraphQL
Bases: GraphQLCore
This represents the reading version of nacelle, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the nacelle. |
required | |
data_record
|
The data record of the nacelle node. |
required | |
acc_from_back_side_x
|
The acc from back side x field. |
required | |
acc_from_back_side_y
|
The acc from back side y field. |
required | |
acc_from_back_side_z
|
The acc from back side z field. |
required | |
gearbox
|
The gearbox field. |
required | |
generator
|
The generator field. |
required | |
high_speed_shaft
|
The high speed shaft field. |
required | |
main_shaft
|
The main shaft field. |
required | |
power_inverter
|
The power inverter field. |
required | |
yaw_direction
|
The yaw direction field. |
required | |
yaw_error
|
The yaw error field. |
required |
Source code in examples/windmill/data_classes/_nacelle.py
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 |
|
as_read()
Convert this GraphQL format of nacelle to the reading format.
Source code in examples/windmill/data_classes/_nacelle.py
as_write()
Convert this GraphQL format of nacelle to the writing format.
Source code in examples/windmill/data_classes/_nacelle.py
NacelleList
Bases: DomainModelList[Nacelle]
List of nacelles in the read version.
Source code in examples/windmill/data_classes/_nacelle.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_nacelle.py
as_write()
Convert these read versions of nacelle to the writing versions.
NacelleWrite
Bases: DomainModelWrite
This represents the writing version of nacelle.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the nacelle. |
required | |
data_record
|
The data record of the nacelle node. |
required | |
acc_from_back_side_x
|
The acc from back side x field. |
required | |
acc_from_back_side_y
|
The acc from back side y field. |
required | |
acc_from_back_side_z
|
The acc from back side z field. |
required | |
gearbox
|
The gearbox field. |
required | |
generator
|
The generator field. |
required | |
high_speed_shaft
|
The high speed shaft field. |
required | |
main_shaft
|
The main shaft field. |
required | |
power_inverter
|
The power inverter field. |
required | |
yaw_direction
|
The yaw direction field. |
required | |
yaw_error
|
The yaw error field. |
required |
Source code in examples/windmill/data_classes/_nacelle.py
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 |
|
NacelleWriteList
PowerInverter
Bases: DomainModel
This represents the reading version of power inverter.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the power inverter. |
required | |
data_record
|
The data record of the power inverter node. |
required | |
active_power_total
|
The active power total field. |
required | |
apparent_power_total
|
The apparent power total field. |
required | |
reactive_power_total
|
The reactive power total field. |
required |
Source code in examples/windmill/data_classes/_power_inverter.py
as_apply()
Convert this read version of power inverter to the writing version.
Source code in examples/windmill/data_classes/_power_inverter.py
as_write()
Convert this read version of power inverter to the writing version.
Source code in examples/windmill/data_classes/_power_inverter.py
PowerInverterGraphQL
Bases: GraphQLCore
This represents the reading version of power inverter, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the power inverter. |
required | |
data_record
|
The data record of the power inverter node. |
required | |
active_power_total
|
The active power total field. |
required | |
apparent_power_total
|
The apparent power total field. |
required | |
reactive_power_total
|
The reactive power total field. |
required |
Source code in examples/windmill/data_classes/_power_inverter.py
as_read()
Convert this GraphQL format of power inverter to the reading format.
Source code in examples/windmill/data_classes/_power_inverter.py
as_write()
Convert this GraphQL format of power inverter to the writing format.
Source code in examples/windmill/data_classes/_power_inverter.py
PowerInverterList
Bases: DomainModelList[PowerInverter]
List of power inverters in the read version.
Source code in examples/windmill/data_classes/_power_inverter.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_power_inverter.py
as_write()
Convert these read versions of power inverter to the writing versions.
PowerInverterWrite
Bases: DomainModelWrite
This represents the writing version of power inverter.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the power inverter. |
required | |
data_record
|
The data record of the power inverter node. |
required | |
active_power_total
|
The active power total field. |
required | |
apparent_power_total
|
The apparent power total field. |
required | |
reactive_power_total
|
The reactive power total field. |
required |
Source code in examples/windmill/data_classes/_power_inverter.py
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 266 267 268 269 270 |
|
PowerInverterWriteList
Bases: DomainModelWriteList[PowerInverterWrite]
List of power inverters in the writing version.
Source code in examples/windmill/data_classes/_power_inverter.py
Rotor
Bases: DomainModel
This represents the reading version of rotor.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the rotor. |
required | |
data_record
|
The data record of the rotor node. |
required | |
rotor_speed_controller
|
The rotor speed controller field. |
required | |
rpm_low_speed_shaft
|
The rpm low speed shaft field. |
required |
Source code in examples/windmill/data_classes/_rotor.py
as_apply()
Convert this read version of rotor to the writing version.
Source code in examples/windmill/data_classes/_rotor.py
as_write()
Convert this read version of rotor to the writing version.
Source code in examples/windmill/data_classes/_rotor.py
RotorGraphQL
Bases: GraphQLCore
This represents the reading version of rotor, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the rotor. |
required | |
data_record
|
The data record of the rotor node. |
required | |
rotor_speed_controller
|
The rotor speed controller field. |
required | |
rpm_low_speed_shaft
|
The rpm low speed shaft field. |
required |
Source code in examples/windmill/data_classes/_rotor.py
as_read()
Convert this GraphQL format of rotor to the reading format.
Source code in examples/windmill/data_classes/_rotor.py
as_write()
Convert this GraphQL format of rotor to the writing format.
Source code in examples/windmill/data_classes/_rotor.py
RotorList
Bases: DomainModelList[Rotor]
List of rotors in the read version.
Source code in examples/windmill/data_classes/_rotor.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_rotor.py
as_write()
RotorWrite
Bases: DomainModelWrite
This represents the writing version of rotor.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the rotor. |
required | |
data_record
|
The data record of the rotor node. |
required | |
rotor_speed_controller
|
The rotor speed controller field. |
required | |
rpm_low_speed_shaft
|
The rpm low speed shaft field. |
required |
Source code in examples/windmill/data_classes/_rotor.py
RotorWriteList
SensorPosition
Bases: DomainModel
This represents the reading version of sensor position.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the sensor position. |
required | |
data_record
|
The data record of the sensor position node. |
required | |
edgewise_bend_mom_crosstalk_corrected
|
The edgewise bend mom crosstalk corrected field. |
required | |
edgewise_bend_mom_offset
|
The edgewise bend mom offset field. |
required | |
edgewise_bend_mom_offset_crosstalk_corrected
|
The edgewise bend mom offset crosstalk corrected field. |
required | |
edgewisewise_bend_mom
|
The edgewisewise bend mom field. |
required | |
flapwise_bend_mom
|
The flapwise bend mom field. |
required | |
flapwise_bend_mom_crosstalk_corrected
|
The flapwise bend mom crosstalk corrected field. |
required | |
flapwise_bend_mom_offset
|
The flapwise bend mom offset field. |
required | |
flapwise_bend_mom_offset_crosstalk_corrected
|
The flapwise bend mom offset crosstalk corrected field. |
required | |
position
|
The position field. |
required |
Source code in examples/windmill/data_classes/_sensor_position.py
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 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 |
|
as_apply()
Convert this read version of sensor position to the writing version.
Source code in examples/windmill/data_classes/_sensor_position.py
as_write()
Convert this read version of sensor position to the writing version.
Source code in examples/windmill/data_classes/_sensor_position.py
SensorPositionGraphQL
Bases: GraphQLCore
This represents the reading version of sensor position, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the sensor position. |
required | |
data_record
|
The data record of the sensor position node. |
required | |
edgewise_bend_mom_crosstalk_corrected
|
The edgewise bend mom crosstalk corrected field. |
required | |
edgewise_bend_mom_offset
|
The edgewise bend mom offset field. |
required | |
edgewise_bend_mom_offset_crosstalk_corrected
|
The edgewise bend mom offset crosstalk corrected field. |
required | |
edgewisewise_bend_mom
|
The edgewisewise bend mom field. |
required | |
flapwise_bend_mom
|
The flapwise bend mom field. |
required | |
flapwise_bend_mom_crosstalk_corrected
|
The flapwise bend mom crosstalk corrected field. |
required | |
flapwise_bend_mom_offset
|
The flapwise bend mom offset field. |
required | |
flapwise_bend_mom_offset_crosstalk_corrected
|
The flapwise bend mom offset crosstalk corrected field. |
required | |
position
|
The position field. |
required |
Source code in examples/windmill/data_classes/_sensor_position.py
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 |
|
as_read()
Convert this GraphQL format of sensor position to the reading format.
Source code in examples/windmill/data_classes/_sensor_position.py
as_write()
Convert this GraphQL format of sensor position to the writing format.
Source code in examples/windmill/data_classes/_sensor_position.py
SensorPositionList
Bases: DomainModelList[SensorPosition]
List of sensor positions in the read version.
Source code in examples/windmill/data_classes/_sensor_position.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_sensor_position.py
as_write()
Convert these read versions of sensor position to the writing versions.
SensorPositionWrite
Bases: DomainModelWrite
This represents the writing version of sensor position.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the sensor position. |
required | |
data_record
|
The data record of the sensor position node. |
required | |
edgewise_bend_mom_crosstalk_corrected
|
The edgewise bend mom crosstalk corrected field. |
required | |
edgewise_bend_mom_offset
|
The edgewise bend mom offset field. |
required | |
edgewise_bend_mom_offset_crosstalk_corrected
|
The edgewise bend mom offset crosstalk corrected field. |
required | |
edgewisewise_bend_mom
|
The edgewisewise bend mom field. |
required | |
flapwise_bend_mom
|
The flapwise bend mom field. |
required | |
flapwise_bend_mom_crosstalk_corrected
|
The flapwise bend mom crosstalk corrected field. |
required | |
flapwise_bend_mom_offset
|
The flapwise bend mom offset field. |
required | |
flapwise_bend_mom_offset_crosstalk_corrected
|
The flapwise bend mom offset crosstalk corrected field. |
required | |
position
|
The position field. |
required |
Source code in examples/windmill/data_classes/_sensor_position.py
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 |
|
SensorPositionWriteList
Bases: DomainModelWriteList[SensorPositionWrite]
List of sensor positions in the writing version.
Source code in examples/windmill/data_classes/_sensor_position.py
Windmill
Bases: DomainModel
This represents the reading version of windmill.
It is used to when data is retrieved from CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the windmill. |
required | |
data_record
|
The data record of the windmill node. |
required | |
blades
|
The blade field. |
required | |
capacity
|
The capacity field. |
required | |
metmast
|
The metmast field. |
required | |
nacelle
|
The nacelle field. |
required | |
name
|
The name field. |
required | |
rotor
|
The rotor field. |
required | |
windfarm
|
The windfarm field. |
required |
Source code in examples/windmill/data_classes/_windmill.py
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 266 267 268 269 270 271 272 273 274 |
|
as_apply()
Convert this read version of windmill to the writing version.
Source code in examples/windmill/data_classes/_windmill.py
as_write()
Convert this read version of windmill to the writing version.
Source code in examples/windmill/data_classes/_windmill.py
WindmillGraphQL
Bases: GraphQLCore
This represents the reading version of windmill, used when data is retrieved from CDF using GraphQL.
It is used when retrieving data from CDF using GraphQL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the windmill. |
required | |
data_record
|
The data record of the windmill node. |
required | |
blades
|
The blade field. |
required | |
capacity
|
The capacity field. |
required | |
metmast
|
The metmast field. |
required | |
nacelle
|
The nacelle field. |
required | |
name
|
The name field. |
required | |
rotor
|
The rotor field. |
required | |
windfarm
|
The windfarm field. |
required |
Source code in examples/windmill/data_classes/_windmill.py
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 |
|
as_read()
Convert this GraphQL format of windmill to the reading format.
Source code in examples/windmill/data_classes/_windmill.py
as_write()
Convert this GraphQL format of windmill to the writing format.
Source code in examples/windmill/data_classes/_windmill.py
WindmillList
Bases: DomainModelList[Windmill]
List of windmills in the read version.
Source code in examples/windmill/data_classes/_windmill.py
as_apply()
Convert these read versions of primitive nullable to the writing versions.
Source code in examples/windmill/data_classes/_windmill.py
as_write()
Convert these read versions of windmill to the writing versions.
WindmillWrite
Bases: DomainModelWrite
This represents the writing version of windmill.
It is used to when data is sent to CDF.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
space
|
The space where the node is located. |
required | |
external_id
|
The external id of the windmill. |
required | |
data_record
|
The data record of the windmill node. |
required | |
blades
|
The blade field. |
required | |
capacity
|
The capacity field. |
required | |
metmast
|
The metmast field. |
required | |
nacelle
|
The nacelle field. |
required | |
name
|
The name field. |
required | |
rotor
|
The rotor field. |
required | |
windfarm
|
The windfarm field. |
required |
Source code in examples/windmill/data_classes/_windmill.py
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 |
|