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/hooks/pps_ts.yaml
Steffen Vogel 24e8fe62b9 openapi: Remove trailing whitespaces
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00

31 lines
978 B
YAML

# 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
---
allOf:
- type: object
required:
- expected_smp_rate
properties:
mode:
type: string
enum:
- simple
- horizon
default: simple
description: "The synchronization mode. The `horizon` mode is currently no recommended to use as it is not fully tested."
threshold:
type: number
default: 1.5
description: "The signal level threshold of the PPS signal which is used to detect an edge."
expected_smp_rate:
type: integer
description: "The expected sampling rate of the input signal. Only important for a faster initialization."
horizon_estimation:
type: integer
default: 10
horizon_compensation:
type: integer
default: 10
- $ref: ../hook_single.yaml