Generative Design for Complex Buildings: Optimizing Spaces and Flows with Dynamo and Refinery

Autodesk University
Autodesk University
9 min readApr 15, 2020

--

By Dominique Aupy for Autodesk University

Photo by Brian Walker Lee.

The evolution of BIM tools and processes combining generative design and automation offers new possibilities to the architects and engineers working on complex buildings and vital interiors, in this case a hospital and its pharmacy. This article explains how we have utilized Dynamo, Refinery, and coding in the process.

We will demonstrate how algorithms allow us to carry out parametric studies on the generative space plan and optimize automatic generation of a 3D BIM model. We will show how we have used macro and micro generation to evaluate the different options for flow optimization of people and goods present in the pharmacy, and how to make qualitative and logistic analysis. The result is a better architectural configuration of the hospital pharmacy and an improved working environment.

How It Started

In spring 2018, ENGIE Axima won a public call for expression of interest for the future digital hospital. The winning concept of FLEXIBIM was introduced as a BIM-based solution in the hospital environment to:

  • Create and visualize modular space and organization configurations for new construction or rehabilitation works, taking into account staff functional needs as well as patient wellness
  • Evaluate those proposed solutions on every point including technical impacts on air quality, consumption, lighting, etc.
  • Involve staff and patients into the decision-making process through VR solutions
  • Conduct prefeasibility studies

Making It Happen

As the FLEXIBIM concept reached a general ovation, ENGIE Axima initiated a partnership procedure with the biggest hospital organization in France, the Public Assistance of Paris Hospitals (referred as APHP in the following) that is also an important international influencer in the hospital environment. APHP represents 39 hospitals receiving 10 million patients per year.

A Collaborative Contract

It was essential to involve our partner in the process both financially (30% share) and technically in order to guarantee the success of the operation. So, we conducted a negotiation for six months to produce a contract around a common Proof of Concept (PoC).

It was established that each party will provide a team of people to work on the project in a strict five-month planning that was paced by steering committees, technical committees, and user group meetings. Also, as an incentive, it was agreed to include a percentage commission for APHP for further leads that would materialize concrete FLEXIBIM operations.

Chosen Site

APHP wanted to take a real case that would be subject to works on a short term, so the inner pharmacy of the St. Louis Hospital was retained: 1,300 square meters to reorganize and optimize with a material/people flow constraint.

In the images below, one can notice the gap between the existing stock management and the automated delivery service which made it obvious there were possibilities for optimization. The fact was that pharmacy staff were totally qualified as regards medical procedures and not educated about logistics, but still delivering medicines and materials to the different services within an uncomfortable working place.

Archaic stock management in the pharmacy.
Automated delivery of prepared containers to hospital services.

Data Acquisition

To start with, we gathered information to build a BIM model of the existing situation and we conducted user group workshops to acquire the following data:

  • Existing plans
  • List of rooms
  • List of furniture
  • A proposal made by an architect in order to have the architectural program (no other sources available) and room adjacency matrix
  • Pictures and explanations about the pharmacy
  • List of flows (horizontal and vertical) for people and materials/medicines
Existing building BIM model.

Many data were unnecessary for our studies (such as procedures for sterilization) and technical plans were in general outdated, so we had to focus on limiting the constraints to flows, volume of stock, or logistical aspects in order to obtain a great number of options.

Complex existing pharmacy flow analysis.

On the preconception point of view, there was a strong advantage for working together to analyze a process with people knowing their jobs. Indeed, the simple fact to be able to visualize the existing situation led the pharmacy staff to conduct a natural optimization and to instantly correct wrong unconscious practices.

Imagining a Space Planning Process

The generative process was initiated according to the figure below:

Generative process.

Rules and Constraints

The rules we decided to retain were oriented by the hospital needs:

  • Minimize stock space (volume could convert to area with fixed height) and maximize work space
  • Reduce flow paths
  • Optimize natural light in workplace

Since we could not address together the space planning exercise with the flow requirement, we decided to check flows on generated optimized space solutions at a separate time.

Data Creation

The team created:

  • A room Excel matrix by department.
  • A .sat file of the overall area to charge into Dynamo. To simplify the script, we chose to deal with the adjacency factor using departments that would include their services.

Tools

Below is the tool palette we have been using during the project:

Space Planning Script

In order to achieve a complete space planning technique, we split our problem into two different zones, macro and micro.

Macro Zoning (Dynamo + Refinery)

This consisted of preparing a department Excel matrix from which the script would create a subdivision of the total area in macro zones that corresponded each to one department. Tolerance area parameters were included into the script.

