2021-11-18 12:10:36 +01:00
|
|
|
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
|
2022-01-10 17:52:36 +01:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2021-11-18 12:10:36 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2022-01-10 17:52:36 +01:00
|
|
|
---
|
2021-11-18 12:10:36 +01:00
|
|
|
allOf:
|
2022-01-10 17:52:36 +01:00
|
|
|
- type: object
|
|
|
|
required:
|
|
|
|
- f0
|
|
|
|
- harmonics
|
|
|
|
properties:
|
|
|
|
f0:
|
|
|
|
description: The fundamental frequency.
|
|
|
|
example: 50
|
|
|
|
type: number
|
|
|
|
dt:
|
|
|
|
description: The timestep of the input samples. Exclusive with `rate` setting.
|
|
|
|
default: 50e-6
|
|
|
|
type: number
|
|
|
|
rate:
|
|
|
|
type: number
|
|
|
|
description: The rate of the input samples. Exclusive with `dt` setting.
|
|
|
|
harmonics:
|
|
|
|
type: object
|
|
|
|
description: A list of selected harmonics which should be calculated.
|
|
|
|
example: [0, 1, 3, 5 ]
|
|
|
|
items:
|
|
|
|
type: integer
|
|
|
|
inverse:
|
|
|
|
description: Enable the calucation of the inverse transform.
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
|
2022-04-07 08:52:19 +02:00
|
|
|
- $ref: ../hook_single.yaml
|