Does .IC set the initial condition to a capacitor or a voltage node to a parameter ?
On Wednesday, June 4, 2014 10:32:55 AM UTC-6, Roshni Uppala wrote:Does .IC set the initial condition to a capacitor or a voltage node to a parameter ?
Roshni:
This is related to an earlier question of yours, and the answer is unfortunately related. In Xyce, parameters cannot be used everywhere that numbers may be used, only in a small number of contexts -- device instance parameters, model parameters, print lines, and a very small number of specialized uses. .IC, .TRAN, .HB, and other control cards generally do not support use of expressions or parameters.
.IC lines support only numbers as values to the right of the equals sign.
--
You received this message because you are subscribed to a topic in the Google Groups "xyce-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xyce-users/O2dumki-vM8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xyce-users+...@googlegroups.com.
To post to this group, send email to xyce-...@googlegroups.com.
Visit this group at http://groups.google.com/group/xyce-users.
For more options, visit https://groups.google.com/d/optout.
Ok Xyce -namesfile [netlist] works but it doesnot help to resolve the subcircuit issue as subckt node names are not listed.
Now there are two different I tried :
1.XU1 1 2 3 device_XYZ.SUBCKT A B C device_XYZ<body>.IC V(device_XYZ:C)=5.ENDS
XU1 1 2 3 device_XYZ
.IC V(3)=5
.SUBCKT A B C device_XYZ
<body>
.ENDS
When .IC is outside the .SUBCKT , the V(3) starts with '5' irrespective of whether I use UIC or not.
The thing I am trying to point out is that :- Mentioning UIC on tran for using .IC probably makes no difference.
- .IC from inside a subckt probably doesnot work ?
Is there a way to solve this, as I am using a lot of devices derived from a subckt and initializing its voltage from its subckt will make it much simpler !