Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unique_domain and other functions to pre-process time-evolution data. #3210

Closed
tplobo opened this issue Apr 22, 2024 · 1 comment · Fixed by #3250
Closed

Add unique_domain and other functions to pre-process time-evolution data. #3210

tplobo opened this issue Apr 22, 2024 · 1 comment · Fixed by #3250
Assignees

Comments

@tplobo
Copy link

tplobo commented Apr 22, 2024

Accounting transient power loads, voltages, currents, etc, requires transforming the data that defines them into objects of classes that represent them as time-evolution functions.

Mathematical 1D functions essentially define a mapping of a series of values in a Domain to a series of values in an Image (x -> y). These relationships must obey certain conditions, especially to ensure compatibility with other methods/modules, such as scipy.interpolate.interp1d. This also ensures these time-evolution representations may be added, subtracted and so on.

Creation of any object that represents the time-evolution of a physical quantity must pre-process x-values and y-values to make them qualify as domain and image, ensuring the following for each case:

  • new object from raw data: the domain must be composed of unique values (no x value is repeated), e.g. using a unique_domain(x,y) function.
  • new object from other objects: the images of multiple objects must be expanded to match a single domain, composed by the union of all individual domains, e.g. using a match_domains(x_set,y_set)function.
@tplobo tplobo changed the title 1.2. (*) add unique_domain and associated functions to the pre-processing of input data for loads. Add unique_domain and other functions used to pre-processing input data for loads. Apr 22, 2024
@tplobo tplobo changed the title Add unique_domain and other functions used to pre-processing input data for loads. Add unique_domain and other functions to pre-process time-evolution data. Apr 22, 2024
@tplobo tplobo self-assigned this May 6, 2024
@tplobo
Copy link
Author

tplobo commented Jul 5, 2024

Closed by #3250.

@tplobo tplobo closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant