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

TCC_Curve c-array error #451

Closed
jtabarez opened this issue Dec 1, 2023 · 1 comment
Closed

TCC_Curve c-array error #451

jtabarez opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
wontfix This will not be worked on

Comments

@jtabarez
Copy link
Collaborator

jtabarez commented Dec 1, 2023

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

Additional context
Add any other context about the problem here.

@pseudocubic pseudocubic self-assigned this Dec 1, 2023
Copy link

stale bot commented Jun 1, 2024

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.

@stale stale bot added the wontfix This will not be worked on label Jun 1, 2024
@stale stale bot closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants