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

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

32 lines
978 B
YAML
Raw Permalink Normal View History

2021-11-18 12:10:36 +01: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-11-18 12:10:36 +01:00
allOf:
2022-01-10 17:52:36 +01:00
- type: object
required:
- expected_smp_rate
properties:
2022-01-10 17:52:36 +01:00
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."
2022-01-10 17:52:36 +01:00
threshold:
type: number
default: 1.5
description: "The signal level threshold of the PPS signal which is used to detect an edge."
2022-01-10 17:52:36 +01:00
expected_smp_rate:
type: integer
description: "The expected sampling rate of the input signal. Only important for a faster initialization."
2022-01-10 17:52:36 +01:00
horizon_estimation:
type: integer
default: 10
horizon_compensation:
type: integer
default: 10
2022-04-05 17:32:37 +02:00
- $ref: ../hook_single.yaml