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

Generator bus voltage for pti files #856

Open
jay-dave opened this issue Mar 6, 2023 · 2 comments
Open

Generator bus voltage for pti files #856

jay-dave opened this issue Mar 6, 2023 · 2 comments

Comments

@jay-dave
Copy link
Contributor

jay-dave commented Mar 6, 2023

PowerModels uses bus voltages (vm) from bus data as a setpoint for power flow calculations, even at generator buses. The .raw files have generator scheduled voltages (vg), that seems to be taking over the bus voltages (vm) for generator buses. Adding following simple code is helping to validate results for case 3, case 5 and case 14.

for (g,gen) in destination_data["gen"]
genbus = gen["gen_bus"]
destination_data["bus"]["$genbus"]["vm"] = gen["vg"]
end
where destination_data is the input_data dictionary (see pti.jl).

It might be a good idea to include this logic in data processing.

@jbarberia
Copy link
Contributor

I agree that is gonna be a good addition. The export_pti function also export the vg field instead of the bus vm.A similar process should be include there too.

@ccoffrin
Copy link
Member

ccoffrin commented Apr 4, 2023

This is topic is related to this discussion, #798

I think we have a plan for how to update the PowerModels conventions in the next breaking release. If you have other suggestions please add them to that thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants