2021-11-18 12:10:36 +01:00
|
|
|
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
|
2022-03-23 11:18:42 +01:00
|
|
|
# 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
|
2024-02-28 00:12:39 +01:00
|
|
|
properties:
|
2022-01-10 17:52:36 +01:00
|
|
|
mode:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- simple
|
|
|
|
- horizon
|
|
|
|
default: simple
|
2022-03-23 11:18:42 +01:00
|
|
|
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
|
2022-03-23 11:18:42 +01:00
|
|
|
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
|
2022-03-23 11:18:42 +01:00
|
|
|
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
|
|
|
|
2022-04-07 08:52:19 +02:00
|
|
|
- $ref: ../hook_single.yaml
|