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

ERROR: DimensionMismatch #199

Closed
MarioInTaipei opened this issue Oct 21, 2019 · 12 comments · Fixed by #376
Closed

ERROR: DimensionMismatch #199

MarioInTaipei opened this issue Oct 21, 2019 · 12 comments · Fixed by #376

Comments

@MarioInTaipei
Copy link

Hi,
I ran a relatively large file (11M connections between 3960000 nodes ) in Circuitscape 5.5.4 and Circuitscape 4.0.5 using the same .ini file.
It works well in 4.0.5 generating 216764 entries in the output_voltages.txt.
In 5.5.4 it generates the error: "tried to assign 3960001-element array to 216764×1 destination".

@ranjanan
Copy link
Member

ranjanan commented Oct 22, 2019 via email

@MarioInTaipei
Copy link
Author

MarioInTaipei commented Oct 23, 2019 via email

@ViralBShah
Copy link
Member

Could you share your input files and the ini file?

@MarioInTaipei
Copy link
Author

Hi,
I found that the error happens regardless of input file size. I attached the pairs and ini (I had to add a.txt ending to upload it to Github)
pairs.txt
ground.txt
source.txt

output.ini.txt

@ranjanan
Copy link
Member

ranjanan commented Dec 6, 2019

@MarioInTaipei I am able to reproduce this error, I'll come up with a fix soon. I see that you're using network mode? Could I ask you about your application and why you choose to use network mode instead of raster mode?

@MarioInTaipei
Copy link
Author

MarioInTaipei commented Dec 6, 2019 via email

@ViralBShah
Copy link
Member

That's fascinating. Any pointers to your work or papers would be fun to look at.

@MarioInTaipei
Copy link
Author

MarioInTaipei commented Dec 6, 2019 via email

@ranjanan
Copy link
Member

ranjanan commented Dec 9, 2019

@MarioInTaipei I am currently in the process of finishing up my semester (and all the associated exams), and I will be able to work on this a little before Christmas time. I hope this does not get in the way of you submitting your work.

@MarioInTaipei
Copy link
Author

MarioInTaipei commented Dec 10, 2019 via email

@ranjanan
Copy link
Member

ranjanan commented Jan 8, 2020

@MarioInTaipei I have been working on a fix, and got the following outputs. Could you verify that these outputs look right and match Circuitscape 4? if so, I'll push this fix.

output_voltages.txt
output_node_currents.txt
output_branch_currents.txt

Thanks!

@MarioInTaipei
Copy link
Author

MarioInTaipei commented Jan 9, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants