FlexSim Healthcare's 3D objects and process flow activities make it easy to build a variety of health care simulation models, such as hospitals, emergency rooms, clinics, etc. In this tutorial task, you'll learn about the basics of building a FlexSim Healthcare (HC) model. You'll learn how to:
To teach you how to use the FlexSim Healthcare 3D objects and process flows, you'll build a portion of a walk-in health care clinic. In this tutorial task, you'll only build the section of the system that handles new patient arrivals. You'll add the necessary objects and create the basic behavior of a patient that arrives at the clinic and registers at a kiosk.
When you're finished with this task, your model will look similar to the following image:
In this step, you'll create a new model and switch to the FlexSim Healthcare environment. Technically, this step is unnecessary because you can access all the same 3D objects and process flow activities without being in this environment. For example, you can access the FlexSim Healthcare 3D objects in the Library under the People group and you can access the FlexSim HC process flow activities in the Library in various People groups near the bottom of the process flow library.
However, when you switch to the FlexSim Healthcare environment, those specific 3D objects and process flow activities will move to the top of their respective libraries, making them easier to access. The overall interface, the main toolbar, and organization of objects in the library also becomes simpler and more streamlined for building health care models.
After switching to the Healthcare environment, you will add a floor plan of the clinic that you will simulate in this tutorial. This floor plan was included with FlexSim when you installed the software. When you're finished adding the floor plan, your model should look similar to the following image:
To switch to the FlexSim Healthcare environment and add a floor plan:
Check to ensure your 3D model looks similar to the image in the beginning of this step.
The FlexSim Healthcare 3D Library has a set of objects that are specifically designed for building health care models. In this step, you'll learn how to add FlexSim Healthcare locations and multi-locations to a 3D model.
If you're familiar with FlexSim in general, locations are similar to fixed resources for flow items in the standard FlexSim environment. Patients will move to these locations and interact with them based on the type of object they are. Usually the interaction will involve changing something about the patient's visuals or animations while they arrive at, use, or exit the location. For example, when patients interact with a chair, it will animate them sitting in a chair.
You'll also add a multi-location to your 3D model in this step. A multi-location is a location that contains a group of related locations. When a patient attempts to acquire the multi-location, any of the individual locations in this group could be acquired. In this model, you'll add a chairs multi-location to represent chairs in a waiting room area. Each individual chair can potentially be acquired by the patients, but you don't need to add each chair to the model; you can simply add the group of chairs.
At this point, you'll just build the registration area of the model, which will include an entrance and exit for patients, a registration kiosk where they will sign in when they arrive, and a waiting area. When you're finished, your 3D model will look similar to the following image:
To add these locations to your model:
Check to make sure your 3D model looks similar to the image shown at the beginning of this step.
In this step, you'll learn how to set up process flows. The Process Flow tool allows you to build a flowchart of your model's logic. Inside that flowchart, you'll add activities that contain small chunks of pre-programmed logic or instructions. When a simulation model runs, small green circles called tokens move through the process flow activities, performing each activity's instructions.
In this step, you'll create two process flows. One will be a patient process flow that you'll use to control how the patient interacts with the 3D model after it has been created. The second will be a general process flow named Arrivals that will control how frequently patients will be created inside the 3D model.
Inside the Patient Flow process flow, you'll add activity sets that direct the patient's flow through the model. FlexSim Healthcare models have several activity sets you can use to build your simulation model's logic. Activity sets are groups of process flow activities that have been pre-programmed to accomplish some of the most common logical tasks in FlexSim Healthcare models. See Activity Sets for more information.
To add and set up a patient flow:
Patient Flowprocess flow.
The activity sets you'll add in this step contains activities that will instruct a patient to acquire a location, walk to it, and spend some time there.
When you're finished, your process flow should look similar to the following image:
For now, you'll merely add and connect these activities. You'll edit the properties to add logic in a later step.
To add and connect these activities:
See Walk then Process for more information about how the activities in this activity set work together.
Check to ensure that your patient flow looks similar to the image at the beginning of this step.
In this step, you'll edit the properties for the activities in the process flow. One important concept to keep in mind is that in this tutorial you'll use a process flow instance for each patient that is created by the Arrivals process flow. That means that each patient will run its own individual copy of the PatientFlow process flow based on the template you'll build for the patient in this step. See Process Flow Instances for more information about how process flow instances work.
In practical terms, this means that any time you see the keyword
the properties for an activity, it will refer to the current patient that is running
this instance of this process flow. The token that runs through that instance will be tied
to that patient.
To edit these properties:
Consider saving your simulation model at this point.
In this step, you'll run your simulation model. In general, it's a good idea to regularly test your model logic after you've built a small section of it. When you run the model, you'll notice errors or things that didn't work as expected. See Running a Simulation Model for more information.
To run the model, press the Reset button on the simulation control bar to clear the simulation and reset it to its starting values. Press the Run button to start the simulation and Stop button to stop it.
As you watch the 3D model, the patient arrives through the door, walks to the kiosk and then to the waiting room:
Notice that the actions in the 3D model correlate with what is happening in the PatientFlow process flow. As the tokens move through the process flow, they correlate with the patient's actions in the 3D model. The process flow activities take care of all the actions and logic for the patient as it interacts with different types of locations and staff members.
At this point, you've created the first phase of your health care clinic simulation model. You've added a few FlexSim Healthcare 3D objects to your model and you've seen how to build the model's logic using the process flow tool and the people activity sets. In the next tutorial, you'll continue building out the rest of the patient track for the health care clinic and you'll learn how to use staff. Continue on to Tutorial Task 1.2 - Add Staff