MATLAB’s inane idea of time

MATLAB seems to have a very peculiar notion on how to represent dates and times. Yesterday I spent a wonderful couple of hours debugging some code that’s supposed to compute the sun’s position, most of which could have been avoided if the MATLAB designers had followed a simple convention used by, I believe, most computing […]

Installing ESP-r on Ubuntu 9.10

ESP-r, is an integrated modelling tool for the simulation of the thermal, visual and acoustic performance of buildings and the assessment of the energy use and gaseous emissions associated with the environmental control systems and constructional materials, in the words of its official website. In other words, it’s a computer program for modeling a building’s […]

Why I’m disabling MathML for now

In a previous post I described how I tweaked my WordPress installation to support the display of MathML markup, for displaying mathematical equations. One of the steps involved changing the content-type from application/html to application/xhtml+xml. That step was necessary, or else Firefox would simply not render the MathML markup properly. Unfortunately, application/xhtml+xml is simply not […]

Equivalent conductance due to air infiltrations

Here is how you compute the thermal coupling between a room’s indoor temperature and the outdoor temperature due to infiltrations. The equation governing the exchange of heat is as follows: Cair × dT/dt = g × Δ T where Cair is the indoor air thermal mass [J/K], T is the indoor air temperature [K], g […]

Event rate of arrival analysis with R

Here is a very common problem: suppose you’re give a series of event timestamps. The events can be anything—website logins, persons entering a building, anything that recurs regularly in time but whose rate of arrival is not known in advance. Here is, for example, such a file which I had to analyze: 05.02.2010 09:00:18 05.02.2010 […]

Project GreenFire mentioned on Java Posse

On a recent episode of The Java Posse they mentioned a project I had never heard about before: project GreenFire. From the project’s website: GreenFire efficient manages and controls heating control of houses and saves energy. GreenFire is based on Java EE 5 (is tested with Glassfish v2), Scripting, RMI and Shoal. SunSpot integration is […]

Scroll to top