Skip to content

[FEATURE] 2-D or cross-join of batch updates #1176

@pieterminnaar

Description

@pieterminnaar

We need to do an hourly calculation for a full year of multiple N-1 scenarios.

You now have to create a new model for each N-1 situation and then do a batch update for the timeseries.

It would be convenient if this can be done in one step which will in effect be a cross-join between the two update sets.

n_min_1_and_timeseries = {
ComponentType.sym_load: load_profile, # Contains an hourly value for each load
ComponentType.line: line_status, # Contains a network mutation for a cable
}
output_data = model.calculate_power_flow(update_data=n_min_1_and_timeseries)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    Status

    Q1 2026

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions