How to use CHIME

The CHIME model can look a little daunting, but once you get the hang of it, the tool is easy to use and to configure to your local area. (One note of caution, Penn Medicine keeps tweaking the model, so this advice may become out of date.)

The Penn Medicine team set the parameters to comport to the hospital system’s catchment area, according to one of the volunteer coders. To view the model from a citywide or region-wide basis, you will need to adjust the population, the hospital market share, and the currently hospitalized patients.

To get a gauge for the trends in the city or region, set the hospital market share to 100 percent – because you are looking at everyone.

The city has been providing figures every weekday about the number of hospitalized patients in Philadelphia, and in the city and its Pennsylvania suburbs – Bucks, Montgomery, Chester and Delaware counties.

The city’s populations is 1.58 million, and the population of the city and its Pennsylvania suburbs is 4.13 million.

On Friday, April 10, the city reported 717 people hospitalized in the city, and 1,231 hospitalized in the region.

The model now has an input for whether and when social distancing measures were put in place. The city and region’s social distancing policies have gradually tightened over recent weeks.

The city ordered non-essential businesses closed on March 16. A Google study of device location data found a 43 percent drop-off of time spent at workplaces in Philadelphia compared to the baseline as of April 5.

The CHIME tool previously defaulted to a 30 percent reduction in social contact, but now defaults to a 45 percent reduction.

Using the 30 percent reduction and a March 16 start of social distancing, the CHIME model estimates a peak of more than 3,200 Philadelphia hospitalizations on May 18, and a regional peak on May 26 with nearly 8,500. When the social distancing reduction is set at 45, the city’s peak moves back to May 21 with more than 1,300 hospitalizations, and the regional peak gets moved back to June 5 with more than 3,200 hospitalizations.

If the model’s projections for Philadelphia are accurate, the amount of social distancing could make a big difference about the number of beds available.
Health Commissioner Dr. Thomas Farley has said there are about 6,000 beds in the city of Philadelphia, and 12,000 beds in Philadelphia and its Pennsylvania suburbs.



to this story in CitizenCast

Prefer to listen to this story while we’re hunkered down?
We’ve got you covered

And go here for more audio articles by CitizenCast

How to Help

During the pandemic

Here are some more ways you can take action now:

Many Philadelphia college students are still struggling to figure out where to go and how to get there—you can help by filling our CSN’s form here. If you’re a student in need of support, fill out this form.

Plug in with Neighbors Helping Neighbors and find out how you can help, or get help: Philly Mutual Aid.

Get involved with the Poor People’s Army and sign up to help support folks who are being hit especially hard during the pandemic. If you need help, email [email protected].

Can you offer to help a healthcare worker with childcare? Do you need care for you kids? Learn more here.

For (many many) more ways to help or get support:





Help Code Philly

Code for Philly is wrangling volunteer computer programmers. The organization has a landing page for those interested in contributing, and a Slack channel.

Modeling The Pandemic

Penn Medicine and Code for Philly have developed a tool that predicts local hospital surges due to Covid-19. Its ultimate accuracy depends on you

Modeling The Pandemic

Penn Medicine and Code for Philly have developed a tool that predicts local hospital surges due to Covid-19. Its ultimate accuracy depends on you

VideoWeather forecasting has saved countless lives over the years, and in Philadelphia meteorologists have taken on an almost mythic status at times, becoming local celebrities. (Thanks, John Bolaris.)

Now there is a new crew on the scene trying to untangle what lies in our future—but they don’t stand in front of green screens or tell you when to bring an umbrella.

The Predictive Health Care Team at Penn Medicine has built a tool to estimate when Covid-19 hospitalizations will peak, which should help hospital staff plan and prepare. The team’s model, Covid-19 Hospital Impact Model for Epidemics, or CHIME, now predicts a mid-May surge in the Philadelphia region that could overwhelm hospital capacity.

That’s a bit of a contrast with the more highly cited Covid-19 model, developed by the Institute for Health Metrics and Evaluation at the University of Washington.

The IHME model predicts the infections throughout Pennsylvania to peak today, and suggests the state’s hospitals have enough beds to meet the need.

“This is one of a number of publicly available tools for modelingCheat Sheet hospital utilization scenarios, each of which can play an important role in helping leaders evaluate and plan for deployment of resources,” Dr. C William Hanson III, the chief medical information officer of Penn Medicine said in a statement. “The purpose of this modeling is not to make predictions with certainty, but instead to provide a range of scenarios which can assist with planning and also demonstrate the effect mitigation efforts like social distancing can have on slowing the spread of the virus.”

The CHIME model was developed in-house at the premier research institution, but it has received a lot of help from Philadelphia’s computer programming community, which has helped the online model run faster with more user-friendly features.

Penn Medicine’s Predictive Health Care Team’s modeling now predicts a mid-May surge in the Philadelphia region that could overwhelm hospital capacity.

The Penn Medicine team had just finished a project with Code for Philly to better inform doctors about where they could send patients for medically-assisted treatment of opioid-use disorder.

Michael Becker, a senior data scientist at the Penn Medicine team, got in touch with Code for Philly to help on the new project, working on the biggest public health crisis the planet has seen in a century.

“Even though we’re a big city, it feels like everybody knows everybody, which is how this happened,” says Marieke Jackson, co-director of Code for Philly, which is an all-volunteer group. “The response of people who just want to help and do what they can is incredible.”

The volunteer work on the CHIME computer code has benefitted from the slowdown in most normal business activity, according to Chris Alfano, who helped organize the Code for Philly response.

