How to adjust the parameters of the coronary boundary?

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
yan qing
Posts: 32
Joined: Tue Dec 06, 2016 4:56 am

How to adjust the parameters of the coronary boundary?

Post by yan qing » Tue May 10, 2022 7:56 pm

Hi everyone :
I have finished the coronary demo project, and I want simulation my own coronary project. I'm confuse how to adjust the parameters of the coronary boundary? It is impossible to adjust the prameters after one simulation, It will cost to much time.
I have noticed the ROM simulation, it simplefy the simulation. should I adjust the parameters to make the simulation pressure more close to the clinical pressure? Is there any tricks to help me to get the perfect parameters to finish my project?

Thanks,
Yan

User avatar
Weiguang Yang
Posts: 110
Joined: Mon Apr 07, 2008 2:17 pm

Re: How to adjust the parameters of the coronary boundary?

Post by Weiguang Yang » Wed May 11, 2022 11:28 am

Yes, using 3D simulations to tune your coronary BCs would be expensive and slow unless you know exactly which parameter should be tuned. There are numerous papers on BC tuning. An easy but effective way is to use a lumped parameter model. For example, you can use several parallel resistors to approximate the 3D model and connect them to the same coronary lumped parameter models used in your 3D simulation. In the beginning, you need to calibrate your LPM to make sure the resistance values for 3D branches represent 3D resistance well. Your lumped parameter model should be able to read input parameters and output resulting pressures and flow, for example systolic, diastolic and mean pressures and coronary flow/systemic flow ratio. Then use any optimizer you like to reduce the differences from clinical targets. When you are happy with the result, apply the coronary parameters to your 3D simulation and see if it is good enough.

User avatar
yan qing
Posts: 32
Joined: Tue Dec 06, 2016 4:56 am

Re: How to adjust the parameters of the coronary boundary?

Post by yan qing » Wed May 11, 2022 7:58 pm

Hello,
Thank you for your reply.
I have confused about "In the beginning, you need to calibrate your LPM to make sure the resistance values for 3D branches represent 3D resistance well."
Is that mean I set the initial 3D model resistors arbitrary or I get the initial resistors using the method like the 1D Mesh? The 3D resistors and the coronary lumped model are all unkown, how can I calibrate the resistance values for 3D branches.
I list my pipeline blow, can you tell me is there any question I need to correct?
1.Generate the 1D mesh and generate the simplefy 1D parameters about the 3D model
2.Set the initial coronary lumped model parameters acoding to the diameter of the coronary
3.Optimize the coronary lumped model to reduce the differences from clinical targets using oneDsovler
4.Run the 3D model using the optimized coronary lumped parameters.

And I have another question, Is there any way I can use the heart lumped model as the input condition in SV?

Thank you
Yan

User avatar
Weiguang Yang
Posts: 110
Joined: Mon Apr 07, 2008 2:17 pm

Re: How to adjust the parameters of the coronary boundary?

Post by Weiguang Yang » Fri May 13, 2022 11:29 am

When you use lumped parameter models (LPMs) to represent your 3D simulations, you have two parts: 1 the LPM for the 3D geometry 2. the LPM for the distal coronary arteries which is kept the same as the outflow BCs used in the 3D simulations. You want to identify the parameters for the 2 part to have 3D simulations match the clinical targets. Because the LPM is used to tune these parameters, you have extra unknown LPM parameters for the 3D geometry. So you can try the following:
1. fix the parameters for the outlet LPMs and adjust the parameters for the 3D geometry such that the LPM output is close to the 3D simulation output though the result doesn't match the clinical target well. 2. Then fix the parameters for the 3D geometry and tune the parameters for the outlet LPMs. i hope these clarify my previous response.

Yes, you can use 1D model as a surrogate to tune BCs for your 3D simulations.
How does the 1D output compare with the 3D output for the same set of BCs? If they agree well, the procedure you list looks fine to me. If the 1D results consistently overestimate or underestimate the pressure/flow compared to 3D results, you may need to account for the difference during the tuning/optimization.

If you want to incorporate a heart lumped parameter model into your 3D simulations, you can use GenBC. GenBC allows user defined LPMS coupled to 3D inlets and outlets. Here is some information https://simvascular.github.io/docsGenBC.html

User avatar
yan qing
Posts: 32
Joined: Tue Dec 06, 2016 4:56 am

Re: How to adjust the parameters of the coronary boundary?

Post by yan qing » Sun May 15, 2022 7:24 pm

Hello,
Thank you for your patient reply, now I undstand the procedure of the optimization of lumped model.If I finish the simulation, I will tell you.

Thank you
Yan

User avatar
Wei Wu
Posts: 16
Joined: Thu Jul 01, 2021 9:09 am

