Open analkumar2 opened 8 months ago
Setting Em in redsigneur does not work eg the following code which should set the Em of soma to -0.065 V does not change it:
import moose import rdesigneur as rd rdes = rd.rdesigneur( passiveDistrib = [['soma', 'Em', '-0.065']], ) rdes.buildModel() moose.reinit() moose.start( 1 ) print('soma Em = ', f"{moose.element('model/elec/soma').Em}")
It prints: soma Em = -0.0544
soma Em = -0.0544
If on the other hand I also declare another passive property like Cm before Em, it works:
import moose import rdesigneur as rd rdes = rd.rdesigneur( passiveDistrib = [['soma', 'Cm', '150e-12', 'Em', '-0.065']], ) rdes.buildModel() moose.reinit() moose.start( 1 ) print('soma Em = ', f"{moose.element('model/elec/soma').Em}")
The above code prints soma Em = -0.065
soma Em = -0.065
Setting Em in redsigneur does not work eg the following code which should set the Em of soma to -0.065 V does not change it:
It prints:
soma Em = -0.0544
If on the other hand I also declare another passive property like Cm before Em, it works:
The above code prints
soma Em = -0.065