The pharmacy was divided in five departments:

  • Offices
  • Services (toilets, etc.)
  • Clinical research
  • Stock
  • Delivery/transformation zone

To represent the natural light constraint, the script contained a parameter with a value that varied from 0 to 1; due to the natural light source configuration (natural light was located at the ends of the “bottle” shape of the area), good natural light could be obtained if the parameter was close to 0 or 1.

Natural light parameter varying from 0 to 1 in the grid.

Also, the script developed with the aid of Autodesk Consulting, introduced the notion of “seed” that represents the physical beginning of the generative design calculation. Once the script was ready, we connected it to Refinery to generate optimized solutions in correspondence with the set priorities.

Subdivided area.

Micro Zoning (Dynamo + Refinery + Python)

Once the macro zones were configured, we built two experimental approaches to subdivide them.

Script 1

From the Excel/JSON room matrix of a department that includes adjacency parameter the script would further subdivide one macro zone into micro zones or rooms.

Experimental subdivision of the micro zones.

Script 2

From the Excel/JSON room matrix of a department that includes an adjacency parameter, the script would further place micro zones or rooms with Dynamo and optimize the path between two points in a department figuring an inner circulation path.

Experimental space planning of micro zones.

During the short time of the PoC, we were unable to finalize either experimental scripts, but it did not stop the process: macro zones were sufficient for our case.

Architecture Automation with Coding

Scripting

Our script followed several steps shown below:

Wall Creation Automation

One result brought back to Dynamo prior to wall generation.

Once Refinery completed its operations, we could go through the results manually and generate automatically with Dynamo the walls of a selected solution in Revit as a base to an architectural project.

Amongst the 150 generated options, we selected three to be developed. For each, wall generation was accomplished in 10 seconds with Dynamo.

Three options to develop.

Developing the Generated Versions

From the created bases, we finalized the micro zoning manually and according to the known constraints. At that point, one must admit it was not the best case to start practicing generative design as the site was over-constrained.

Presentation of three developed versions.

Analyzing the Solutions

Once the generative process had produced three acceptable solutions, we had to present the results to the user group for validation. We prepared comparisons using Power BI and extractions from Revit showing:

  • Working place area gains
  • Stock spaces
  • Walking length and new goods paths
  • Natural light results
  • Room areas compared to program
Power BI analysis per version.

The user group and the Technical Committee chose unanimously to further develop Version 2.

Refining the Solution with VR and a Layout Tool

To refine the decision-making process of APHP, we imported the model into different platforms.

Twinmotion

With Twinmotion, we could texture the model and populate it with people and furniture. The user group had the opportunity to feel and test its new working place in VR. You can also visit the new pharmacy.

Texturing and VR in Twinmotion.

Realiz3D

Through another partner, Realiz3D, we developed a web-based platform to make the model available to the user group so that they would be able to play with different space solutions themselves, modifying the layout or adding equipment/furniture.

Playing with the model and validating solutions.

Conclusions

Despite the difficulties of the chosen site and of the implementation of generative design, APHP was satisfied with the result of the PoC and expressed new directions:

  • The possibility to add to the generative design process a cost estimation of the works/energy consumption per solution in order to further refine the decision-making process
  • The feasibility to make a tool that could assess different architectural proposals

As this first step was promising but not replicable for commercial purposes, we intend to pursue this research involving operational research, artificial intelligence, and machine learning. However, this process showcases that new ways of collaborating in the building industry exist in achieving a common preconception between architects and professionals. APHP confirmed its willingness to implement the solution on other buildings, in a short term.

Dominique Aupy is a French architect and engineer. He is currently a project manager for Engie Axima, working on specific BIM services for hospitals and other innovative projects such as indoor air quality simulation. After his engineer graduation from Ecole Centrale de Lyon in 1987, he started his career in Budapest, Hungary, in the manufacturing industry for Schlumberger Industries and became country manager. Until 1997, he developed businesses in eastern Europe and achieved several technology transfers between western and eastern Europe. Back to France, he worked as a sales representative for Compuware, then followed design courses at Ecole Boulle and Ecole d’Architecture Paris Val de Seine where he graduated as an architect in 2007. After working for different Parisian Architecture agencies (Architecture Studio, ADPI, Paul Andreu), he specialized in BIM. He joined the Engie group to develop BIM technology. Dominique has a pilot license, speaks Hungarian, and is an accomplished skier.

Learn more with the full class at the Autodesk University website.

--

--

Autodesk University
Autodesk University

Learn, connect, explore. The official account for Autodesk University.