A pump MOD file and no concentration inside
Posted: Sat Jan 30, 2021 3:00 am
Hi.
My workflow contains the following steps: a substance is generated into a section (MOD file), is pumped out (MOD file) in a cubic ECS (RxD).
Than from the ECS it is pumped (MOD file) into another section where there are a series of reactions (RxD).
This works fine.
Now I'm trying to substitute the last step from RxD to a new MOD file but, probably for some trivial reason, it does not work.
The pump MOD file is this one.
https://github.com/neuronsimulator/nrn/ ... s/pump.mod
Since the pump provides a current, I have tried combination of USEION and internal variables to translate it into a concentration but the internal concentration (xi) remains at zero, instead the external one correctly changes (xo).
I have looked at many MOD files to understand the requirement, but there is something I'm overlooking about the correct way to translate a current into a concentration.
What I'm missing?
My workflow contains the following steps: a substance is generated into a section (MOD file), is pumped out (MOD file) in a cubic ECS (RxD).
Than from the ECS it is pumped (MOD file) into another section where there are a series of reactions (RxD).
This works fine.
Now I'm trying to substitute the last step from RxD to a new MOD file but, probably for some trivial reason, it does not work.
The pump MOD file is this one.
https://github.com/neuronsimulator/nrn/ ... s/pump.mod
Since the pump provides a current, I have tried combination of USEION and internal variables to translate it into a concentration but the internal concentration (xi) remains at zero, instead the external one correctly changes (xo).
I have looked at many MOD files to understand the requirement, but there is something I'm overlooking about the correct way to translate a current into a concentration.
What I'm missing?