Do Something“Everyone was suddenly home and having trouble working. So we just had this influx of very highly skilled people with a lot of free time on their hands—kinda how we always imagined it where we just write down on the board a bunch of issues and then strangers just show up and know what they’re doing, and fix them on the spot,” says Alfano.

Linode, a Philadelphia company, took over the responsibility of hosting the site for free, according to Alfano. (Alfano’s company, Jarvus Innovations, has also done some work for The Citizen)

Programmers are working on another iteration of the CHIME site that will have a new look, according to Alfano, who said there has been some discussion about spinoff projects to look at capacity planning for personal protective equipment.

The utility of the CHIME model is its adaptability. It looks a little clunkier than the IHME, but with just a few data inputs it can make a prediction about the number of people who will be infected, the number hospitalized, and the number in intensive care for any geographic area or hospital catchment at a given time.

Jackson, who has a master’s in epidemiology from New Mexico State University and a full-time job at Health Union, said CHIME uses a “relatively established epidemiological model,” which can quickly spit out results.

Like other models, CHIME creates a bell curve. The worse the conditions are, the taller and thinner the bell.

On its website, CHIME credits Michael Levy, a professor at the Perelman School of Medicine, for his help reviewing the model assumptions, and it also acknowledges Dr. James Lawler, a professor at the University of Nebraska Medical Center, for a late-February webinar about preparing for Covid.

The IHME is easier to use than CHIME, but more limited. The user can quickly pull up the predictions for each state, learning not only about the numbers, but also the specific policies—such as stay-at-home orders that have been put in place.

But state borders aren’t always the best geographic demarcation, especially when dealing with a highly infectious disease.

Philadelphia is located at the southeastern edge of a state that is more than 300 times its size, and Philly has many more connections with parts of New Jersey and Delaware than it does much of Pennsylvania.

Philadelphia Mayor Jim Kenney illustrated this dynamic at a recent press conference, when he said that his mother lives in Jersey, but if she needed to go to a hospital she would go to Jefferson in Philly.

Penn’s CHIME model was developed in-house, but it has received a lot of help from Philadelphia’s computer programming community, which has helped the online model run faster with more user-friendly features.

Officials at the Pennsylvania Department of Health have been consulting the CHIME model, along with one developed by the University of Pittsburgh, and the University of Washington tool, among others.

Vice President Mike Pence said last week that officials are seeing signals that may indicate a forthcoming surge in Philadelphia, and maybe Pittsburgh as well.

At City Hall, Health Commissioner Dr. Thomas Farley sounds more focused on avoiding any bad outcomes than predicting when the local health care system will be under the greatest strain.

“There’s tremendous uncertainty to these models. They predict very different peaks, and different timings of those peaks. We need to be prepared for all of those,” Farley said at a recent press conference. “If we are really successful, we won’t see much of a wave. If we are not successful, we could see a wave that would exceed our hospital capacity.”

Graphic shows the data pulled and used by CHIME, a tool that predicts hospital surges in Philadelphia during the coronavirus epidemic.
An example of the CHIME website and data

But by securing space to treat 200 or more patients at Temple University’s Liacouras Center and trying but failing to use Hahnemann Hospital, city officials have made it clear that they see storm clouds on the horizon, and are making preparations for things to get worse.

Epidemiological predictions are not new, but they have never been attempted at this scale because there has never been a virus outbreak quite like this—at least since the 1918 flu pandemic.

Whereas weather forecasting uses hard metrics like barometric pressure and water temperature, measuring the possible scale and intensity of the Covid-19 outbreak depends in large part on human behavior.

Pretty much everyone has a role to play in determining how many people get sick. In that way, modeling a pandemic may be more akin to making economic forecasts or stock market predictions than charting the likely path of a hurricane.

And of course CHIME might not prove accurate. The CHIME Custom Halodevelopers themselves place a big caution atop their webpage warning that there is a “high degree of uncertainty about the details of Covid-19 infection, transmission and the effectiveness of social distancing measures.”

The IHME recently adjusted its model to predict 81,766 people in the United States will die of Covid-19 through early August, down from 93,531 just a few days before.

While the science is inexact, it is helpful to have multiple epidemiological studies and models to compare against each other, according to Jackson. Once more data becomes available, more complex models can be built.

Although CHIME was built with hospital and public health officials in mind, anyone with enough knowledge can plug in data to get a hint about how bad it will get, and when things might start getting better.

There is one variable, however, that you won’t find with any precision during the daily briefings on confirmed cases and hospitalizations: the data for the reduction in physical contact going forward, which has enormous bearing on the CHIME forecast.

The CHIME team, who were unavailable for comment, addressed how policies and behaviors to reduce contact could translate into numbers in a blog post, but also acknowledged they made an “educated guess.”

As with so many things in life, we are the ultimate wildcard. We the people, collectively, can help determine if the models were overly pessimistic or not.

Photo courtesy Ryan M. Breeden / Navy Medicine / Flickr

The Philadelphia Citizen will only publish thoughtful, civil comments. If your post is offensive, not only will we not publish it, we'll laugh at you while hitting delete.

Be a Citizen Editor

Suggest a Story

Advertising Terms

We do not accept political ads, issue advocacy ads, ads containing expletives, ads featuring photos of children without documented right of use, ads paid for by PACs, and other content deemed to be partisan or misaligned with our mission. The Philadelphia Citizen is a 501(c)(3) nonprofit, nonpartisan organization and all affiliate content will be nonpartisan in nature. Advertisements are approved fully at The Citizen's discretion. Advertisements and sponsorships have different tax-deductible eligibility. For questions or clarification on these conditions, please contact Director of Sales & Philanthropy Kristin Long at [email protected] or call (609)-602-0145.