How to turn off the warn from PowerModels.jl

julia> import PowerModels

julia> PowerModels.make_basic_network(PowerModels.parse_file("data/case118.m"));
[warn | PowerModels]: this code only supports angmin values in -90 deg. to 90 deg., tightening the value on branch 1 from -360.0 to -60.0 deg.
# many many lines of warn

I wonder how to turn off the warns above.

Try PowerModels.silence().

Why do you want to hide the warnings?

1 Like

Because it flushes my screen.