Parameterizing initial value of passive element outside of parent schematic

Hello, everyone
I’m trying to set initial vlaue outside of parent schematic using .ic statement, but output window gives this message “Warning: Unknown device mentioned in .IC statement: LLS_D” and stop AMS simulator.
Anyway, Using port is the only way to parameterize initial value of passive element of parent schematic or symbol?

Are you referring to this approach? Feeding a parameter from the parent to the child schematic to set the initial condition of the child schematic.

Parent.cap.qsch (1.3 KB)
cap.qsch (758 Bytes)

Thanks for reply, Kelvin.
i realize my question was wrong…
i thought " .ic I(Lls_d)=V(node)" this statement works,.

corrected question is “how to parameterize initial value of passive element of parent.” and thanks to your reply i understand.

picture show my first approch invoking shutdown AMS simulator.

1 Like