You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Some cases like case16am.m (https://github.com/MATPOWER/matpower/blob/master/data/case16am.m) have the impedance un ohm instead of p.u. If you read this case with matpower, there is no problem, because the final lines in the file case16am.m changes the units. However, if you read the file using CaseFrames these last lines are not read, and you will operate with the impedances in omhs instead of p.u. Not sure if there is an easy fix for that. In any case, thanks a lot beforehand.
Salva.
The text was updated successfully, but these errors were encountered:
Solution, use matpower-pip for the data and utilize loadcase as it is the most intended way of loading matpower case. Maybe, I will make a PR to use this as the default behavior:
frommatpowerimportstart_instancefrommatpowercaseframesimportCaseFramesm=start_instance()
CASE_NAME=f"case16am.m"mpc=m.loadcase(CASE_NAME) # this will run ohm to p.u. convertioncf_16am=CaseFrames(mpc)
cf_16am.branch
Hi,
Some cases like case16am.m (https://github.com/MATPOWER/matpower/blob/master/data/case16am.m) have the impedance un ohm instead of p.u. If you read this case with matpower, there is no problem, because the final lines in the file case16am.m changes the units. However, if you read the file using CaseFrames these last lines are not read, and you will operate with the impedances in omhs instead of p.u. Not sure if there is an easy fix for that. In any case, thanks a lot beforehand.
Salva.
The text was updated successfully, but these errors were encountered: