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

Programmatically generate partition data for editing #29

Open
clizbe opened this issue Feb 19, 2024 · 5 comments
Open

Programmatically generate partition data for editing #29

clizbe opened this issue Feb 19, 2024 · 5 comments
Labels
Type: addition Add something that doesn't exist Zone: user functions Capabilities for user to manipulate data

Comments

@clizbe
Copy link
Member

clizbe commented Feb 19, 2024

No description provided.

@abelsiqueira
Copy link
Member

My initial vision for this is:

Input:

  • 3 DataFrames: assets, flows, and representative periods
  • parameters that define basic rules, for instance:
    • explicit = [("Midgard_Hydro", 1, :uniform, 2)] explicit defines a row
  • callback function to be applied to the resulting dataframes. For instance, run a query selecting all asset with country == "DE" and set specification=:uniform and partition=2.
  • parameters that define rules defined in Find all cases where the flow resolution can/must be inferred TulipaEnergyModel.jl#453

Output:

  • 2 DataFrames: partitioning of the assets and partitioning of the flows

Please, when possible, add examples of basic rules, or of things that we want done with callback and/or rules.

@abelsiqueira abelsiqueira self-assigned this Mar 12, 2024
@abelsiqueira
Copy link
Member

This will be relevant to other parts of the workflow, so I am increasing the priority.

@abelsiqueira
Copy link
Member

@clizbe
Copy link
Member Author

clizbe commented Apr 15, 2024

Probably belongs in TIO, but needs investigation.

@clizbe clizbe changed the title Create user interface to define partitions Programmatically generate partition data for editing May 6, 2024
@clizbe clizbe transferred this issue from TulipaEnergy/TulipaEnergyModel.jl May 6, 2024
@suvayu suvayu added Zone: interop Interop between Julia & DuckDB Zone: user functions Capabilities for user to manipulate data and removed Zone: interop Interop between Julia & DuckDB labels May 6, 2024
@abelsiqueira abelsiqueira removed their assignment May 8, 2024
@datejada
Copy link
Member

datejada commented Jul 2, 2024

Also consider #453 when tackling this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: addition Add something that doesn't exist Zone: user functions Capabilities for user to manipulate data
Projects
None yet
Development

No branches or pull requests

4 participants