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
When parsing the dss file this error appears
LoadError: UndefVarError: c_string not defined
When the tcc_curves are comment out the parse has no error.
[info | PowerModels]: Suppressing information and warning messages for the rest of this session. Use the Memento package for more fine-grained control of logging.
ERROR: LoadError: UndefVarError: c_string not defined
Stacktrace:
[1] _dss2eng_curve!(data_eng::Dict{String, Any}, data_dss::Dict{String, Any})
@ PowerModelsProtection .....\PowerModelsProtection.jl\src\io\dss\dss2eng.jl:246
[2] parse_opendss(data_dss::Dict{String, Any}; import_all::Bool, bank_transformers::Bool, time_series::String, dss2eng_extensions::Vector{Function})
@ PowerModelsDistribution .....julia\packages\PowerModelsDistribution\Pxoxg\src\io\dss\dss2eng.jl:1114
[3] #parse_opendss#3068
@ ......julia\packages\PowerModelsDistribution\Pxoxg\src\io\dss\dss2eng.jl:1008 [inlined]
[4] parse_file(io::IOStream, filetype::SubString{String}; data_model::PowerModelsDistribution.DataModel, import_all::Bool, bank_transformers::Bool, transformations::Vector{Any}, dss2eng_extensions::Vector{Function}, eng2math_extensions::Vector{Function}, eng2math_passthrough::Dict{String, Vector{String}}, make_pu_extensions::Vector{Function}, make_pu::Bool, multinetwork::Bool, global_keys::Set{String}, kron_reduce::Bool, phase_project::Bool, time_series::String)
@ PowerModelsDistribution .....julia\packages\PowerModelsDistribution\Pxoxg\src\io\common.jl:73
[5] #3092
@ .....julia\packages\PowerModelsDistribution\Pxoxg\src\io\common.jl:139 [inlined]
[6] open(f::PowerModelsDistribution.var"#3092#3093"{Base.Pairs{Symbol, Any, Tuple{Symbol, Symbol}, NamedTuple{(:dss2eng_extensions, :import_all), Tuple{Vector{Function}, Bool}}}, String}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\io.jl:330
[7] open
@ .\io.jl:328 [inlined]
[8] #parse_file#3091
@ .......julia\packages\PowerModelsDistribution\Pxoxg\src\io\common.jl:138 [inlined]
[9] #parse_opendss#322
@ ....\github\PowerModelsProtection.jl\src\io\opendss.jl:12 [inlined]
[10] parse_file(file::String; method::Missing, add_gensub::Bool, flat_start::Bool, neglect_line_charging::Bool, neglect_transformer::Bool, zero_gen_setpoints::Bool, import_all::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ PowerModelsProtection ....\github\PowerModelsProtection.jl\src\io\common.jl:46
[11] parse_file(file::String)
@ PowerModelsProtection .....\github\PowerModelsProtection.jl\src\io\common.jl:33
[12] top-level scope
@ ....\github\PowerModelsProtection.jl\test\test.jl:35
in expression starting at .....\github\PowerModelsProtection.jl\test\test.jl:35
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When parsing the dss file this error appears
LoadError: UndefVarError: c_string not defined
When the tcc_curves are comment out the parse has no error.
[info | PowerModels]: Suppressing information and warning messages for the rest of this session. Use the Memento package for more fine-grained control of logging.
ERROR: LoadError: UndefVarError: c_string not defined
Stacktrace:
[1] _dss2eng_curve!(data_eng::Dict{String, Any}, data_dss::Dict{String, Any})
@ PowerModelsProtection .....\PowerModelsProtection.jl\src\io\dss\dss2eng.jl:246
[2] parse_opendss(data_dss::Dict{String, Any}; import_all::Bool, bank_transformers::Bool, time_series::String, dss2eng_extensions::Vector{Function})
@ PowerModelsDistribution .....julia\packages\PowerModelsDistribution\Pxoxg\src\io\dss\dss2eng.jl:1114
[3] #parse_opendss#3068
@ ......julia\packages\PowerModelsDistribution\Pxoxg\src\io\dss\dss2eng.jl:1008 [inlined]
[4] parse_file(io::IOStream, filetype::SubString{String}; data_model::PowerModelsDistribution.DataModel, import_all::Bool, bank_transformers::Bool, transformations::Vector{Any}, dss2eng_extensions::Vector{Function}, eng2math_extensions::Vector{Function}, eng2math_passthrough::Dict{String, Vector{String}}, make_pu_extensions::Vector{Function}, make_pu::Bool, multinetwork::Bool, global_keys::Set{String}, kron_reduce::Bool, phase_project::Bool, time_series::String)
@ PowerModelsDistribution .....julia\packages\PowerModelsDistribution\Pxoxg\src\io\common.jl:73
[5] #3092
@ .....julia\packages\PowerModelsDistribution\Pxoxg\src\io\common.jl:139 [inlined]
[6] open(f::PowerModelsDistribution.var"#3092#3093"{Base.Pairs{Symbol, Any, Tuple{Symbol, Symbol}, NamedTuple{(:dss2eng_extensions, :import_all), Tuple{Vector{Function}, Bool}}}, String}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\io.jl:330
[7] open
@ .\io.jl:328 [inlined]
[8] #parse_file#3091
@ .......julia\packages\PowerModelsDistribution\Pxoxg\src\io\common.jl:138 [inlined]
[9] #parse_opendss#322
@ ....\github\PowerModelsProtection.jl\src\io\opendss.jl:12 [inlined]
[10] parse_file(file::String; method::Missing, add_gensub::Bool, flat_start::Bool, neglect_line_charging::Bool, neglect_transformer::Bool, zero_gen_setpoints::Bool, import_all::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ PowerModelsProtection ....\github\PowerModelsProtection.jl\src\io\common.jl:46
[11] parse_file(file::String)
@ PowerModelsProtection .....\github\PowerModelsProtection.jl\src\io\common.jl:33
[12] top-level scope
@ ....\github\PowerModelsProtection.jl\test\test.jl:35
in expression starting at .....\github\PowerModelsProtection.jl\test\test.jl:35
DG_Prot_Fdr.zip
10
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: