1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/doc/openapi/components/schemas/formats/sogno.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

77 lines
1.9 KiB
YAML
Raw Normal View History

2021-10-09 17:38:49 +02:00
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
2022-01-10 17:52:36 +01:00
---
2021-10-09 17:38:49 +02:00
title: PMU format used in SOGNO LF project
2021-11-18 12:10:36 +01:00
example:
device: device1
2021-10-09 17:38:49 +02:00
timestamp: '2020-05-20T10:27:57.980802+00:00'
readings:
- component: BUS1
measurand: voltmagnitude
phase: A
data: 123
- component: BUS2
measurand: voltmagnitude
phase: A
data: 123
type: object
required:
- device
- timestamp
- readings
properties:
2021-10-09 17:38:49 +02:00
device:
description: ID for measurement device
type: string
timestamp:
description: Timestamp of measurement in ISO 8601 format
type: string
pattern: '^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?)?)?)?$'
2021-10-09 17:38:49 +02:00
readings:
type: array
items:
type: object
properties:
2021-10-09 17:38:49 +02:00
component:
description: ID (uuid) from CIM document
type: string
format: uuid
2021-10-09 17:38:49 +02:00
measurand:
type: string
enum:
- voltmagnitude
- voltangle
- currmagnitude
- currangle
- activepower
- reactivepower
- apparentpower
- frequency
2021-10-09 17:38:49 +02:00
phase:
type: string
enum:
- A
- B
- C
2021-10-09 17:38:49 +02:00
data:
type: number
description: |
Measurement value as in the following format depending on value of measurand:
- voltmagnitude: phase-to-ground RMS value, unit volts
- voltangle: unit radian
- currmagnitude: RMS value, unit ampere
- currangle: unit radian
- activepower: single phase power, unit watts
- reactivepower: single phase power, unit voltampere reactive
- apparentpower: single phase power, unit voltampere
- frequency: unit hertz