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

412 commits

Author SHA1 Message Date
Niklas Eiling
ed6cd78b2f feat: make cast hook support writes
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2025-01-28 17:44:24 +01:00
Steffen Vogel
28d354cb84 Fix formatting with clang-format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-10-15 19:31:49 +02:00
Niklas Eiling
365bdd6288 dp hook: fix converted signals being inserted at the wrong position
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-07-29 13:50:36 +02:00
Niklas Eiling
64058be78f dp hook: make it an error when window size is 0
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-07-29 13:50:36 +02:00
Niklas Eiling
361f20f661 dp: use fmt::format instead of strf
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-06-06 09:29:29 +02:00
Niklas Eiling
c1425046ae dp hook: use .c_str to convert from std::string
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-06-06 09:29:29 +02:00
Niklas Eiling
1b06828711 DP hook: fix if that is never reached and check config in check()
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-05-29 09:18:00 +02:00
2529c7b2d7 Remove superfluous includes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 18:56:28 +02:00
936830d484 Remove unused includes and variables
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-03-27 17:22:07 +01:00
dc436073a2 Use spaces for indention of C++ comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
Steffen Vogel
c1410ef8a8 Fix formatting using clang-format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-14 10:09:52 +01:00
Philipp Jungkamp
33cd6165df Fix fmt 10.0.0 related formatting errors.
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-26 17:59:39 +02:00
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