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

Limited Precision in Network Parameters #111

Open
AdamRTomkins opened this issue Apr 20, 2016 · 3 comments
Open

Limited Precision in Network Parameters #111

AdamRTomkins opened this issue Apr 20, 2016 · 3 comments

Comments

@AdamRTomkins
Copy link

Network Parameters are limited to 5 decimal places. Which ordinarily should be enough, but I am implementing a model with very specific parameters such as 0.000001.

This leaves me with either 0, or the closest, an order of magnitude larger which throws everything off.

Is is possible to lift this restriction in the text boxes?

@AdamRTomkins
Copy link
Author

Its worth noting that these parameters are dimensionless, as they are not physically relevant, so it would not make sense to give them dimensions.

@ajc158
Copy link
Collaborator

ajc158 commented Apr 20, 2016

Hi,

This does raise some bigger issues. On the one hand you need to be able to specify these sort of numbers, on the other hand improper use of numbers with large ranges of scalings can lead to big numerical hygiene issues. Now ideally we planned that you could input the dimensions in the equations (including scalings) then the dimensions in the numbers you provide (also including scalings that default to those in the equations) - then the simulator takes these and works out how to use them in a numerically accurate way. Obviously this isn't implemented yet, but we do have a hackathon next week so it will be discussed there... in the mean time you can change the value in the XML and I believe as long as you do not change it again in the GUI it will stick between load/save cycles - not ideal but we will address this soon!

Alex

@AdamRTomkins
Copy link
Author

Thats a fair work around for the moment, I shouldn't need to change them again in the GUI. Thanks for the quick response

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

No branches or pull requests

2 participants