emoncms / MyHomeEnergyPlanner

My Home Energy Planner - Open Source home energy assessment software based on emoncms framework + openbem
GNU Affero General Public License v3.0
22 stars 27 forks source link

Floor U-value calculator not calculating #395

Closed ghost closed 6 years ago

ghost commented 6 years ago

For suspended floors - enter all the figures and hit calculate but nothing happens.

(Feel like this has happened before, but I couldn't find the old issue, in case it's the same problem. Sorry!)

cagabi commented 6 years ago

If you have the moment can you please do it again and once the tool doesn't respond open the developer tools (roght click anywhere in screen) and copy the error that must be in the console. Thanks

ghost commented 6 years ago

Hi Carlos, It's not that it doesn't respond exactly - it's that when you hit calculate it returns you to the main fabric page but the number in the floor u-value box is still 0.0 and red. Doesn't do this for solid floors for some reason, only suspended. Screenshot of screen just before I hit calculate attached.

screen shot 2018-07-25 at 12 23 44
ghost commented 6 years ago

And here's the developer console. Seems to be returning the U-value of the walls as 'NaN' - guessing that's the problem?

screen shot 2018-07-25 at 12 28 53
cagabi commented 6 years ago

I have fixed it, The problem was that I missed a parameter in the calculation of the equivalent thickness of the basement wall (generating a NotANumber (NaN) result). The error didn't show before because we only have to calculate it when the deepness of the basement floor is more than 0.5m

cagabi commented 6 years ago

Trying it again and something different seems to be broken. Hold on before using it

cagabi commented 6 years ago

The problem is not related to this so I close this issue again