power-grid-model icon indicating copy to clipboard operation
power-grid-model copied to clipboard

[FEATURE] Batch for source mode parameters (sk, rx_ration, z01_ratio)

Open WinApiMan opened this issue 4 months ago • 2 comments

Is it possible to modify the library in such a way that it would be possible to change the parameters of the source mode (sk, rx_ratio, z01_ratio). This would make it more convenient to calculate the model in different network operating modes (max, min and set source modes) without creating a copy of the model with different source parameters.

WinApiMan avatar Oct 13 '25 08:10 WinApiMan

Hi @WinApiMan,

Thanks for your request. In theory we can make every attribute except id to be updatable. It is always a use-case-driven choice. Can you further elaborate your use cases? How many copies you can avoid in your calculation, if such a feature is implemented?

TonyXiang8787 avatar Oct 13 '25 08:10 TonyXiang8787

@TonyXiang8787, The task is to calculate relay protection settings. It is necessary to calculate short-circuit currents at the nodes in different operating modes of the sources. At this stage, the source can have up to 10 power modes( different sk, rx_ratio, z01_ratio). At this stage, to solve this problem, I create up to 10 copies of the same model, which differ only in the source parameters. And using the batch, I iteratively hang a short circuit on the required node.This is not very efficient, as the network model is extremely large, up to 5000 nodes.(Regional power grid)

WinApiMan avatar Oct 13 '25 08:10 WinApiMan