271 - pyFDS-Evac with Mohcine Chraibi
Smoke does not just slow people down, it changes what they believe is even possible. That simple idea is why we get so excited about pyFDS-Evac, an open source workflow that connects Fire Dynamics Simulator (FDS) results directly to modern evacuation modeling with JuPedSim. When the fire environment can remove an exit from view, reduce walking speed through extinction and soot exposure, or even incapacitate an agent, you stop “post-processing evacuation” and start modeling decisions that respond to conditions.
We sit down with Mohcine Chraibi from Forschungszentrum Jülich to unpack how their team builds pedestrian dynamics software that researchers can actually extend. We talk candidly about why legacy tools like FDS-Evac faded, why commercial evacuation software can feel like a black box when you need to publish and validate new ideas, and what it takes to keep an academic codebase alive. Mohcine walks us through the modular pipeline: run FDS as normal, read outputs through FDS Reader, compute sight lines and smoke effects with FDS VisMap, and drive agents with JuPedSim while pyFDS-Evac applies fire-driven behavior changes.
Then we go deeper into routing and wayfinding. You will hear how graphs and A-star pathfinding evolve toward flow-field methods, why “familiarity” and cognitive maps matter when occupants do not know the building, and what JuPedSim 2.0 aims to deliver next, including stairs, 2.5D to 3D buildings, and switching movement models by location.
If you care about fire safety engineering, evacuation simulation, pedestrian dynamics, or visibility in smoke, subscribe, share this with a colleague, and leave a review so more researchers and practitioners can find the tools and the ideas. What would you test first with an open FDS to evacuation pipeline?
Links to the good stuff:
Jupedsim the engine: https://www.jupedsim.org/
its webapp: https://app.jupedsim.org/
Youtube-playlist for jupedsim: https://www.youtube.com/watch?v=ekbvCdy1P3w&list=PLYiH62IDwy5fdFJRiGky0Hdq88xKwjayL
pyFDS-Evac: https://pedestriandynamics.org/pyFDS-Evac/
pyFDS-evac presentation from the visbility seminar https://pedestriandynamics.org/pyFDS-Evac/talks/visibility-seminar-2026/#/1
Cover image comes from the 1st video on the JuPedSim playlist - the Galton Board Walked by Pedestrians in JuPedSim, by Pedestrian and Fire Dynamics Channel on youtube.
----
The Fire Science Show is produced by the Fire Science Media in collaboration with OFR Consultants. Thank you to the podcast sponsor for their continuous support towards our mission.
00:00 - Why Couple Fire And Evacuation
03:20 - Sponsor Message From OFR Consultants
04:21 - Meet Mohcine And The Jülich Team
06:43 - How JuPedSim Outgrew Its Codebase
12:10 - Why Researchers Need Open Tools
15:40 - The PyFDS Evac Toolchain Explained
24:50 - Installation Options And Web Interface
29:52 - Movement Models And Switching Behaviors
34:15 - Pathfinding From Graphs To Flow Fields
36:24 - Familiarity And Cognitive Map Wayfinding
38:54 - How Smoke Slows And Disables Agents
43:59 - Real Projects, Scale, Dynamic Signage
49:30 - Documentation, JuPedSim 2.0, Closing
Why Couple Fire And Evacuation
Wojciech WegrzynskiHello, everybody. Welcome to the Fire Science Show. As fire engineers, we do a lot of fire modeling, but we also do a lot of evacuation modeling. Humans are important to us, and in many projects, they are as important as the smoke field. Uh, what's best? Best is to combine the both of the worlds and run, uh, evacuation simulations and the fire simulations at the same time. Uh, if you're old enough, well, you don't have to be that old, maybe that sounds bad, but, uh, if you, if you're in the field for some years, you may remember FDS ha- used to have this capacity to do simple evacuation simulations through a model called Evac. It, it's been there. It's been removed since then from FDS. We don't have it anymore. when Evac disappeared, there was kind of a gap, you know, to, to do this, uh, ty- type of joint, uh, analysis. Eventually, commercial softwares like, Pathfinder caught up, and now for the world of, professional engineering, we, we have this. But, while I appreciate those tools, and I, I like them, and they, they're great and they're very useful, and they have beautiful post-processing, et cetera, et cetera, they're not research tools. They're... Like, it's very difficult to modify them without breaking them, you know? And they, they, they have-- While they are documented, th- there's always this, uh, hidden assumptions behind them. Therefore, I highly support developing, uh, open tools for researchers, uh, in mind and such a tool we're discussing today is called pyFDS Evac and it's developed at Jülich Forschungszentrum. Today I am interviewing, uh, Mohcine Chraibi who is a senior researcher at Forschungszentrum and he's focusing on pedestrian dynamics, crowd behaviors and one of the developers of, of this magnificent package which, uh, is supposed to streamline the, the flow from FDS to, to human evacuation simulations and, and allow exactly what Evac allowed years ago but now in a completely new framework using JuPedSim as its, uh, human, uh, movement model, interesting pathfinding solutions and, and all the integrations you need to, to actually carry out, uh, coupled simulations, uh, of humans and, and the fire field. Very interesting developments. We are sitting down at Wuppertal. We've just finished up the Visibility in Smoke workshop, uh, at Wuppertal. It was fantastic, and more on that will come later on. In that spirit, I just took Mochin and, and did this interview. I've enjoyed it thoroughly, and I hope so will you. Uh, important thing, links are in the show notes. They're always in the show notes, but I really have to emphasize it right now because, uh, we're talking about an open package. You can just download it right now and play with it as you listen to the podcast episode if you like that. Uh, if you just like to listen, that's also perfectly fine, and I welcome you to do that. Let's spin the intro and jump into the episode.
Sponsor Message From OFR Consultants
Wojciech WegrzynskiThe Fire Science Show podcast is brought to you in collaboration with OFR Consultants, a multi-award-winning independent consultancy dedicated to addressing fire safety challenges. OFR is the UK's leading fire risk consultancy that this year celebrates its 10th anniversary. As experts in fire engineering, they are fully committed to delivering preeminent expertise to protect people, property, and the environment. With over 30 chartered engineers and a team of fire researchers at their core, they continually explore the challenges that fire creates for their clients and society so that the best research, experience, and diligence can be applied for effective tailored solutions. In 2026, OFR will grow its team once again and is keen to hear from industry professionals who want to collaborate on fire safety features this year. Get in touch at ofrconsultants.com. And now back to the episode
Meet Mohcine And The Jülich Team
Wojciech WegrzynskiHello, everybody. I am joined today by Mohcine Chraibi from Jülich Forschungszentrum. Hey, Mohcine.
Mohcine ChraibiHi, Wojciech.
Wojciech WegrzynskiGood, good, good to have you in the podcast. I stole you straight from the room where you just delivered the presentation. So as, as things are fresh in my mind and, uh, and you have, uh, warmed up, let's, let's do this for a bigger audience.
Mohcine ChraibiWhich workshop? The visibility workshop in Wuppertal?
Wojciech WegrzynskiYes.
Mohcine ChraibiYes, and luckily we had lunch before we can-
Wojciech Wegrzynskithat's, uh... Well, that's, that means we can go for hours. Mohsin, you've shown the developments of, uh, evacuation tool, JJuPedSim, which is, uh, something that people can access already, uh, through the website, which is obviously in the show notes of the episode. And I would like to hear the story of, how it came to life and, why does your team develop this, and then what do you intend to do with it? And, and maybe we, we should also introduce in broader the, the, the human evacuation part of Jülich, Forschungszentrum because that's a very big group. I, I see a picture behind you of, uh, of people moving through boxes, so. Yes. Uh,
Mohcine ChraibiSo, so Jülich, in Jülich, we... In our institutes, we have, At Civil Safety, uh, Research Institute, we have four divisions.
Wojciech WegrzynskiMm-hmm.
Mohcine Chraibithree of them are pedestrian dynamics related, and one of them is fire simulations related. Uh, so you have, Lukas' division, they do fire simulations. And then you have my division, for example, we do simulations and modeling.
Wojciech WegrzynskiOkay.
Mohcine ChraibiThis is the theory. And then there is, Mike's division, they do experiments.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiMaybe you've seen the posters. So they do a lot of experiments.
Wojciech WegrzynskiPeople with arrows on their heads, uh, yeah. Exactly
Mohcine Chraibithose guys. And they collect the data, and then they collect the trajectories and do the analysis of them.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiAnd then there is the, the fourth division is, uh, psycho-so-sociology. From Anna. And this, so this is the, division that is supposed to bring the human element to our model, actually. So, ultimately, if all divisions' work, is combined, then you end up with human behavior and fire, as we talked before.
Wojciech WegrzynskiYes.
Mohcine ChraibiWhich is a, a big thing and, uh, not so easy to, to defy, Wojciech
Wojciech Wegrzynskinow, uh, in terms of developing the, the Jupet, you said y- you said you, you, you do modeling.
Mohcine ChraibiYes.
Wojciech WegrzynskiUh, so, so what did you use before and what was the gap did you try to fill with this software?
How JuPedSim Outgrew Its Codebase
Mohcine ChraibiSo JJuPedSim, I think it started, like, around 2008.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiAt the time we had a project where, uh, three PhD students, they were working on their PhD s- thesis actually. Uh, one was doing routing and way finding. The other one was me doing models-
Wojciech WegrzynskiMm
Mohcine Chraibion operational level. And then the third guy was doing analysis of data. And, eventually everyone finished, and then we thought, "Okay, so, um, what can we do? What should we do with this? Let's just put it all together and- Mm call it JJuPedSim." Okay? So it's a big mess of, uh, spaghetti code and, it's working, but it's, At the time it was fine-
Wojciech WegrzynskiMm
Mohcine Chraibifor us. But then PhD students keep, coming, implementing their stuff, and going. Okay. You know? So you can imagine at some point it's not maintainable anymore, so. Okay. That was where we decided five years ago that, um, we can't go on forever like this.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiAnd, um, we ask from the software too much and, w- the students started complaining and say, "No, I'm gonna write my own script and I don't want to use JJuPedSim."
Wojciech WegrzynskiOkay. Okay.
Mohcine ChraibiIt's faster this way."
Wojciech WegrzynskiIt's faster, okay. Yeah.
Mohcine ChraibiYou know? And this was the breaking point where we said, "Okay, if even our student cannot use it, so what's the point?"
Wojciech WegrzynskiW- w- which is kind of interesting, you know, because Th-th-that's not your unique experience. I think that's very true for a lot in fire science, where people would just, you know, solve their part to create a model and, then eventually move to other things. There's a very typical story of, of someone becoming a PhD student or a postdoctoral researcher working on a specific part of a specific project, which perhaps is extremely useful or valuable to the community, and perhaps they have energy to s- to, you know, keep and maintain this for two, three years or five years. But then eventually life, catches up and it's to some extent abandoned, not from theee research validity, but from the, technical maintenance perspective. Yeah, exactly. Right? And-
Mohcine ChraibiYeah, I mean, we, we take software... In, in academia, we take software for granted.
Wojciech WegrzynskiYeah.
Mohcine ChraibiWe think, yeah, software, uh... Everyone needs software. everyone needs to implement the model somehow and do the simulations, right? But then who will take care of this all? And y- we have examples like, uh, MENGAR. Mm-hmm. This was a software, very nice, from America, but now it's abandoned because the guy behind it finished his PhD, and then now he's doing something else.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiFDSEvac, as you know.
Wojciech WegrzynskiYes.
Mohcine ChraibiSame story.
Wojciech WegrzynskiTh-that's actually an interest because it's important for the, for this story, right? So- Yes maybe, maybe, uh, not everyone remembers E- Evac, w-what that has been.
Mohcine ChraibiYes. Uh, I mean, FDSEvac, it's, it's, uh, the, the software, it was NIST FDS implemented directly. It implemented the social force model. It was a very nice software. It also interacted with fire, which i- which make it very appealing for the human behavior- Mm community. But at some point, the maintainer, it was a one-man show. The guy had s- as you say, life catch up to him, and then he has to do something else.
Wojciech WegrzynskiMm. So, uh, uh, FDSEvac was, w-was this in version five or removed? Or-
Mohcine ChraibiI think in FDS five it was-
Wojciech WegrzynskiI, I, I
Mohcine Chraibidon't- not anymore there.
Wojciech WegrzynskiUh, maybe in some version of five it's still... I, I, I don't recall exactly when they... But I still remember playing with it. Uh, it was, uh, a little bit rough, but the, the beauty of it- Yes was that you could actually run the evacuation layer on top of, simulation, uh, FDS simulation layer, and you could visualize it in, in Smokeview, right?
Mohcine ChraibiExactly.
Wojciech WegrzynskiYeah. Yeah, yeah. There were people walking. That,
Mohcine Chraibithat's because there is the whole ecosystem around FDS, and then it's... You could, like, just do zero simulation. You have your FDS data simulations. You can visualize it. Everything is fire Works. Okay, but then the problem that you always have in software is that you have one maintainer, and without this one maintainer nothing works.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiLuckily, for FDS, they have, like, four or five guys- Mm doing nothing but that.
Wojciech WegrzynskiYes, yes.
Mohcine ChraibiAnd this is a good, a good, uh, model because, uh, those guys, they are not researchers doing, like, research and then when they have- To understand, yeah some free time they do software.
Wojciech WegrzynskiYeah, yeah.
Mohcine ChraibiI mean, they do software mainly.
Wojciech WegrzynskiYeah, yeah, exactly. You know? And if they do research it's to improve the software and-
Mohcine ChraibiExactly But, but they do the smoke view, they do the, the model and the validation and the testing, and this is a lot of work.
Wojciech WegrzynskiYou know? O- of course, and, uh, yeah, I, I also agree that it's, it's, you know, uh, like in the memes where the, the whole like, uh, puzzle of modern computing stands on, on a little block of some guy- Yeah maintaining a library because he likes it. Yeah, yeah. You know? It's- Yeah, yeah I, I think, uh, we, we on, on philosophical terms like, uh, I, I would say that organizations like, uh, IAFSS could perhaps step in to provide a framework to maintain those, uh, key, you know, elements. I, I know it's not a... Perhaps it's a, "I'm not in the leadership of IAFSS anymore," but, uh, I, I, I, I would say that th- this is perhaps something like, uh, if it's for the community, community should take care o- of those softwares.
Mohcine ChraibiUh- Yeah. It, it would be nice I think. Actually, this is, if the community cannot take care of the software, then the software is not gonna-
Wojciech WegrzynskiYeah
Mohcine Chraibistay for long.
Wojciech WegrzynskiOkay. But you know, it's, it's not that the EVAC was the only software for, uh, evacuation. Uh, there, there's like, of course, Pathfinder that's probably has the most use in, in fire, but there are, uh, there, there's Building Exodus from- Yes from Greenwich. There's, Oasis.
Mohcine ChraibiThere is Simulx.
Wojciech WegrzynskiYeah.
Mohcine ChraibiBut there are a lot of commercial software of course. So for engineers- Mm uh, I think they can survive. I'm talking now just about the research community.
Wojciech WegrzynskiYeah.
Mohcine ChraibiSo if you want to, to do your own model, okay.
Why Researchers Need Open Tools
Wojciech WegrzynskiYeah. So what, what are the features of the models that you need as a researcher that perhaps the, commercial packages are challenging for you?
Mohcine ChraibiUh, with respect to evacuation or to- Yes. With- or to fire
Wojciech Wegrzynskisimulation? Well, with respect to evacuation- Yeah and then may perhaps in ge- ge- general, because I, I think a lot of this will
Mohcine Chraibibe gen- I mean, researchers they keep doing new research and developing new ideas, right? Yeah. New algorithms and whatever, and it has to be implemented somehow. I think in the commercial software it's not like out of the box you can just call them and say, "Can you please implement my model?" Or- Mm. or, "Give me access to your code so I can..." It's a bit difficult like this. So for, for engineers, okay, I can just use it.
Wojciech WegrzynskiMm.
Mohcine ChraibiSure. But if you are, if you want to develop your ideas and implement them and test them, validate them, whatever, in your own way, I think you need to have access to the code.
Wojciech WegrzynskiH-h-how about the, the, the commercial packages being kind of, uh, black boxes or environments that you sign into and, uh, you don't even- Yeah. Yeah you don't have all the knobs to, to- Exactly to fiddle with.
Mohcine ChraibiYeah. Uh, uh, take an example of software. Uh, uh, let's not say names, but, um... No, it's fine. Pathfinder has one model.
Wojciech WegrzynskiMm.
Mohcine ChraibiYeah. But, um, what if I don't want to use that model, but I want to use, some, some- One
Wojciech Wegrzynskithat you, one that you're developing
Mohcine Chraibiright now. Exactly. What I did or some other version of social force
Wojciech Wegrzynskimodel. Mm-hmm.
Mohcine ChraibiThere are many versions of it. Maybe I want to know what's the difference of all those version and I want to implement them and then do a paper about comparison of models. I can't do this with Pathfinder.
Wojciech WegrzynskiWell, you, you can call Brian and, and try- Yeah, of course to convince him to implement it- But- but it's his goodwill and a lot of friction and time. Exactly. Exactly.
Mohcine ChraibiMaybe he doesn't see the monetary value in it.
Wojciech WegrzynskiOr it's just not in the current development schedule and- Yeah,
Mohcine Chraibisure. But if you are a client, you are paying money, and you say, "I need a new feature"- Mm sure, that will happen sooner. But, uh, I, I just want to publish my paper because I have a PhD to finish.
Wojciech WegrzynskiYes. Yeah. I mean, the Gr- Green- Greenwich kind of has that with Exodus. They can implement their own stuff in the, in the building Exodus- Yeah,
Mohcine Chraibiexactly
Wojciech Wegrzynskifor a, for a way.
Mohcine ChraibiBut, but, but that's the same for UPETIM now.
Wojciech WegrzynskiYeah.
Mohcine ChraibiNow, so UPETIM, we develop it in such a way, it's not like Pathfinder. Mm. Like you have a, a program, you know, with GUI and everything visualization. No, it's a library.
Wojciech WegrzynskiMm-hmm.
Mohcine Chraibidocumented, clear API, everyone can use it and build on top of it-
Wojciech WegrzynskiMm
Mohcine Chraibieasily. Mm. So this docking in is, is the point. So people now use UPETIM in that way. They, they write their Python code and do something crazy. It doesn't affect UPETIM- but it brings results faster-
Wojciech WegrzynskiMm
Mohcine Chraibiin that way to the people without, uh, making any trouble for us as, for as a...
Wojciech WegrzynskiSo- So you, you release a library, and then person can- Exactly adjust again.
Mohcine ChraibiYou just import it and say, "Okay, now UPETIM can tell you I can move people from A to B."
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiTell me how." And then you write, "Okay, now I want you to go there and stand, um, for a while, and then if there is fire, do something else," and whatever. So the creativity comes from the community, and we just deliver the-
Wojciech WegrzynskiFramework
Mohcine Chraibiexactly.
Wojciech WegrzynskiPerfect. Um, let's, let's perhaps talk about the structure of JuPedSim. In your talk, you, you've shown, uh, multiple building blocks that, that are necessary to carry out, a complete, let's say, simulation of, of human in fire, uh, uh, from the perspective of this package. So, so, uh, the starting point I understood is, is, uh, a fire simulation like FDS. But I... You could run it without the smoke. It's just- You
Mohcine Chraibican run it also without smoke.
Wojciech WegrzynskiYeah. Yeah, yeah. But, but I, I think the focus of this community would be- Exactly smoke. It's smoke. So let's, let's discuss
The PyFDS Evac Toolchain Explained
Wojciech Wegrzynskithis
Mohcine Chraibicase. So, so, so what we are talking about, PyFDSEvac.
Wojciech WegrzynskiOkay.
Mohcine ChraibiUh, so PyFDS-
Wojciech WegrzynskiSo fir- fir- so first FDS. FDS, you run your simulation. Okay. So- You don't have to modify it
Mohcine Chraibifirst you have FDS. You do your simulation of your room however you want. We don't, we don't really pay too much attention what... how you do it, how you model it. Your FDS files, it's belongs to you.
Wojciech WegrzynskiDo you have to specify anything special in FDS- No like special device, slice file?
Mohcine ChraibiNo, no, no. You just do your simulation. You just give us basically just the result.
Wojciech WegrzynskiJust the FDS file as
Mohcine Chraibiit is. Yeah, exactly.
Wojciech WegrzynskiOutput.
Mohcine ChraibiExactly. And then because we don't want to deal a lot with FDS and its data, we have FDS Reader.
Wojciech WegrzynskiMm-hmm. FDS Reader. Okay.
Mohcine ChraibiWhich is, uh, developed by Lukas' group. So FDS Reader takes a lot of work. Uh, how do you deal with FDS? It's like a nice wrapper. It says, "Okay, now give me extension coefficient."
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiWith those condition in this place, in this time, whatever.
Wojciech WegrzynskiF- f- for, for, uh, context, we're used to, you know, processing the, the FDS files through, through Smokeview, and Smokeview actually does that. Yeah. Like Smokeview is a- Okay reader of FDS files- Yeah, yeah where it can read and, and demonstrate those. Yeah. But for your needs, what you, you don't need a Smokeview graphics. You need a table.
Mohcine ChraibiExactly. We need... Yeah, exa- we need a library, okay-
Wojciech WegrzynskiYeah
Mohcine Chraibithat we can call the functions.
Wojciech WegrzynskiYeah.
Mohcine ChraibiSo without sticking to some GUI or what... So it's more flexible and easier. Mm-hmm. And like we just pip install FDS Reader and say, "Okay, that's what I need." So it's a very convenient wrapper-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiaround FDS. And, most of the things that you need from FDS, they are always the same basically.
Wojciech WegrzynskiMm.
Mohcine ChraibiYou always need some quantities, and then during some time and some positions, and FDS Reader does this for you.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiSo for us, it means also it's already done. We don't need to do this again. We don't need to start from scratch. So this block is very important. Then you have the other block, which is, Okay, what about visibility? Now we have smoke, and we have heat, and we have everything. Uh, can we see the signs or not?"
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiAnd this is where the other library comes in, FDS Vis Map. Mm-hmm. It's also Python library, um, maintained by Christian so FDS VisMap also tells you things like, things that you would like to know as, uh, as a JuPedSim user.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiWhat you want to know. You are here, I want to go there, so how does it look like smoke-wise? Mm-hmm. Can I see the exit or not? on things like that.
Wojciech WegrzynskiSo, so basically it's a, a wrapper for visibility. Uh, we, we just finished, uh, we're up to the, the visibility- Yes symposium, where for three days we were discussing the inadequacy of that, and, uh, I, I'm planning to have a full podcast episode with Lucas about, what we've learned so far in our projects and, and s- and some broader view o- on that. So for the listeners, we will come back to this topic. The important, uh, right now is that instead of basing on local visibility, you use the ability of the, the V- VisMap library to predict whether s- a pathway is- Exactly you can see through it or not. Yes. Right?
Mohcine ChraibiExactly.
Wojciech WegrzynskiSo, so first FDS, then wrapper, then VisMap, and what's next?
Mohcine ChraibiSo now you have all the components you need. So I can- From
Wojciech Wegrzynskithe
Mohcine Chraibismoking
Wojciech Wegrzynskienvironment
Mohcine Chraibiside. Yeah, exactly. Now I have JuPedSim. JuPedSim, it's, it does nothing but it tells me, "Okay, now you have your agents. I do the routing for you." Mm-hmm. "I send them to some places," and whatever. Just basic evacuation.
Wojciech WegrzynskiOkay.
Mohcine ChraibiYou can also tell them to go somewhere and wait. This is JuPedSim part. Mm-hmm. It gives you the routing and the operational level. It moves people from A to B. Now, with those, with all those inputs, so the FDS reader inputs, with the visibility inputs, and with JuPedSim, we can now write our own code- Python, which we will call PyFDSEvac pyFDS EVAC because it's like FDS EVAC- Mm just in Python. And this pyFDS EVAC will tell JuPedSim, "Ah, look, this road is not so visible because FDS VisMap told me so."
Wojciech WegrzynskiAh, okay.
Mohcine ChraibiAnd by the way, the extinction coefficient is that much, so I have to be slow. Okay? And we will implement everything with FDS EVAC implemented and, and even more because now we can do more. And then you can tell JuPedSim on the Python l- layer, This is the road I would like to go."
Wojciech WegrzynskiMm.
Mohcine ChraibiAnd this is how fast I should be." And maybe now I should just have, uh, desired speed equal to zero because, you know, you inhale a lot of smoke.
Wojciech WegrzynskiThis is the part I didn't fully capture from the talk. I'm really glad that we're doing a follow-up. And now I have to rename the episode because I thought it... We're-- I'm gonna name it JuPedSim, but I should call it pyFDS EVAC.
Mohcine ChraibiI think
Wojciech Wegrzynskiit's a- Because that's the-
Mohcine Chraibia better name, yeah. Yeah. And, and I have the talk online, so you can also have- Fantastic
Wojciech Wegrzynskihave
Mohcine Chraibiit later.
Wojciech WegrzynskiBut, uh, so, so you could consider JuPedSim as the, like, engine of movement and, and, wayfinding and, and uh, pyFDS EVAC the tool that, uh, kind of Narrows it down because of the fire situation,
Mohcine Chraibiright? Exactly. So, so, so JuPedSim and FDS are basically in this pipeline the same.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiJust on different ends.
Wojciech WegrzynskiOkay.
Mohcine ChraibiOkay? And, and FDS VisMap and, uh, GPS reader, they are just helper-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibilibraries to deal with FDS because we don't want to deal directly. But FDS and JuPedSim, they do the same. Just this one is for fire, and this one is for the pedestrian.
Wojciech WegrzynskiBut they're both transmitting one directionally to PyFDS Ever, right? So- Yeah, of course,
Mohcine Chraibiyeah.
Wojciech WegrzynskiOkay.
Mohcine ChraibiThat's, of course, because, uh, we don't influence fire anymore. Fire is done, the simulation.
Wojciech WegrzynskiI know, but, uh, I mean, technically with this capability, one thing that you could do is the state of the doors because you know if someone is currently at the door or not. Yeah,
Mohcine Chraibiyeah, yeah.
Wojciech WegrzynskiWhich could technically influence the flow field in FDS. That's something that, uh-
Mohcine ChraibiThat, that could come, but then we will need to have a talk with the FDS guys.
Wojciech WegrzynskiYou can, uh, you can definitely, uh, you know, have, uh, walls that disappear and appear. Yeah. Uh, but, but the reason for that is that So out- outside of the, of the room before we started, uh, we, we had this chat when you asked me like, "Do, do you think people really need it?" Like, because engineers like to have a simple calculation and be done- Yes with it, you know. For example, for the UK market and smoke control in, buildings, there is this specific prescribed sequence of stuff that you need to include in your design fire scenario. I have a fire in my room. I open the doors for 60- Yeah seconds. I close the doors for 60 seconds, and, uh, then this corridor cleans for this amount of minutes, which again is like kind of capturing the human impact on the environment around them in a prescribed scenario. Prescribing which doors were open, which doors were closed. If you have this, uh- Yeah you know, in the simulation, it makes a big difference, uh, because-
Mohcine ChraibiYeah, that, that's what you say. I mean, our motivation, it was not I mean, we are scientists, and we s- we do sometimes science even if no one needs it.
Wojciech WegrzynskiMm.
Mohcine ChraibiAnd maybe later someone will pick on it and say, "Okay, this is useful."
Wojciech WegrzynskiI, I'll give you another example. We, we are designing a, a, a, a tramway system and an interim stage of that s- system is that there's a tunnel leading to a station which has, um, one side closed.
Mohcine ChraibiOkay.
Wojciech WegrzynskiIn next future, there's gonna be another tunnel, another station- Mm and, and way out. But for now it's a, a single directional tunnel connecting to a station. Okay.
Mohcine ChraibiYeah.
Wojciech WegrzynskiAnd because we have extraction in the tunnel by jet fans, the air comes into the station and basically we, we create the movement of air to throw the smoke out. Now this creates also an, under pressure in the station, like negative pressure and, There's also a limited amount of air we can have to that station by mechanical means. We don't to build too many shafts et cetera. But, uh, w- we do simulations for this state, but in reality, as soon as people start escaping this, uh, station, they open the doors and they create like, you know, new pathways of air. Yes. So the resulting, you know, under pressure is much less severe- Mm and the amount of air we get there is, is much higher and there is like the performance of the system becomes so much better- Yes because I have so much more air available. Of course. But, uh, the-- I currently do not have a-
Mohcine ChraibiYeah
Wojciech Wegrzynskia tool that could robustly allow me- Yeah to show this effect because it is the, the human impact on the fire scene- Mm that I need to, introduce.
Mohcine ChraibiBut this is, this is definitely interesting, Wojciech, but for now we, we will be just unidirectional.
Wojciech WegrzynskiI know. I, I- Again, I can go and bother Brian about it
Mohcine ChraibiYes, you should do that.
Wojciech WegrzynskiDefinitely And, uh, and uh, and uh, it's gonna take them a lot of time a- and, and thinking, and they can put it on a map. Or perhaps there's a, you know, PhD student that's interested in a topic like that- Mm that can take your library and start working on it immediately.
Mohcine ChraibiYeah. I mean, it's, it's very extensible and, and things like that can be done easily. I mean, I'm, I'm not sure in the other direction when you go to FDS what you can do because I don't do FDS.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiBut, uh, in your Petium direction, uh, sure. It's, uh-
Wojciech WegrzynskiOkay. So, so from the pra- practical perspective, because it's, it's five packages, uh, there, there's a lot of Python codes, there's likely a lot of terminal. Like, what, what kind of skill set do you, do you need
Installation Options And Web Interface
Wojciech Wegrzynskito, to run this?
Mohcine ChraibiUh, none. Um, If you, if you know how to work with Python-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibithen you just pip install pyfdsvac
Wojciech WegrzynskiAnd that's it
Mohcine ChraibiAnd then it will install everything for you-
Wojciech WegrzynskiOkay
Mohcine Chraibiapart from FDS, of course.
Wojciech WegrzynskiOkay
Mohcine ChraibiJust the Python library is around. This is everything will be installed and set up. You just run pyfdsvac and it knows everything is already installed. You have to point it, of course, to some directory where you have your FDS data- Mm-hmm and say, "Those are my FDS data. Please do your magic now." Alternatively, if you don't know how to do Python, we have this web-based interface. This is a bit experimental now because we don't know yet if people need it or not. We don't need it in our group because- Mm we do the Python thing.
Wojciech WegrzynskiYou prefer the Python, yeah. Mm-hmm.
Mohcine ChraibiWe are faster this way, but I can imagine that people just want to know, "Okay, I will click here. This is my FDS file."
Wojciech WegrzynskiI, I, I think, uh, you know, for, uh, again, you, you're researching it. Uh, you, you are building it as is, and you, you let it, uh, for people to use. I, I think for engineers there will be a lot of friction.
Mohcine ChraibiYeah,
Wojciech Wegrzynskitrue. I mean, FDS also to a sense has, you know- Yes this, uh, this... It's kind of this hacking when you write the FDS code. But in reality, in projects, like most of the people would use some sort of pre-processor like- Yeah like PyroSim to, to, to just get... It's just easier that way and, and perhaps more natural. Also, you know, we're civil engineers. Like you're very used to working in AutoCAD or- Yeah or any other like
Mohcine Chraibidevice. No, definitely.
Wojciech WegrzynskiYeah. So-
Mohcine ChraibiI, I think so. But this is also why, I mean, there are, there are those tools that use FDS as an engine to shield people from all those details.
Wojciech WegrzynskiA, a, a question that, that follows. the, the building itself, the walls, the doors, the paths, the exits Is it directly transferable from FDS file or you-
Mohcine ChraibiWe, we extract them from the FDS file.
Wojciech WegrzynskiOkay.
Mohcine ChraibiSo to us to- so that we can have only one- In- source of truth.
Wojciech WegrzynskiOkay.
Mohcine ChraibiWe don't want to have... I mean, the simul- the FDS simulation is important, and it's done with FDS file. Yeah. And FDS file has some geometry. Yeah. So we will try to get it.
Wojciech WegrzynskiOkay. But there will be things that will be difficult, like stairs.
Mohcine ChraibiLike- Yeah, sure. I mean, uh, JuPedSim right now-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiit's just 2D.
Wojciech WegrzynskiOkay.
Mohcine ChraibiAnd we are working on JuPedSim version 2.0 will be released in December- Okay 26, with stairs and- With stairs two and a half D. And, so for now it's just 2D everything.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiUh, but of course we are moving to the building level with stairs and also FDS VisMap I saw. Did you see- Yes,
Wojciech Wegrzynskiyes
Mohcine ChraibiChristian's talk?
Wojciech WegrzynskiYeah, he's
Mohcine Chraibitrying- He's also trying to do 3D- 3D,
Wojciech Wegrzynskiyeah
Mohcine Chraibivisibility maps. So it's all merging and came, uh- Mm-hmm converging to the same
Wojciech Wegrzynskiimportant because of course like, you know, vertical, uh, escape routes- Yeah, sure are, are absolutely- Of course, of course absolutely critical to, to, to be integrated in the model if we want it to succeed. And n-now, I mean, wh- when you start having this complex geometry, it's gonna be difficult to... Because, uh, f-for example, me as, you know, a modeler, I don't care if a thing is escalator. Is it moving stairs? Yeah. Is it just stationary? For me it's just an obstacle. Exactly. Yeah, sure. Uh, and thing for you it's probably-
Mohcine ChraibiNo, I mean, if you, if you do proper modeling in FDS file-
Wojciech WegrzynskiYeah
Mohcine Chraibiof your geometry-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiit should be not an issue for JuPedSim. But if you have there some errors and things are not connected well and whatever, then of course.
Wojciech WegrzynskiBut for, for now you do not, have any kind of BIM import or, or, or integration with-
Mohcine ChraibiSo for JuPedSim alone- Yes you can have IFC files imported.
Wojciech WegrzynskiOkay.
Mohcine ChraibiBut, uh, I mean, JuPedSim as- JuPedSim as- as a thing. And maybe th-this is something I didn't tell you, but JuPedSim has also an own web-based interface-
Wojciech WegrzynskiOkay
Mohcine Chraibithat we built I mean, as a library.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiIt's a library. But some people they said, "I don't want to deal with Python." We had this already.
Wojciech WegrzynskiOkay.
Mohcine ChraibiSo we built this web-based, uh, interface. I can give you the link later.
Wojciech WegrzynskiOkay.
Mohcine ChraibiIt's called app.JuPedSim.org. Mm-hmm. So people, they can click and move and draw and-
Wojciech WegrzynskiOkay. So, so this is a version without fire, uh-
Mohcine ChraibiWithout fire. And we are planning maybe to Interact also to integrate PyFDSEvac EVAC in it.
Wojciech WegrzynskiMm-hmm.
Mohcine Chraibithe only problem I have right now is really before we start doing this work, we are not sure if people want it or not.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiSo if the community, somehow it happens that the community kills us with emails and say, "Ah, we need this all," then we will do.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiBut for now, I mean-
Wojciech WegrzynskiYou, you go directions that is for yourself,
Mohcine Chraibiyeah? Exactly, yeah. We, we... L- it's like FDS also. FDS doesn't- Yeah have any web-based stuff. It's just FDS, right?
Wojciech WegrzynskiRight. All
Mohcine Chraibiright. And people use it and build the ecosystem. It's, it's organic, but-
Wojciech WegrzynskiNo, of course, like you're also not, uh, not selling licenses- No, we don't uh, which would give you, uh, uh, immediate feedback. If it sells well, it's in a good direction, uh, and, and learn the pain points of, of the customers. Uh, it's a different relationship. Uh- Yeah but also one that, uh, of the reasons why, why you, you choose to build it is on... Can you tell me about, uh, more of the, about the engine? Uh, uh, how does the movement work? How does the wayfinding
Movement Models And Switching Behaviors
Wojciech Wegrzynskiwork?
Mohcine ChraibiYes.
Wojciech WegrzynskiI- I... Like did you, did you had to come up with some own ideas for, for that? Or, or is it well known and you just apply it?
Mohcine ChraibiNo. Uh, I mean, there is, uh, there is in, in, in our community this model. It's, uh, called, uh, it's a Hogendoorn model. Mm. It's like you have strategic level, tactical level, operational level.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiIn the operational level, you have the social force model, for example.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiThat's just you move from A to B, and at the tactical level, you, you do the routing and you go somehow through the exits. And then the strategic level, you ha- you do something more complicated like, uh, which doors should I take into consideration? Mm-hmm. What do I want actually? Do I want to evacuate or whatever? And in uPSIM, we implement all those three levels.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiOn the operational level, we have, I'm not sure, five different models.
Wojciech WegrzynskiOkay.
Mohcine ChraibiLike social force model, classic.
Wojciech WegrzynskiW- what does it do? It keeps people apart from each other?
Mohcine ChraibiYeah. This... The, the, the operational model is the model that tells you, "Now I have to go, and now I have to avoid the others." Okay. "And I have to avoid the walls."
Wojciech WegrzynskiOkay.
Mohcine ChraibiSo on this level. So this is just the basic, like social force model. It say- says, "Okay, there is a door there. Now I have to move." Right?
Wojciech WegrzynskiAll right.
Mohcine ChraibiStepwise, and then there are some bunch of people, I have to avoid them.
Wojciech WegrzynskiJust- You don't bump into them, okay
Mohcine Chraibidon't bump into the walls too.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiThis kind of logic. And this kind of logic is modeled or is expressed in terms of the social force model-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiwhich is very known, and everybody likes to use it. So we have it too. But we also have other models like velocity-based model or- Uh, warp driver model, whatever models we find in the, in the literature that are interesting and good- Mm-hmm we think. interesting maybe. So we have five. That means the user, can choose. I- now, for this case, I can use the social force model, but maybe for the other case I can-- I have to use something else.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiNow, the most important part is coming, and this is a feature that we are working on. It's already... It's not yet released, but we plan to release in two point zero. What if you are in this building and you say, "Okay, for this room, for example, social force model is the best model. But then on the stair, I have to, to change to another stair model."
Wojciech WegrzynskiOkay.
Mohcine ChraibiAnd then there is a corner, and there is a corner model. You know? So what do I do? I can now switch between those models.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiLike the agents can... has this awareness and say, "Okay, now I'm using social force model. And after a while I will change-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibicompletely my behavior, so to say." Uh, this is, this is very cool. You, you can't have this with mo- with the software that have only one model, of course. Mm-hmm. Obviously. But, for us at the beginning, the motivation was only we want to have the flexibility to compare, and we don't want to stick with one model only. But now we can switch between them even.
Wojciech Wegrzynskiin a bigger picture of, of development, w- was it always the goal to simulate the, the whole buildings, or is it more like a link to the experimental part at the Juelich where they are studying impact of- Yeah for example, narrow wings or a simpler layouts- Yeah but not entire buildings?
Mohcine ChraibiUh, there are two phases. At, at the beginning, we... of course, we are like, uh, we do the, the bottleneck experiment, the corner experiment-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibithe bi-directional flow ex- Those are simple setups. And there is the fundamental diagram then, and then you say, "Okay, can I reproduce this with my model?" So our geometries, they are very basic at the beginning. And the, the difficulty is, are the models good or not? Are they validated or not, and why not? and then later, after we redesigned JuPedSim as a library, we had a project, it's called Chroma Pool. And in this project, the, the main focus was in open air events, like peak and open air, which is two-dimensional. So that was the main focus of JuPedSim. Mm-hmm. So we... It has to be fast Enough. It has to be able to simulate a lot of people, and it's just 2D. So we didn't need the complexities of stairs and whatever. But the project is over. Now we move to the third stage, which is now we would like also to do buildings because of PyFDS Evac. So I mean, it makes no sense to have PyFDS Evac just in 2D.
Wojciech WegrzynskiIn f- for one room.
Mohcine ChraibiAs you, you just said, yeah.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiYou, you need to simulate the building, otherwise,
Wojciech WegrzynskiTell me about the, the pathfinding because that's also an interesting aspect- Yeah of every evacuation structure. Yeah, sure. So how, how does the agent know that you have to go from here to the safety?
Pathfinding From Graphs To Flow Fields
Mohcine ChraibiYes. So, our algorithm is very similar to pathfinders. So we have the building, and then we, code the building in form of graph And then you have the nodes and the edges, and then you have to find the shortest path along the graph-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiwith Dijkstra or of A-star. Uh, it's called A-star algorithm, but it's basically just finding the shortest path on the graph. That's it, first. And then now, as I said, we are moving to two and a half, two and a half D, so that means we need different algorithm, and we are implementing flow fields, uh, which means basically, um... So it's like you can imagine you have the door, and from the door you have a, a source of light or a source of- Mm-hmm water or whatever, and then you can flood the room.
Wojciech WegrzynskiOkay.
Mohcine ChraibiSo the water, it doesn't move randomly. It moves in waves. In
Wojciech Wegrzynskiwaves, okay, okay.
Mohcine ChraibiSo those waves we can, like... I mean, we can keep them as file or in the memory, and then the a- agents, they just move along and then find their way. Perpendicular
Wojciech Wegrzynskito the waves.
Mohcine ChraibiYes, exactly.
Wojciech WegrzynskiOkay.
Mohcine ChraibiAnd if you do this for the whole building, then the pedestrians find automatically their way.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiWhich is, you can say it's the same like the graphs, but why do we do this? But this one has the benefit that it's allows you to have smoother paths, and you can also manipulate the wave with some dynamical forces.
Wojciech WegrzynskiI, I may be, I may be wrong. Please send complaints, but I think Exodus works like this. I, I think they, they-
Mohcine ChraibiMaybe, yeah. And Simulex also.
Wojciech WegrzynskiYeah, yeah.
Mohcine ChraibiSimulex have the same. So it's, it's just a standards algorithm, actually. Mm-hmm. We didn't implement it at the time because for the open air scenarios-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiit was too expensive.
Wojciech WegrzynskiMm-hmm. Oh, right. Okay.
Mohcine ChraibiSo huge memory. But if you have the huge memory and you are done with it, then it's just, uh, lookup tables. But, we thought, "Nah, we do the graph thing. It's faster and it's better." but now I think for the buildings we will, uh, move to pathway.
Wojciech WegrzynskiWith, with graphs you also have shown a very interesting, uh, part of your talk, uh, which was the, the, the wayfinding for non-familiar people- Yes where, uh, basically a person doesn't start with a graph. They have to discover. Can you, can you explain that concept? Yes. I found it
Familiarity And Cognitive Map Wayfinding
Wojciech Wegrzynskivery interesting.
Mohcine ChraibiWell, it's, it's based on, on a, a concept called cognitive maps.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiUm, it's... Biologists did that already. They know in, in the mind of- Mm-hmm people how it work. But with... There are some papers that we, uh, that tried to implement it for the pedestrian dynamics. Mm. But basically what it says is, you have this graph of the building, and of course if you live in this building or you, you work in this building, then you know you have access to the whole graph. You know everything, every single corner of this building. But-
Wojciech WegrzynskiSo you can pick the shortest path from-
Mohcine ChraibiExactly
Wojciech Wegrzynskiyou to the exit, Dijkstra- Exactly and you're done.
Mohcine ChraibiSo it's like global shortest path.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiBecause you know everything
Wojciech WegrzynskiBecause you know everything
Mohcine ChraibiBut you don't know always everything, especially if you are just visiting.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiSo this familiarity parameter, so one familiarity equal to one would mean you know everything, but familiarity equal to zero would mean you know nothing.
Wojciech WegrzynskiSo you only see the room you're in, and you have no idea what's behind the door.
Mohcine ChraibiExactly. It's like, uh, I, I mean, you come in this room blindfolded, and then we tell you, "Now you can leave."
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiNow, we did this experiment, by the way, once in Juelich. Mm. Like really, we brought people from Wuppertal-
Wojciech WegrzynskiMm
Mohcine Chraibiand they entered the building from the back door. Okay. And we said, "Now please leave the building without turning back."
Wojciech WegrzynskiAh, without turning back. Okay.
Mohcine ChraibiYes. And we removed the signs.
Wojciech WegrzynskiYou removed, okay.
Mohcine ChraibiWe rem- uh, we put stuff on the signs so people don't know. And then, yeah, and then, uh, we recorded. They had like, uh, eye trackers, and then we recorded how they find their way. Some people found a way, some took more some time, some took less So that's basically the familiarity.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiSo they had like familiarity zero-
Wojciech WegrzynskiOkay
Mohcine Chraibiactually. And then- So
Wojciech Wegrzynskithey had to discover and see where
Mohcine Chraibithey get. Exactly. Yeah, yeah. But then this discovery, it means also... So first you have maybe one edge in your graph. Mm-hmm. But then you discover something more, and then you have two edges, and then three. So your graph can grow.
Wojciech WegrzynskiMm-hmm. And how, how does the, the fire environment affect the graph?
Mohcine ChraibiSo the fire, it's, it's... So two things affect the graph. Visibility, so if you see the, the exit or not-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiof course. And then, to see the exit or the visibility of the exit depends on the angle, if it's, if you are looking at it or not.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiAnd it also depends on the smoke between you and, and the exit. So, so there are exit, they are there nearby, but they are not visible.
Wojciech WegrzynskiSo- So the graph excludes them, and it doesn't have that leg.
Mohcine ChraibiExactly. So, so the, the, the, the non-visible exits, they don't, they don't enter your graph at all.
Wojciech WegrzynskiAll right.
Mohcine ChraibiYeah. So because you don't see them. Even if they are nearby, but still you didn't see them, so that means your graph is still lacking
How Smoke Slows And Disables Agents
Mohcine Chraibiin this.
Wojciech WegrzynskiUh, and in terms of, uh, agent movement, what aspects of the fire environment do you account for?
Mohcine ChraibiSo apart from now the visibility, we have the speed.
Wojciech WegrzynskiOkay.
Mohcine ChraibiSo that means people, they get slower, uh, with time, depending on the soot- Mm-hmm uh, and the exertion coefficient. And also, at some point, maybe if ED it's a bit equal to one or higher than one, then maybe people they will just stand forever, meaning-
Wojciech WegrzynskiLike this agent is lost and-
Mohcine Chraibidisabled. Yeah. So they don't, they cannot move anymore.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiSo they, they become also obstacles for others.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiSo that's actually, that's it. So how, what do I know about the room, and, how do I go there? Even if I know now two doors, I have to choose between them.
Wojciech WegrzynskiMm.
Mohcine ChraibiAnd then it's normally it's based on the distance, so you choose the nearest one. Mm. But now maybe you choose not only the nearest one, but also the less smoky one. And then you have the speed
Wojciech WegrzynskiD- d- do you also allow for, for things like, social links between people? Like, uh, this person needs to find this person to evacuate?
Mohcine ChraibiNo. No, no. No, not yet. Right.
Wojciech WegrzynskiAnd there are any, like, assisted evacuation? No, not yet either? No,
Mohcine Chraibinot yet. No,
Wojciech Wegrzynskino. Uh, what are your thoughts about, uh, decision-making introduction to such models? Like, d- do you think it's, uh, it's something that, that, that you would like to work with? What, what's your s- like, as a researcher in this field, what do you think about it? I
Mohcine Chraibimean, I, I would like to do. Mm-hmm. Yes. But my problem right now is I don't know exactly enough data about this process.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiSo I'm, I'm... I can do some fantasy models and then I think, "Yeah, okay, I think it should be this way." But I feel a bit uncomfortable because I don't know much work with... So this is what we also discussed. Yes, yes. We found out that this is one of the missing gaps. If we could, like, just do s- experiment in just white smoke and then evaluate this decision-making somehow that we can get some empirics, then I think it would make sense to go further in this topic.
Wojciech WegrzynskiF-f-for me it's a, it's a challenging thing, you know. Uh, from what you've described right now, it's, it's, uh, pathfinding based on, on the conditions in the building. Like, uh, you either discover the path as you go or, or you know the path and then eventually you modify if you reach, uh, uh, a situation where you don't see. That, that, that's, that's reasonable to me, very reasonable. Uh, the, the fundamental diagrams for speed, I guess, is the higher density- Yes slower speed, uh, et cetera, is also imple- Yes must be implemented. When, when, when we start to do some, like, more advanced things like d-decision making or something, I, I really struggle because one, we have now insane variability- Yes in the, in the- Yeah, yeah inputs, you know? And randomness that requires perhaps thousands if not hundreds of thousands- Exactly of scenarios.
Mohcine ChraibiYes, yes.
Wojciech WegrzynskiAnd, and we all... Like, that, that, that goes back to where, where we started before we st- we pressed record. Like, engineers would like to do one simulation and be done with it, you know? So it does-- I also, like, am very worried about people, taking a very advanced model and say, "Okay. Uh, so this predicts evacuation in this building, and here is how- Yes, yes it's gonna look like."
Mohcine ChraibiI'm with you. I'm with you on this. This is definitely... I mean, our job as scientists is to develop s- things, and it, it can be complicated or whatever, or advanced. And then the, the people who, who need to apply them, they have to, to see and to filter out. But having said that on the other hand, you have also this, um, nightclub s-station accident.
Wojciech WegrzynskiYes.
Mohcine ChraibiYes? In Rhode Island? What- Yes when was it? 2003
Wojciech WegrzynskiYes.
Mohcine Chraibior something like that? but, um, I mean, Rita, she studied that later- Mm-hmm after, and then she d- she studied where people were dying, and then she did, uh, she did her report about it. She has a nice paper published. And then what we found out is that familiarity plays a role-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiin this accident. Played one of... one, one role of... So one of the factors was familiarity, so to say. And if my model or my simulation, like NIST did- cannot do familiarity and everyone knows everything, you know, then it's not the situation we have. Mm-hmm. So whatever they simulate and they do, I think it's still lacking. And it's not like, "Oh, this is just a fancy new model that's a bit more complicated." But I think it's necessary in this case to differentiate people based on their familiarity, and then do a sensitivity analysis and say, "Okay. Now let's say 20, 80 or whatever, and then do it 100 times." But then you have a knob to play with.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiBetter than to say everyone has familiarity equal to one.
Wojciech WegrzynskiAnd I guess the same case could be made for, for behavioral decision models, et cetera
Mohcine ChraibiYes
Wojciech Wegrzynskiuh, different theories that, that are existing in the world of evacuation- Definitely,
Mohcine Chraibiyeah
Wojciech Wegrzynskiwhich could be, uh, eventually introduced into the model. But with every kind of tool like that, you also need to do 10 more simulations or 10 times more simulations- Exactly, yes to, to see the-
Mohcine ChraibiBut, but it gives you... maybe it gives you some new insight. Mm-hmm. Maybe it gives you something more extra that you didn't have before.
Wojciech WegrzynskiMm.
Mohcine ChraibiMaybe not.
Real Projects, Scale, Dynamic Signage
Wojciech Wegrzynskibut- On another note, how much do you worry about computational efficiency for buildings? You said open, for op- outdoor you need a, a fast software. How, how much, uh, is the computational efficiency for you?
Mohcine ChraibiI mean, uh, compared to FDS, it's nothing.
Wojciech WegrzynskiOf course.
Mohcine ChraibiYeah, still, I mean, it's not like you do a simulation for weeks or, or months. I hear stories- Yeah from, from Lucas talking about FDS. Uh, you have to run it on a supercomputer for a month or so, and then I think, "Whoa, that's You are a very patient man."
Wojciech WegrzynskiNo, you just fire and forget. You start doing other things, and then- Exactly eventually you come back after a month to rediscover your
Mohcine ChraibiCFD. Yeah, or do your, your fire simulation and go have vacation and then come back.
Wojciech WegrzynskiExactly.
Mohcine ChraibiAnd then find out that you messed up something.
Wojciech WegrzynskiYou didn't start the fire.
Mohcine ChraibiExactly, yeah.
Wojciech WegrzynskiThat, that
Mohcine Chraibihappened to me
Wojciech Wegrzynskionce.
Mohcine ChraibiWhatever. But, but for the pedestrians, I think, um, it's not... we don't have this problem. It still can, like-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiit depends. If you have, like, 50,000 people, maybe it takes you a couple of hours. And that's it. And the, the, the... it gets more demanding if you say, "Now I need to do 100 simulations of-" Uh, and the variations and the whatever, then it ca- takes more than a couple of hours, which then it goes beyond
Wojciech WegrzynskiO- o- one potential direction for solvers like this that I, I, I see is real-time optimizing the, the evacuation processes in buildings with, uh, through, through the use of dynamic signage and, and kind of information feedback loops with the building users. Of course, this is not something you would do for a single-family household. But if you have a massive, uh, skyscraper or, uh, a- actually, skyscrapers are a really great, um, example because if you have multiple staircases in a skyscraper, you may end up in a situation where one is, uh, abused by people, so it's full- Mm with people and one could be perhaps empty. Yes. And actually, in, in, modern, uh, simulation softwares, you can end up with that because, for example, a pathway to one doors could be a little bit shorter than to another door- Yeah, yeah and most of your floor will empty to this one staircase- Yeah even if in reality- Of course, yeah it could be different, which leads to traffic jams, et cetera. This
Mohcine Chraibiis, so this is why you mentioned dynamic, uh, signs.
Wojciech WegrzynskiBecause you can then- Yeah, yeah, yeah. Okay you could perhaps guide, but, uh, to guide them, you have to have a model that this... Well, you can have dynamic signage that just guides you away from the fire, but when you have, uh, an evacuation of an entire skyscraper, you may have fire on one floor- Mm but you're evacuating 50 other floors.
Mohcine ChraibiYes.
Wojciech WegrzynskiSo, so you may want, just want to optimize the process. Oh,
Mohcine Chraibiand then maybe you, you could end up in a situation where there is no clear solution to it.
Wojciech WegrzynskiYeah.
Mohcine ChraibiLike, I mean, uh, go away from the dense, uh, or the clogged exit-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibior go away from fire. Maybe you can do, you can't do both at the same time. Yeah. So this is not a decision I would like to take in your position.
Wojciech Wegrzynskiit, it has, uh, real-world consequences because you can shorten the evacuation time- Yeah by a significant, uh, uh, time if you, if you do it correctly. Of course. So, so it's mo- more, more like, uh, you know, sa- saving lives not, uh- Yeah, sure not, not just, uh, optimization. But, but I, I, I feel there- With good building model integration, digital twins of buildings and, uh-
Mohcine ChraibiI- it could be, I mean, it could be also a good application already if you do the simulation now just with PyFDS Evac as is.
Wojciech WegrzynskiOkay.
Mohcine ChraibiAnd you do different scenarios and then you end up with this exit here tends up to be more filled with people-
Wojciech WegrzynskiMm
Mohcine Chraibibecause of the shortest path or whatever.
Wojciech WegrzynskiMm.
Mohcine ChraibiSo you could like build up already some knowledge a priori before something- Mm even happens, you know? And then based on that you, optimize your sign models.
Wojciech WegrzynskiAnother thing that that's, that's kind of, uh, interesting to me and, and, uh, I, I think in your bio I've read you may have some experience with that, which is transportation models. Uh, we do a lot of railway stations- Yes a lot of tramway stations, metro stations, you know? And, uh, you know, my second zero when I press play-
Mohcine ChraibiMm-hmm
Wojciech Wegrzynskion my evacuation simulation in reality is a quite a dynamic, uh, situation because it takes a good while for the entire network around me to stop. So I may have a fire starting in my- Yes station, but it doesn't gonna magically disappear a train- Yeah, yeah that's about to arrive, you know? Yes. And, and those dynamic s- scenarios with people coming in, uh, with different modes of, motion-
Mohcine ChraibiYes
Wojciech Wegrzynskiis something I, I don't think I can capture right now with- Yeah, yeah with my software.
Mohcine ChraibiIt's, it's difficult. Even this, um... There was a talk this morning, this, um, guy from Denmark. Yes. He said that there is even a fire, but still Uh, they don't... The, the agent, they don't start now, they start still later or whatever. They start at zero. Mm-hmm. Even if beforehand it was already something detected. Yeah. Because the- Mm the rule makers, they decided it has to be this way, yeah.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiThey don't care. But that was a simple scenario, but still not so straightforward or trivial as you might expect.
Wojciech WegrzynskiI- i- in your code, can I drop, uh, occupants like that to parts of the model, appear them? Probably there are tricks to do it.
Mohcine ChraibiTo make them appear?
Wojciech WegrzynskiYeah, yeah.
Mohcine ChraibiYeah, yeah, you can. You can generate. In JuPedSim you can generate agents- But- at some time during the simulation.
Wojciech WegrzynskiMm-hmm. So and I assume because it's all Python coded, I can-
Mohcine ChraibiExactly
Wojciech WegrzynskiI can, uh, define my
Mohcine Chraibiown- Something that you can do by yourself. Mm. Uh, I mean, even the, the web-based It... you can define a polygon.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiStarting area where you can distribute, uh, people at once, or you can have a flow. Mm. Like, I can- would like to distribute, uh, people with a certain flow from time zero to time 100 or something like that. Mm. This is also possible.
Documentation, JuPedSim 2.0, Closing
Wojciech WegrzynskiThe f- the final thing I, uh, that's on my list is documentation. You praised FDS EVAC for having great, uh, documentation. How are you making sure that the person in the end has all the knowledge that they need to, to, to use this tool? I
Mohcine Chraibithink, uh, I mean, the documentation, as I, I said this in my talk, is, is for me is more important than the code itself.
Wojciech WegrzynskiOkay.
Mohcine ChraibiAnd, um, so from day one, everything we write, we update the documentation. Mm-hmm. So the documentation right now is still fluid because the code is changing, but we want to make sure that people j- just can come and then get started with scenario zero. Uh, okay, and then move on. And then if they have question, how does this model work or how does this routing mo- or the cognitive map or whatever, everything I talked about in the talk is already documented there. Mm-hmm. Like, there is more details with the parameters, the values and such. So if someone want to, to, to dive in, it's There is the, the, the le- level one is just I want to use it, and then there are higher level where I want now to understand how the model is working
Wojciech Wegrzynskiactually. Mm-hmm. A- and what about, does it reach all the way back to, to fundamental models the, that, that are used for, I don't know, movement or, or way finding or
Mohcine ChraibiThose then are JuPedSim.
Wojciech WegrzynskiOkay.
Mohcine ChraibiSo of course there is a link. So if I want to know how the social force mo- model works, I would go to JuPedSim. There is It's already- Mm documented too. And we have another website that is very interesting. It's called pedestrian dynamics.org-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiwhere we document all this basic knowledge, like what models they are, what routing. And so actually to keep it general for everybody- Mm and not like just for JuPedSim or just for PyFDSEvac.
Wojciech WegrzynskiFantastic. Were you going to Helsingborg next week?
Mohcine ChraibiHave what?
Wojciech WegrzynskiAre you going for the human, uh, behavior in, uh,
Mohcine Chraibifire? In two weeks I will go there. Yeah, yeah. Yes. Really, I, I'm looking forward because I would like to learn lots, uh, more about fire. Yeah.
Wojciech WegrzynskiI, I It looks like a very, very promising event. I'm, I'm, I'm a- unfortunately not, uh, not attending, but, uh-
Mohcine ChraibiYou are missing out.
Wojciech WegrzynskiI'm missing out on a lot- Yes. Yes but, uh, th- this is for me an, uh, a way to cope with, with this, uh- Yes by having-
Mohcine ChraibiSure. Really, see, I think it's very, gonna be a very nice, uh, conference. Mm. And human behavior and fire is something really I would like to learn more about. This is why I, I
Wojciech Wegrzynskigo there. Fantastic. So, uh, final thoughts. W- what's coming in the release to zero and, and, uh, what's then the next thing you start working on with, with- So
Mohcine ChraibiJuPedSim 2.0 is gonna be three-dimensional.
Wojciech WegrzynskiThree-dimensional.
Mohcine ChraibiSo that means we will be able to simulate, um, buildings.
Wojciech WegrzynskiMm-hmm.
Mohcine ChraibiWe will be able to simulate buildings with a new routing engine, so based on flow fields, also on graphs, so you can have both worlds. And more importantly, from my perspective as a modeler, we will have multi models. So that means you Agents can switch their- Okay model during the simulation-
Wojciech WegrzynskiMm-hmm
Mohcine Chraibiwhich is something to-
Wojciech WegrzynskiTo a most appropriate model for the location they are.
Mohcine ChraibiExactly.
Wojciech WegrzynskiOkay.
Mohcine ChraibiThat's what will come, and I think I'm very excited about this feature in specific.
Wojciech WegrzynskiAnd it will work with, uh, PyFDSEvac?
Mohcine ChraibiOf course. Always.
Wojciech WegrzynskiOh,
Mohcine Chraibialways.
Wojciech WegrzynskiAlways. Always. Okay.
Mohcine ChraibiPyFDSEvac- uses JuPedSim no matter what state it is in.
Wojciech WegrzynskiFantastic. Well, l- looking forward to that. Links are in the show notes. Yeah. Uh, your webpage is in the show notes. If anyone wants to, to learn more, uh, please visit those. And, uh, and, uh, yeah, keep modeling.
Mohcine ChraibiThanks for hosting me, Wojciech.
Wojciech WegrzynskiAnd that's it. Links are in the show notes. Uh, resources are in the show notes. Uh, the whole package of FDS PyEvac or PyFDS Evac is available online. Uh, you can download it the, the way you install Python libraries, but you can also get some help from the websites that, that are linked. So you're very welcome to, to try, and I'm really glad we, we have a piece of software like that. Not, not that anything fundamentally wrong with the evacuation softwares that are available for engineers every day. But I think an open package which allows you to fiddle with the engine and, you know, change stuff in it, uh, is, is quite useful for the purpose of research and likely useful for different applications in, um, performance-based engineering where multiple simulations have to be carried and, and you would like to test some specific hypothesis in a, in a simple way. the integration of this with the FDS environment through, uh, the FDS wrapper libraries and the visibility library makes it straightforward from the perspective of, of implementing fire. I, like I'm not as optimist, uh, as, uh, Mohcine about, uh, the, easiness of this process. It's still like, uh, feels like programming, but at the same time, you know, with the, era of AI and chatbot support, you can do anything you want. So I think it's, it's very well manageable to, to get this running in, in your project and actually do very interesting things with it. Mohcine shown in his presentation some interesting things about, uh, what you can do with, with the model. it's an evacuation model embedded within your fire simulation that, that opens a lot of doors. I know, uh, softwares can do that, but, this is an open package, and we should all benefit from it. Um, very thankful for Ulisch to, to, to do those developments. Very thankful to them for, for supporting them. I think it's great a large institution is involved in, uh, developing and maintaining such a key items of, of software because this reassures me that it's, it's gonna be long-lasting effort. You know, it's not gonna disappear in a year before-- because, uh, project money runs out. It's, it seems to be a longer, uh, vision for this. So I hope it, it works for a long time, and I hope it's, it's improved, developed, and and put into use by a lot of colleagues. I think that will be it for today's episode. Uh, as Mohcine said, there's a Helsingborg Human, uh, Behavior in Fire workshop in, in just two weeks. So perhaps in this month, uh, we'll have more human evacuation topics. I, I, I like that theme perhaps right now. So, uh, we'll see about that. But, uh, one thing you can be sure, there's definitely more fire science coming your way, and that's gonna happen next Wednesday. So, uh, thanks for being here with me. Cheers. Bye.
Apple Podcasts
Spotify