I am curious to use the pulse engine to emulate signals for a single organ, namely the heart.
I have at a high level looked through the work of Daniel Burkhoff and would like to replicate o model used for mechanical unloading of the heart. Ideally I would like to start with a simple model that can plot the P-V loop for the heart starting from the cricuit model.
Looking through the pulse code, it appears that the functionality is present however it looks like it’s driven from the ‘patient’ level rather than the organ level. Maybe there are examples of a single organ but am a bit overwhelmed by the amount of content I need to wade through.
Any pointers to where to start would be greatly appreciated.
You can see in the AdvancedCircuit test, we are writing the values of all the circuit components every time step to a csv file, you should set up your sand box to do the same once you are driving your circuit model
From that csv file you should be able to create the plot you are looking for
That should get the ball rolling (And in one file!)