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

Different calculations values between mac and windows #146

Open
vidanovic opened this issue Oct 13, 2022 · 0 comments
Open

Different calculations values between mac and windows #146

vidanovic opened this issue Oct 13, 2022 · 0 comments

Comments

@vidanovic
Copy link
Collaborator

When running TestDoubleClearIndoorShadeAir in Windows vs Mac, they produce slightly different results. Problem seems to be that one multiplication operation is giving different results between windows and mac. I have tried same thing in python and did obtain the same results:

`
STEFANBOLTZMANN = 5.6697e-08
Emissivity = 0.83999999999999997
Temperature = 276.29432700032805

result = STEFANBOLTZMANN * Emissivity * Temperature**3

print(result)
`

This produces 1.0045123242711191 on windows and 1.0045123242711194 on mac.
I suspect that this is what causing differences at the final results since iterations are performing differently from this point onwards.

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

1 participant