Re: How to adjust the parameters of the coronary boundary?

Post by Wei Wu » Mon May 16, 2022 8:49 am

wgyang wrote:
Fri May 13, 2022 11:29 am
When you use lumped parameter models (LPMs) to represent your 3D simulations, you have two parts: 1 the LPM for the 3D geometry 2. the LPM for the distal coronary arteries which is kept the same as the outflow BCs used in the 3D simulations. You want to identify the parameters for the 2 part to have 3D simulations match the clinical targets. Because the LPM is used to tune these parameters, you have extra unknown LPM parameters for the 3D geometry. So you can try the following:
1. fix the parameters for the outlet LPMs and adjust the parameters for the 3D geometry such that the LPM output is close to the 3D simulation output though the result doesn't match the clinical target well. 2. Then fix the parameters for the 3D geometry and tune the parameters for the outlet LPMs. i hope these clarify my previous response.

Yes, you can use 1D model as a surrogate to tune BCs for your 3D simulations.
How does the 1D output compare with the 3D output for the same set of BCs? If they agree well, the procedure you list looks fine to me. If the 1D results consistently overestimate or underestimate the pressure/flow compared to 3D results, you may need to account for the difference during the tuning/optimization.

If you want to incorporate a heart lumped parameter model into your 3D simulations, you can use GenBC. GenBC allows user defined LPMS coupled to 3D inlets and outlets. Here is some information https://simvascular.github.io/docsGenBC.html
Thank you for your detailed explanation on tuning. However, there are some points I need your futher help:
1, you mentioned "parameters for the 3D geometry", are they RCR parameters for aortic branches?
2, for "such that the LPM output is close to the 3D simulation output though the result doesn't match the clinical target well", I don't understand which 3D simulation your refer?

Best

User avatar
Weiguang Yang
Posts: 110
Joined: Mon Apr 07, 2008 2:17 pm

Re: How to adjust the parameters of the coronary boundary?

Post by Weiguang Yang » Mon May 16, 2022 9:24 am

Hi,
1. The parameters for the 3D geometry can be a resistor or an rcr or several LPMs. For example, you want to create an LPM surrogate for a 3D bifurcation model, you can choose to use 3 resistors to represent the three segments or use 2 resistors or 2 RCR models in parallel to represent the 3D model. You can start with resistors and gradually increase the number of LPM parameters for your surrogate if the simplest one doesn't work.
2. I mean the 3D simulation with your default or initial BCs. I suppose you have some 3D simulation results. They may not match your clinical target very well. But you can use these results to calibrate your surrogate making these two models (3D and surrogate) agree with each other for the same BCs. Then you fix the surrogate model and tune BCs using the surrogate model output.
I hope these clarify my previous posts.
Thanks

User avatar
Wei Wu
Posts: 16
Joined: Thu Jul 01, 2021 9:09 am

Re: How to adjust the parameters of the coronary boundary?

Post by Wei Wu » Mon May 16, 2022 9:47 am

wgyang wrote:
Mon May 16, 2022 9:24 am
Hi,
1. The parameters for the 3D geometry can be a resistor or an rcr or several LPMs. For example, you want to create an LPM surrogate for a 3D bifurcation model, you can choose to use 3 resistors to represent the three segments or use 2 resistors or 2 RCR models in parallel to represent the 3D model. You can start with resistors and gradually increase the number of LPM parameters for your surrogate if the simplest one doesn't work.
2. I mean the 3D simulation with your default or initial BCs. I suppose you have some 3D simulation results. They may not match your clinical target very well. But you can use these results to calibrate your surrogate making these two models (3D and surrogate) agree with each other for the same BCs. Then you fix the surrogate model and tune BCs using the surrogate model output.
I hope these clarify my previous posts.
Thanks
Your explanation is very clear.
Thank you so much, Weiguang!!

User avatar
Mandar Kulkarni
Posts: 16
Joined: Tue Jul 13, 2021 10:38 am

Re: How to adjust the parameters of the coronary boundary?

Post by Mandar Kulkarni » Sat Jun 11, 2022 4:33 pm

Hello,

Thanks for all the explanation in these posts.

In the Coronary Normal example results, there is a mention of the makecortfile.py script for tuning the scaling factors for appropriate coronary flows. Is it available on github, possible with an example?

Thanks,
Mandar

User avatar
David Parker
Posts: 1719
Joined: Tue Aug 23, 2005 2:43 pm

Re: How to adjust the parameters of the coronary boundary?

Post by David Parker » Wed Jun 15, 2022 1:54 pm

Hi Mandar,

I have found the file and put it here https://github.com/ktbolt/cardiovascula ... rt_file.py for now. Later I will add it to the Coronary Project download.

Cheers,
Dave

POST REPLY