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/config/signal.yaml

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

58 lines
1.1 KiB
YAML
Raw Normal View History

2022-04-05 17:32:37 +02:00
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
2021-11-18 12:10:36 +01:00
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
2022-04-05 17:32:37 +02:00
# SPDX-License-Identifier: Apache-2.0
2021-11-18 12:10:36 +01:00
---
type: object
properties:
name:
type: string
title: Signal name
description: |
A name which describes the signal.
example: Bus123_U
unit:
type: string
title: Signal unit
description:
The unit of the signal.
example: V
type:
type: string
title: Signal data-type
description: |
The data-type of the signal.
default: float
enum:
- integer
- float
- boolean
- complex
init:
title: Initial signal value.
description: |
The initial value of the signal.
oneOf:
- type: integer
- type: number
- type: boolean
- type: object
required:
- real
- imag
additionalProperties: false
properties:
real:
type: number
imag:
type: number
enabled:
type: boolean
default: true
description: |
Signals can be disabled which causes them to be ignored.