We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parse_file
Describe the bug The character UTF-8 0x09 (Tabulation) is not recognized in the parse_file using .dss files.
.dss
Minimum Viable Example
// test.dss Clear new circuit.test bus1=SOURCEBUS pu=1.0 New Line.Line_1 bus1=SOURCEBUS bus2=BUS_1 New Load.Load_1 phases=3 conn=Wye bus1=BUS_1 kw=0.1 kvar=0.03 model=1 solve
import PowerModelsDistribution const PMD = PowerModelsDistribution case_file = "test.dss" model_dict = PMD.parse_file(case_file)
Screenshots
System Information (please complete the following information):
The text was updated successfully, but these errors were encountered:
I think that the problem is this function:
PowerModelsDistribution.jl/src/io/dss/dss_parse.jl
Line 538 in 7a6b03e
Because many of the validation statements use space. E.g.:
Lines 554 to 560 in 7a6b03e
Maybe changing the space validation to the built-in Julia's function isspace can solve this issue.
isspace
@pseudocubic, I can create a PR if you are ok with this solution.
Sorry, something went wrong.
@felipemarkson isspace looks like a promising solution, I would welcome the PR
OpenDSSDirect.jl
Successfully merging a pull request may close this issue.
Describe the bug
The character UTF-8 0x09 (Tabulation) is not recognized in the
parse_file
using.dss
files.Minimum Viable Example
DSS Code
Julia File
Screenshots
System Information (please complete the following information):
The text was updated successfully, but these errors were encountered: