Repository navigation
Formula calculator components - #318
Merged
Merged
Conversation
added 3 commits
November 13, 2026 17:06
…rting them Storing a released component requires the components it imports via import_comp to be stored already. Ordering by nesting level kept all components (level 0) in the order of the files, so importing, e.g. deploying the base transformations, failed for a component importing another one which came later. runtime/conftest.py provides the base components to import_comp when pytest collects base components importing other base components, so that their tests also run with pytest directly, e.g. by ./run check. Assisted-by: Claude Code:claude-opus-5-5
Calculate a formula like in Excel, e.g. (a + b) / 2, from up to five timeseries a, b, c, d and e for each point in time with pandas eval, in the default_timezone from the metadata of the timeseries. The documentation is written for users without a programming background, and error messages explain what to change, also for habits from Excel. Formelrechner is the German version: It imports Formula Calculator via import_comp and only adds German documentation, names and messages. Assisted-by: Claude Code:claude-opus-5-5
Running sum of a timeseries restarting every day at midnight, e.g. the amount so far today from 5-minute values of a mass flow, with German documentation. By default timestamps mark the end of the interval of their value, so the value at midnight belongs to the day ending then; the input rechtsbuendig switches to timestamps marking the start. Days are those of the given time zone, otherwise of the default_timezone from the metadata, otherwise UTC, but never the time zone of plots, so that the sums do not depend on who executes the component. Factors for the time unit and the unit of the amount convert e.g. mg/s into kg. Assisted-by: Claude Code:claude-opus-5-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.