First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hi,
I have two csv files; one has 10k rows and 16k columns represent samples of P injections The other has the same size but represents samples of Q injections I have a .raw file (working case) that I wish to change the bus load injections (P and Q one row at a time) for all the buses and then run OPF to save the buses voltages and branch currents mag and angles in spreadsheets.
In the sampled data files, each row represents a an OPF run. Thus, each element in the row is a bus injection
I could not find an API function that changes all the buses power injections at once. Can anyone help me with this please? I need to write this in a python script that changes all the buses loads at once then run an OPF.
Thanks in advance
2 | No.2 Revision |
Hi,
I have two csv files; one has 10k rows and 16k columns represent samples of P injections injections.
In the sampled data files, each row represents a an OPF run. Thus, each element in the row is a bus injection injection.
I could not find an API function that changes all the buses power injections at once. Can anyone help me with this please? I need to write this in a python script that changes all the buses loads at once then run an OPF.
Thanks in advance