1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

400 commits

Author SHA1 Message Date
Philipp Jungkamp
f9853f52c7 hook-digest: Add integration test
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
25601efa54 hook-reorder_ts: Add integration test
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
043ff81eb5 Fix SampleFlags HAS_ALL and NEW_FRAME
SampleFlags::HAS_ALL was not including the NEW_* style flags.
The NEW_SIMULATION flag is now independent from the NEW_FRAME flag,
since the dependency made checking that flag unnecessarily difficult.

Checking a composite flag like this

 if ((smp->flags & SampleFlags::NEW_SIMULATION) == SampleFlags::NEW_SIMULATION);

is more verbose than checking a simple flag like

 if (smp->flags & SampleFlags::NEW_SIMULATION);

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
065de3ab6d hook-digest: Add hook for computing digests
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
c2eefabb93 hook-frame: Add hook to add SampleFlags::NEW_FRAME annotations
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
97b769a80d Replace SampleFlags IS_FIRST/IS_LAST with NEW_SIMULATION
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Steffen Vogel
02a2aa4f94 Apply clang-format changes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-08 11:37:42 +02:00
Steffen Vogel
7d2f073075 Fix REUSE compliance for reorder hook
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Philipp Jungkamp
73ca4b5c8d Replace remaining C style comments
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-07 11:16:04 +02:00
bbb3cfe240 Remove more Doxygen-style comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-09-07 11:16:04 +02:00
68654f95f2 Add periods after file headers and fix email addresses
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-09-07 11:16:04 +02:00
Steffen Vogel
0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Steffen Vogel
78727be952 Use C++ style comments
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Steffen Vogel
636dee213c Fix code-style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-08-30 14:57:05 +02:00
Philipp Jungkamp
26887f00ff hook-reorder-ts: Fix code-style
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-08-30 14:57:05 +02:00
Philipp Jungkamp
bde1582348 hook-reorder-ts: Add hook to fix reordered samples
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-08-30 14:57:05 +02:00
Manuel Pitz
536b39e96d hook: pmu_dft clenaup ifdefs for dumper
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-07-06 11:53:36 +02:00
Steffen Vogel
f409e05c35 Refactor naming of json_t variables
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 08:15:49 +02:00
Philipp Jungkamp
79f39ff0e8 fix warnings in release builds
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-15 09:49:59 +02:00
Manuel Pitz
1a01012e7c make compatible to fmt version 9.0.3
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-01-11 12:11:57 +01:00
7eec1bb753 update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-16 23:44:07 +01:00
576a63be9c introduce new macro for format buffer length 2022-11-07 10:13:57 -05:00
Manuel Pitz
6622cc8431 fix: correct time alignment for phasor rate calculation 2022-07-06 19:20:55 +02:00
b94746effb relicense VILLASnode to Apache 2.0 2022-07-04 18:23:57 +02:00
Manuel Pitz
addef9a1e5 Hook pmu dft classes 2022-06-01 18:15:29 +02:00
Manuel Pitz
17c7ff7ede add power hook 2022-04-08 18:16:01 +02:00
Manuel Pitz
376ff12d08 fix auto merge error 2022-04-08 17:38:10 +02:00
Manuel Pitz
f9c2c1e343 cleanup 2022-04-08 17:38:10 +02:00
Manuel Pitz
0e6bf3f20d fix pmu_dft 2022-04-08 17:38:10 +02:00
Manuel Pitz
39c96feecb add lpdft as estimation algorithm and update estimation function 2022-04-08 17:38:10 +02:00
6ab0fbdf13 hook-pmu_dft: fix timetagging of phasor 2022-04-08 17:38:10 +02:00
849876a349 hook-rms: fix integration error. previously using the next value to
update accumulator
2022-04-08 17:02:29 +02:00
f09f91a9e2 fix cppcheck warnings 2022-03-28 16:26:41 +02:00
Manuel Pitz
f63ec3a6c9 Doc update 2022-03-28 10:32:28 +02:00
Manuel Pitz
634d95362a Update pps_ts.cpp 2022-03-23 12:29:21 +00:00
Manuel Pitz
6a8081857f Update pps_ts.cpp 2022-03-23 12:29:21 +00:00
Manuel Pitz
4340ce39b5 Documentation update 2022-03-23 10:02:22 +01:00
Manuel Pitz
08c4d98d80 cleanup unused variables in pmu_dft and update documentation 2022-03-22 20:33:01 +01:00
Manuel Pitz
7fc87985a7 add capability to compensate for phase, amplitude, frequency and rocof offset 2022-03-22 18:42:10 +00:00
Manuel Pitz
426726ad79 fixes and update of pmu_dft hook 2022-03-22 18:42:10 +00:00
Manuel Pitz
71f2bc9b7f add round hook 2022-03-22 18:42:10 +00:00
Manuel Pitz
5a6c135083 add renumbering for decimate to allow detection of missed samples even if decimating 2022-03-22 18:15:28 +01:00
Manuel Pitz
76bfd3f6f4 hook: change sync to middle of second to avoid errors when system time is mostly synced 2022-03-22 17:56:13 +01:00
5cdce16d3f remove empty lines and file beginnings 2022-03-15 09:29:20 -04:00
11a25f6fb7 update mail address 2022-03-15 09:29:20 -04:00
17ac92aa21 update copyright year 2022-03-15 09:28:57 -04:00
d4f74a5a51 add new format-type for OPAL-RT's AsyncIP example 2022-02-24 08:02:19 -05:00
784e970bfe port large parts of VILLASnode to C++ and fix tests alongside 2022-01-11 09:19:53 -05:00
6adcd8cf92 limit_value: fix typo in hook config parser 2022-01-10 17:52:59 +01:00
Manuel Pitz
4fb8b78b03 update signal renaming behaviour for rms and pmu_dft hook 2021-11-24 12:40:29 +01:00