SketchUp: NHS Western Isles Hospital

 

GreenspaceLive is a software and consultancy shop based on the Isle of Lewis in Scotland. The company was founded in 2008 as a spin-out from the Greenspace Research, a low-carbon building and renewable energy research program at Lews Castle College, University of the Highlands and Islands. This case study about gModeller, the company’s SketchUp energy analysis plugin based on gbXML, comes to us from Donald Macaskill, Technical Manager and Energy Engineer at GreenspaceLive.

Making hospitals more energy efficient

Hospitals have unique energy consumption demands. Not only do a hospitals require lighting and heating 24 hours a day, but they also require ventilation, sterilization, laundry, food preparation and important medical equipment to be powered as well. Therefore, any improvements made to the building could drastically reduce the bills, freeing up money to be spent elsewhere.

The NHS Western Isles Trust are very proactive in trying to reduce their energy costs and carbon footprint. To determine their baseline energy consumption and carbon emissions and then to simulate a number of fabric and technology improvements to their largest building, they turned to GreenspaceLive. A hospital model and energy analysis workflow was created in Google SketchUp Pro with GreenspaceLive’s gTools suite.

 

Completed model for gModeller 

 

Project Methodology

To start, existing 2D CAD models and scanned paper drawings were shared via gWorkspace. These floor plans were then imported into Google SketchUp Pro. Once the floor plans had been imported, each floor was extruded to the correct height and dimensions. A detailed model is not required for the gModeller plugin, so the model could be simplified to single faces for walls, floors and roofs.

Once completed, attributes were added to the model using the gModeller’s customised materials, located within the Paint Bucket tool in SketchUp. Next, spaces were identified using the manual Space tool, which allowed the model to have zone specific information, such as heating, lighting and ventilation for different areas.

 

The completed gbXmL model 

 

The gbXML building information model generated by gModeller was now ready to be exported to an energy analysis engine. In this case, gEnergy was used, however, exported models can also be imported into Green Building Studio, Ecotect, Trace, DesignBuilder and others. gEnergy was initially run using the Hospital’s existing fabric and technologies to establish a baseline Energy Performance rating, subsequent analysis runs were then carried out with simulated improvements to the building, including proposed refurbishment changes, to determine the impact they would have on performance of the building.

Once gEnergy runs were completed, the model was exported to Google Earth and presented to the clients, showing gDashboard energy results on screen while touring their model.

 

The model in Google Earth with energy data 

 

Using the gWorkspace cloud platform, the modeling team was able to share and collaborate with the client throughout the process. Team members and client representatives were able to view, download and share files from the project, as well as view all energy runs that were undertaken.

The Results

Armed with the tools and the data, NHS Western Isles Hospital were able to model different scenarios and view the impact these changes would have. The results were dramatic – making a number of changes to the heating system, the team was able to demonstrate that the most effective change would result in over 50% energy savings, while reducing the CO2 emissions by almost 80%.

Dave Tierney, part of the Energy Team at NHS Western Isles Hospital said, “Using gTools, senior executives and staff received an overview of our carbon emissions, energy consumption and the impact changes in technology and fabric will have on our building. We can clearly see the differences in low carbon technology investment options. The results will help shape our plans for tackling carbon emissions and energy consumption in the future.”

Maxwell Render for SketchUp

In November, our friends at Next Limit Technologies announced the release of the Maxwell for Google SketchUp plugin, a dedicated photo-renderer that operates entirely inside of SketchUp. Soon after, they issued a challenge to see who could make the juiciest render using either the free or licensed version of the plugin. The winners of this first Maxwell for SketchUp render competition were announced this week, and they are, in a word, delicious. See for yourself.

Licensed Category:

1st place: Brodie Geers

2nd place: Karlis Musts

3rd place: Francois Verhoeven

4th place: Michael Loper

5th place: Gui Talarico

Voted #1 on social networks: Paulo Avelar

Free Category:

1st place: Arcen Dockx

2nd place: Iwan Widjaja

3rd place: Satrio Hadi

4th place: Saul Giron

5th place: Pandu Pebruanto

Voted #1 on social networks: Daniel Currea

Doodles for Google Apps

 

Since 1998, when the first doodle was released, they have been one of the most loved features of the Google home page. There have been doodles to celebrate all kinds of events, including national holidays, birthdays of artists and scientists, sports competitions, scientific discoveries and even video games! Also, doodles have evolved from simple static images to complex applications, such as the interactive electric guitar used to celebrate the birthday of Les Paul.

Want your company logo to change for selected events or holidays, just like doodles? The Admin Settings API allows domain administrators to write scripts to programmatically change the logo of their Google Apps domain, and Google App Engine offers the ability to configure regularly scheduled tasks, so that those scripts can run automatically every day.

With these two pieces combined, it is pretty easy to implement a complete solution to change the domain logo on a daily basis (assuming the graphic designers have prepared a doodle for each day), as in the following screenshot:

 

Let’s start with a Python App Engine script called doodleapps.py:

import gdata.apps.adminsettings.service
from google.appengine.ext import webapp
from google.appengine.ext.webapp import util
from datetime import date

class DoodleHandler(webapp.RequestHandler):
  # list of available doodles
  DOODLES = {    
    '1-1': 'images/newyearsday.jpg',
    '2-14': 'images/valentinesday.jpg',
    '10-31': 'images/halloween.jpg',
    '12-25': 'images/christmas.jpg'
  }

  # returns the path to the doodle corresponding to the date
  # or None if no doodle is available
  def getHolidayDoodle(self, date):
    key = '%s-%s' % (date.month, date.day)
    if key not in self.DOODLES:
      return None

    return self.DOODLES[key]

  # handles HTTP requests by setting today’s doodle
  def get(self):
    doodle = self.getHolidayDoodle(date.today())
    self.response.out.write(doodle)

    if doodle:
      service = gdata.apps.adminsettings.service.AdminSettingsService()
      // replace domain, email and password with your credentials
      // or change the authorization mechanism to use OAuth
      service.domain = 'MYDOMAIN.COM'
      service.email = 'ADMIN@MYDOMAIN.COM'
      service.password = 'MYPASSWORD'
      service.source = 'DoodleApps'
      service.ProgrammaticLogin()

      # reads the doodle image and update the domain logo
      doodle_bytes = open(doodle, "rb").read()
      service.UpdateDomainLogo(doodle_bytes)

# webapp initialization
def main():
    application = webapp.WSGIApplication([('/', DoodleHandler)],
                                         debug=True)
    util.run_wsgi_app(application)

if __name__ == '__main__':
    main()

The script uses a set of predefined doodles which can be edited to match your list of images or replaced with more sophisticated logic, such as using the Google Calendar API to get the list of holidays in your country.

Every time the script is triggered by an incoming HTTP request, it will check whether a doodle for the date is available and, if there is one, update the domain logo using the Admin Settings API.

In order for this script to be deployed on App Engine, you need to to configure the application by defining a app.yaml file with the following content:

application: doodleapps
version: 1
runtime: python
api_version: 1

handlers:
- url: .*
  script: doodleapps.py

We want the script to run automatically every 24 hours, without the need for the administrator to send a request, so we also have to define another configuration file called cron.yaml:

cron:
- description: daily doodle update
  url: /
  schedule: every 24 hours

Once the application is deployed on App Engine, it will run the script on a daily basis and update the logo.